Tutorial Install oracle 11G R2 11.2.0.3 Centos 7
Download Oracle 11g R2 11.2.0.3:
cd /opt unzip p10404530_112030_Linux-x86-64_1of7.zip unzip p10404530_112030_Linux-x86-64_2of7.zip
Prepare:
-- Edit hosts file:
Hosts File
The "/etc/hosts" file must contain a fully qualified name for the server
127.0.0.1 localhost.localdomain localhost
10.84.70.152 stag-app01
Oracle Installation Prerequisites
Automatic Setup
-- install all the necessary prerequisites automatically then edit /etc/sysctl.conf và /etc/security/limit.conf yum install -y oracle-rdbms-server-11gR2-preinstall
Manual Setup
vi /etc/sysctl.conf
add :
fs.suid_dumpable = 1
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
Run : /sbin/sysctl -p
Add line to file "/etc/security/limits.conf":
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
See more: https://github.com/phuongnguyenht/Ora...
Fix Error: DB : pdksh-5.2.14 missing while installing 11g in RHEL-6.5 (64-bit)
Change directory to /database/stage/cvu/cv/admin
Backup cvu_config $ cp cvu_config backup_cvu_config
Edit cvu_config and change the following line: from: CV_ASSUME_DISTID=OEL4 to: CV_ASSUME_DISTID=OEL6
Save the updated cvu_config file
Install the 11.2.0.3 or 11.2.0.4 software using /database/runInstaller $ cd /database $ ./runInstaller
“INS-35075: The specified SID is already in use” error in Oracle, how to fix it?
Delete
/etc/oratab
How to increase swap size?
Let's say you need another 500M:
dd if=/dev/zero of=/tmp/swapfile bs=1M count=500
mkswap /tmp/swapfile
swapon /tmp/swapfile
After you're done installing, you can turn it off.
swapoff /tmp/swapfile
rm /tmp/swapfile
From https://community.oracle.com/thread/2...
** Resolve Error in invoking target ‘agent_nmhs’ of makefile ins_emagent.mk** vi /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk ... comment
#$(MK_EMAGENT_NMECTL)
to $(MK_EMAGENT_NMECTL) -lnnz11
Watch video Install Oracle 11G R2 11.2.0.3 on Centos 7 online, duration hours minute second in high quality that is uploaded to the channel Phuong Nguyen 06 November 2018. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,548 times and liked it 45 visitors.