Install OracleDatabase10gExpressEdition in Ubuntu

Source: Internet
Author: User
Oracle10g has an XE version, meaning the trial version. The limit is that it does not support multiple CPUs and the database size cannot exceed 2 GB (what else is there, I don't remember, it is written on the Oracle official website ). For debugging during development, the experience is sufficient. The key size is moderate, and the installation package is more than 200 MB. Download an oracle deb package, which is a debian system package and is common in Ubuntu. It would be nice to have this package. If it is a tar package, it would be very troublesome to compile and configure a lot of information.

Oracle 10 Gb has an XE version, meaning the trial version. The limit is that it does not support multiple CPUs and the database size cannot exceed 2 GB (what else is there, I don't remember, it is written on the official Oracle website ). For debugging during development, the experience is sufficient. The key size is moderate, and the installation package is more than 200 MB.

Download an oracle deb package, which is a debian system package and is common in Ubuntu. It would be nice to have this package. If it is a tar package, it would be very troublesome to compile and configure a lot of information. Many of the installation steps of Oracle in Linux on the Internet are this tar package, if one is missing, it is prone to errors.

You can double-click the deb package to directly install the Oracle Installation interface.

Console #: dpkg-I oracle. deb

The prompt is the same in the console

Installation Complete

Run/etc/init. d/oracle-xe configure after installation.

# Cd/etc/init. d/

# Oracle-xe configure

Four of them need to be configured.

The first is the default http port 8080 (maybe tomcat or apache)

The second is that the default database port 1521 is not changed.

The third is the secret of the SYS and SYSTEM superusers.

Fourth, whether to start the instance

If you change the oracle xe file to/etc/default/, you can modify the oracle xe file.

Then the installation is complete.

As mentioned above, accessing the Database Home Page under http: // 127.0.0.1: 8080/apex is a management page and a strong management program.

When sqlplus. sh is run, the following message is displayed:

/Usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found

#! /Bin/sh, #! /Bin/bash

When you start and stop the database, the following error occurs: operation failed. (your account) is not a member of 'dba 'group!

Run sudo adduser (your account) dba!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.