Oracle DBA, How To, Error, Cause and Action

Oracle 11g Installation on Enterprise Linux 32-bit (2/5)

Oracle 11g Installation on Enterprise Linux 32-bit (1/5)
Oracle 11g Installation on Enterprise Linux 32-bit (2/5) [You are here]
Oracle 11g Installation on Enterprise Linux 32-bit (3/5)
Oracle 11g Installation on Enterprise Linux 32-bit (4/5)
Oracle 11g Installation on Enterprise Linux 32-bit (5/5)



5. Edit oracle user .bash_profile file

We need to edit .bash_profile, add following lines, this to setup the environment of our database.

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_SID=edba01; export ORACLE_SID


ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi





6. Reboot the system and login as oracle (the user that we created at step 3)

reboot <- We have change kernel configuration from step 2 we need to reboot so that it take effect

Mount Oracle Database 11g 32-bit DVD (or iso file)

If you have permission error run following command with root to fix it.

mount -o loop /dev/cdrom /media




7. as oracle user (please note that you are not able to execute runInstaller if your current working directory is the CD/DVD

cd /

./media/runInstaller





8. Oracle Universal Installer is launch, choose Oracle Database 11g, and click Next to continue.





Oracle 11g Installation on Enterprise Linux 32-bit (1/5)
Oracle 11g Installation on Enterprise Linux 32-bit (2/5) [You are here]
Oracle 11g Installation on Enterprise Linux 32-bit (3/5)
Oracle 11g Installation on Enterprise Linux 32-bit (4/5)
Oracle 11g Installation on Enterprise Linux 32-bit (5/5)

No comments:

Post a Comment

Thanks for your comment.