DB Installation Steps
DB Installation Steps
DB Installation Steps
STEP 2:
Set the password of the oracle user
# passwd oracle
Choose the mount point where software needs to be staged.
/opt
STEP 3:
Change the ownership and permissions
On necessary directories like /opt,/u01,/u02,/backup and etc.
STEP 4:
Copy the oracle 11g software in this stage area and change the ownership and
#cd /media/cdrecorder
# cd oracle
#cp -f linux_11gr1_database.zip /opt/oracle11g.zip
# cd /opt
# chown –r oracle:dba oracle11g.zip
# chmod –r 755 oracle11g.zip
STEP 5:
Performing the pre-installation tasks check the size of physical ram
# grep memtotal /proc/meminfo
NOTE: During the installation it will say failed when it checks the available physical ram is less than
900 mb , no problem even if you have less than 900mb (if it’s for testing purpose), you can continue
with the installation.
Check the size of swap space
# grep swaptotal /proc/meminfo
Check the free disk space in“/tmp” directory
# df -k /tmp
Check the free space available on the system.
# df –k
STEP 6:
Checking the software requirements
The version of linux is installed.
# uname –a
Check the following required packages are installed.
Binutils-2.15.92.0.2-18
compat-libstdc++-33.2.3-47.3
elfutils-libelf-0.97-5
elfutils-libelf-devel-0.97-5
glibc-2.3.9.4-2.19
glibc-common-2.3.9.4-2.19
glibc-devel-2.3.9.4-2.19
gcc-3.4.5-2
gcc-c++-3.4.5-2
libaio-devel-0.3.105-2
libaio-0.3.105-2
libgcc-3.4.5
libstdc++-3.4.5-2
libstdc++-devel-3.4.5-2
make-3.80-5
sysstat-5.0.5
unixodbc-2.2.11
unixodbc-devel-2.2.11
To check rpms are installed or not.
# rpm –q libaio-devel-0.3.105-2
# rpm –q unixodbc-devel-2.2.11
Like this check for all the above rpms.
NOTE:
If you are installed oracle enterprise linux 5 no need to perform or check the rpms
STEP 7:
Configuring kernel parameters.
Add the below parameters in /etc/sysctl.conf
fs.file-max = 6815744
kernel.shmmni = 4096
kernel.shmall = 1073741824
kernel.shmmax = 4398046511104
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
run sysctl –p to effect the above kernel parameters.
net.core.wmem_max = 1048576
fs.aio-max-nr = 1048576
STEP 8:
To change the current values of the kernel parameters.
# /sbin/sysctl –p
STEP 9:
Add the following lines in the /etc/security/limits.conffile
oracle soft nofile 1024
STEP 10:
# init 6
STEP 13:
Now login as a root user and fire the below command for to enable the graphical mode.
# xhost +
STEP 16:
Now move to the stage directory and extract the oracle11g zip file.
$ cd /opt
$ ls –lrt
$ unzip oracle11g.zip
$ ls –lrt
STEP 17:
Now move to the database directory and run or execute the runinstaller file.
$ cd database
$ ./runinstaller
Now we get the graphical wizard here and fallow the necessary steps to install the
Oracle software.
Here requirements and warnings are negligible.
Now open new terminal.
And login as a root user.
Then execute or run these two scripts.
#/opt/orainventory/orainstroot.sh (press enter)
#/opt/oracle/product/11.1.0/root.sh (press enter)
Now press the yes button for exit this wizard.