2 - OrACLE Database Installation
2 - OrACLE Database Installation
2 - OrACLE Database Installation
1. In this case the files are contained in Oracle folder and there are 7 zip files in it,
copy it from the windows machine to the linux machine in any preferred folder.
In this case they are copied to /opt/Oracle
unzip p10404530_112030_Linux-x86-64_1of7.zip
unzip p10404530_112030_Linux-x86-64_2of7.zip
unzip p10404530_112030_Linux-x86-64_3of7.zip
unzip p10404530_112030_Linux-x86-64_4of7.zip
unzip p10404530_112030_Linux-x86-64_5of7.zip
unzip p10404530_112030_Linux-x86-64_6of7.zip
unzip p10404530_112030_Linux-x86-64_7of7.zip
8. Make sure the hostname is set in /etc/hosts file and using the command
9. hostname
If not set , login as root, edit the file /etc/hosts and add the entry
- vi /etc/hosts
Also edit the /etc/sysconfig/network file and modify the line for HOSTNAME
◼ vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME={servername}
vi .bash_profile
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.3/db_home1
PATH=$PATH:$ORACLE_HOME/bin:/usr/sbin
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
mkdir –p /u01/app/oracle/product/11.2.0.3/db_home1
vi /opt/Oracle/database/stage/cvu/cv/admin/cvu_config
CV_ASSUME_DISTID=OEL6
./runInstaller
(if no dialog box appears…..by root user root# set $ DISPLAY=:0.0 ; export DISPLAY)
and after dialog box appears if it just display your host name…then go and check your /etc/hosts have
ipadress and hostname matched…example 127.0.01 mylinux)
17. Fill in email id and tick in the box if you have the Oracle support ,
Leave the email blank and untick th e box if not and click Next
Click Yes if it informs you that you haven’t provided an email address
18. Configure the download of software updates as appropriate or you can skip
software updates and click Next
19. Choose to install database software only and click Next
20. Choose single instance database installation and click Next
21. Choose the language as Eglish (default) and click Next
22. Choose Enterprise Edition and click Next
23. Check and amend Oracle Base and Software Location as needed, Click Next
24. Check and amend Inventory Directory as needed, Click Next
25. Check and amend the Database Administrator and Operator groups and click
Next
26. On this page are shown the system requirements that are not met. These
requirements include the kernel parameters which can be fixed by clicking on ‘fix
and check again’ which suggests a command to execute as shown below
27. Here if it asks for soft limit login by root and edit these lines in the file limits.conf
in /etc/security/limits.conf
#* soft core 0
#* hard rss 10000
Give 2000 for the soft core and 8000 for the hard rss
Login as root
Mount ( to see the available mounted file systems, check for the DVD , if
mounted unmount it usingThe command umount /dev/sr0)
vi /etc/yum.repos.d/dvd.repo
name=RHEL6.3
baseurl=file:///mnt
gpgcheck=0
enabled=1
Now start installing the missing packages using the commands as below
Click on check prerequisites again and again after installing the required
packages until a ll are fixed
(just incase there are some packages that are not installed and have the status not
fixable…. Yum install (pakagename) like yum install gcc*( *any package starting
by the name gcc)
30. Review the summary page and click install
31. Installation will take some time and finally it will ask for the execution of these
scripts
32. Do as the instruction, accept the default if the scripts ask for paths , and click OK
33. The installation is done, Clcik on Close