Scientific Linux 6
Sponsored Link

Install Oracle Database 11g R22011/03/29

  Install Oracle Database 11g R2. Desktop Environment is required because installation proceeds on GUI.

[1] Download Oracle Databse 11g R2 for Linux and upload on your server.
After uploading, refer to follows.
[oracle@db01 ~]$
cd tmp

[oracle@db01 tmp]$

[oracle@db01 tmp]$

[oracle@db01 tmp]$
[2] Oracle Installer starts like follows. First, Set your email address and password for receiving some infomation from Oracle like security issues and so on.
[3] Select "Install database software only".
[4] For this example, select "Single Instance ***".
[5] select your language.
[6] Select which edition you install.
[7] Specify base directory and files for Oracle. On this example, keep default and Proceed.
[8] Specify directory for installation. On this example, keep default and Proceed.
[9] Specify priviledged group. On this example, keep default and Proceed.
[10] Checking settings runs automatically for requirements of installing Oracle. Generally, some packages requirements failed like follows, but it's noplobmen because most of them are higher version packages than requirements. Ignore them if the result is the same to the follows.
[11] The summary is shown for configuration. Click "Finish" if it's OK all.
[12] Installation starts.
[13] Following screen is shown, then open a terminal and execute follwong commands by root user.
[root@db01 ~]#

Changing permissions of /usr/oracle/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /usr/oracle/oraInventory to oinstall.
The execution of the script is complete.

[root@db01 ~]#

Running Oracle 11g script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /usr/oracle/app/product/11.2.0/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:   
# Enter

    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[14] Installation completed. Click "Close" button.
[15] Configure some settings. for Oracle user.。
[oracle@db01 ~]$
vi ~/.bash_profile

# add at the last lone

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

[oracle@db01 ~]$
source ~/.bash_profile

[oracle@db01 ~]$
rm -rf tmp
Matched Content