Search This Blog

Wednesday, October 16, 2013

Install Oracle 11g on REHL 6

Step by step Oracle database 11g install (Part 2)

If you're here, you've already have a Linux system setup and ready for the proper Oracle Install (users, group, pre-require packages, etc). If not, you can find it here.


The 2 necessary zip files are available on the Oracle Database Software Downloads page.

Change the SELINUX value to permissive in the /etc/selinux/config

Install the ODBC drivers:
yum install unixODBC-devel unixODBC


Unzip the files and run ./runInstaller from the database directory. Follow the steps.


Then, there is a bit more configuration to do:

In the oracle user .bash_profile file:
ORACLE_BASE="/u01/app/oracle"
ORACLE_HOME=$ORACLE_BASE"/product/11.2.0/dbhome_1"
ORACLE_SID=orcl

PATH=$PATH:$ORACLE_HOME/bin

export PATH
export ORACLE_BASE
export ORACLE_HOME
export ORACLE_SID

The database is up and running. Check with sqlplus or the Oracle Enterprise Manager (By default https://localhost:1521/em)


No comments:

Post a Comment