How to Install Oracle on Ubuntu 9.10

104 17
    • 1). Click on "System," then "Administration," then select Software Sources." Type the following line into the Software Sources: deb http://oss.oracle.com/debian unstable main non-free

    • 2). Right-click on the desktop and select "Open in Terminal" to open a terminal window and access the Command Prompt.

    • 3). Type the following command into the Command Prompt: "wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -" This will add the software repository GPG key.

    • 4). Enter "sudo apt-get update" into the prompt to update Software Sources.

    • 5). Paste "apt-get install oracle-xe-universal" into the prompt to download and install the Oracle XE database server.

    • 6). Type in "sudo /etc/init.d/oracle-xe configure" to configure the Oracle database server. Follow the on-screen prompts to set up an initial password.

    • 7). Enter "gedit ~/.bashrc" to open the text file.

    • 8). Add the following lines to the bashrc text file:

      "ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server

      PATH=$PATH:$ORACLE_HOME/bin

      export ORACLE_HOME

      export ORACLE_SID=XE

      export PATH"

      This code will establish the Oracle environment variables.

    • 9). Close, then reopen the terminal window for the system changes to occur.

Source...

Leave A Reply

Your email address will not be published.