Instal Oracle XE 11g R2 on Linux
Before attempting to install Oracle Database XE 11.2 uninstall any existing Oracle Database XE or database with the SID
To install Oracle Database XE:
To start the database manually, run this command as root user:
XE from the target system.To install Oracle Database XE:
-
Log on to your computer with root permissions.
-
Go to the following Web site:
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
-
Click Free Download and follow the instructions to select and download the Linux version of Oracle Database XE.
-
Run the Oracle Database XE executable
oracle-xe-11.2.0-1.0.x86_64.rpmto install Oracle Database XE.
# rpm -ivh downloads/oracle-xe-11.2.0-1.0.x86_64.rpm
The installation displays a status of its progress.
-
When prompted, run the following command:
# /etc/init.d/oracle-xe configure
-
Enter the following configuration information:
-
A valid HTTP port for the Oracle Application Express (the default is 8080)
-
A valid port for the Oracle database listener (the default is 1521)
-
A password for the
SYSandSYSTEMadministrative user accounts
-
Confirm password for
SYSandSYSTEMadministrative user accounts
-
Whether you want the database to start automatically when the computer starts (next reboot)
-
A valid HTTP port for the Oracle Application Express (the default is 8080)
Note:The password for theINTERNALandADMINOracle Application Express user accounts is initially the same as theSYSandSYSTEMadministrative user accounts.
# /etc/init.d/oracle-xe startTo stop the database manually, run the following command as root user:
# /etc/init.d/oracle-xe stop
