{"id":4757,"date":"2015-05-11T10:35:59","date_gmt":"2015-05-11T02:35:59","guid":{"rendered":"http:\/\/rmohan.com\/?p=4757"},"modified":"2015-05-11T10:35:59","modified_gmt":"2015-05-11T02:35:59","slug":"oracle-12c-database-on-rhel-7-centos-7-fedora","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=4757","title":{"rendered":"Oracle 12C database on Rhel 7  Centos 7 Fedora"},"content":{"rendered":"<p>Install Oracle Database 12c On CentOS7<\/p>\n<p>Add a host file entry<\/p>\n<p>[root@oracledb ~]# cat \/etc\/hosts<br \/>\n127.0.0.1\u00a0\u00a0 localhost localhost.localdomain localhost4 localhost4.localdomain4<br \/>\n::1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 localhost localhost.localdomain localhost6 localhost6.localdomain6<br \/>\n192.168.1.60 oracledb.rmohan.com oracledb<\/p>\n<p>[root@oracledb ~]# hostnamectl<br \/>\nStatic hostname: oracledb.rmohan.com<br \/>\nIcon name: computer-vm<br \/>\nChassis: vm<br \/>\nMachine ID: 4145c21ef6ec4ca3a6a4ea34087a5552<br \/>\nBoot ID: a0d067b346df44f98ba7248578bfde3b<br \/>\nVirtualization: vmware<br \/>\nOperating System: CentOS Linux 7 (Core)<br \/>\nCPE OS Name: cpe:\/o:centos:centos:7<br \/>\nKernel: Linux 3.10.0-229.1.2.el7.x86_64<br \/>\nArchitecture: x86_64<\/p>\n<p>[root@oracledb ~]# cat\u00a0\u00a0 \/etc\/centos-release<br \/>\nCentOS Linux release 7.1.1503 (Core)<br \/>\n[root@oracledb ~]#<\/p>\n<p>[root@oracledb ~]# ip a\u00a0\u00a0 | grep inet<br \/>\ninet 127.0.0.1\/8 scope host lo<br \/>\ninet6 ::1\/128 scope host<br \/>\ninet 192.168.1.60\/24 brd 192.168.1.255 scope global eno16777736<br \/>\ninet6 fe80::20c:29ff:feac:4a80\/64 scope link tentative dadfailed<br \/>\n[root@oracledb ~]#<\/p>\n<p>Login as root and add required groups:<\/p>\n<p>\/usr\/sbin\/groupadd -g 501 oinstall<br \/>\n\/usr\/sbin\/groupadd -g 502 dba<br \/>\n\/usr\/sbin\/groupadd-g 503 oper<br \/>\n\/usr\/sbin\/groupadd-g 504 asmadmin<br \/>\n\/usr\/sbin\/groupadd-g 506 asmdba<br \/>\n\/usr\/sbin\/groupadd -g 505 asmoper<br \/>\nuseradd -u 502 -g oinstall -G dba,asmdba,oper oracle<br \/>\npasswd oracle<\/p>\n<p>Upload the oracle software on to the server<\/p>\n<p>I downloaded the following database packages.<\/p>\n<p>cd \/root\/software<\/p>\n<p>wget http:\/\/dl.fedoraproject.org\/pub\/epel\/7\/x86_64\/e\/epel-release-7-5.noarch.rpm<br \/>\nrpm -ivh epel-release-7-5.noarch.rpm<\/p>\n<p>yum groupinstall &#8220;GNOME Desktop&#8221; -y<br \/>\nyum groupinstall &#8220;Development Tools&#8221; -y<\/p>\n<p>Oracle Installation Prerequisites<\/p>\n<p>yum install binutils -y<br \/>\nyum install compat-libstdc++-33 -y<br \/>\nyum install compat-libstdc++-33.i686 -y<br \/>\nyum install gcc -y<br \/>\nyum install gcc-c++ -y<br \/>\nyum install glibc -y<br \/>\nyum install glibc.i686 -y<br \/>\nyum install glibc-devel -y<br \/>\nyum install glibc-devel.i686 -y<br \/>\nyum install ksh -y<br \/>\nyum install libgcc -y<br \/>\nyum install libgcc.i686 -y<br \/>\nyum install libstdc++ -y<br \/>\nyum install libstdc++.i686 -y<br \/>\nyum install libstdc++-devel -y<br \/>\nyum install libstdc++-devel.i686 -y<br \/>\nyum install libaio -y<br \/>\nyum install libaio.i686 -y<br \/>\nyum install libaio-devel -y<br \/>\nyum install libaio-devel.i686 -y<br \/>\nyum install libXext -y<br \/>\nyum install libXext.i686 -y<br \/>\nyum install libXtst -y<br \/>\nyum install libXtst.i686 -y<br \/>\nyum install libX11 -y<br \/>\nyum install libX11.i686 -y<br \/>\nyum install libXau -y<br \/>\nyum install libXau.i686 -y<br \/>\nyum install libxcb -y<br \/>\nyum install libxcb.i686 -y<br \/>\nyum install libXi -y<br \/>\nyum install libXi.i686 -y<br \/>\nyum install make -y<br \/>\nyum install sysstat -y<br \/>\nyum install unixODBC -y<br \/>\nyum install unixODBC-devel -y<br \/>\nyum install zlib-devel -y<br \/>\nyum install compat-libcap1 -y<\/p>\n<p>[root@oracledb ~]#sysctl -p<br \/>\nnet.ipv4.ip_forward = 0<br \/>\nnet.ipv4.conf.default.rp_filter = 1<br \/>\nnet.ipv4.conf.default.accept_source_route = 0<br \/>\nkernel.sysrq = 0<br \/>\nkernel.core_uses_pid = 1<br \/>\nnet.ipv4.tcp_syncookies = 1<br \/>\nkernel.msgmnb = 65536<br \/>\nkernel.msgmax = 65536<br \/>\nkernel.shmall = 4294967296<br \/>\nfs.file-max = 6815744<br \/>\nkernel.sem = 250 32000 100 128<br \/>\nkernel.shmmni = 4096<br \/>\nkernel.shmmax = 4398046511104<br \/>\nnet.core.rmem_default = 262144<br \/>\nnet.core.rmem_max = 4194304<br \/>\nnet.core.wmem_default = 262144<br \/>\nnet.core.wmem_max = 1048576<br \/>\nfs.aio-max-nr = 1048576<br \/>\nnet.ipv4.ip_local_port_range = 9000 65500<\/p>\n<p>[root@oracledb ~]#<br \/>\nAdd following lines to set shell limits for user oracle in file \/etc\/security\/limits.conf<\/p>\n<p>oracle\u00a0\u00a0 soft\u00a0\u00a0 nproc\u00a0\u00a0\u00a0 131072<br \/>\noracle\u00a0\u00a0 hard\u00a0\u00a0 nproc\u00a0\u00a0\u00a0 131072<br \/>\noracle\u00a0\u00a0 soft\u00a0\u00a0 nofile\u00a0\u00a0 131072<br \/>\noracle\u00a0\u00a0 hard\u00a0\u00a0 nofile\u00a0\u00a0 131072<br \/>\noracle\u00a0\u00a0 soft\u00a0\u00a0 core\u00a0\u00a0\u00a0\u00a0 unlimited<br \/>\noracle\u00a0\u00a0 hard\u00a0\u00a0 core\u00a0\u00a0\u00a0\u00a0 unlimited<br \/>\noracle\u00a0\u00a0 soft\u00a0\u00a0 memlock\u00a0 50000000<br \/>\noracle\u00a0\u00a0 hard\u00a0\u00a0 memlock\u00a0 50000000<\/p>\n<p>[root@clusterserver2 yum.repos.d]# systemctl stop firewalld.service<br \/>\n[root@clusterserver2 yum.repos.d]# systemctl disable firewalld.service<br \/>\nrm &#8216;\/etc\/systemd\/system\/dbus-org.fedoraproject.FirewallD1.service&#8217;<br \/>\nrm &#8216;\/etc\/systemd\/system\/basic.target.wants\/firewalld.service&#8217;<br \/>\n[root@clusterserver2 yum.repos.d]#<\/p>\n<p>su\u00a0 &#8211; oracle<br \/>\ncd \/software<br \/>\nunzip linuxamd64_12102_database_1of2.zip<br \/>\nunzip linuxamd64_12102_database_2of2.zip<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4758\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001.jpg\" alt=\"Oracle12cdb 001\" width=\"1246\" height=\"514\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001.jpg 1246w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001-300x124.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001-1024x422.jpg 1024w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001-150x62.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001-400x165.jpg 400w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-001-900x371.jpg 900w\" sizes=\"(max-width: 1246px) 100vw, 1246px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4759\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002.jpg\" alt=\"Oracle12cdb 002\" width=\"801\" height=\"608\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002.jpg 801w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-002-400x304.jpg 400w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4760\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003.jpg\" alt=\"Oracle12cdb 003\" width=\"801\" height=\"608\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003.jpg 801w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-003-400x304.jpg 400w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4761\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004.jpg\" alt=\"Oracle12cdb 004\" width=\"797\" height=\"605\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004.jpg 797w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-004-400x304.jpg 400w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4762\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005.jpg\" alt=\"Oracle12cdb 005\" width=\"802\" height=\"610\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005.jpg 802w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-005-400x304.jpg 400w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4763\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006.jpg\" alt=\"Oracle12cdb 006\" width=\"798\" height=\"607\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006.jpg 798w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-006-400x304.jpg 400w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4764\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007.jpg\" alt=\"Oracle12cdb 007\" width=\"799\" height=\"606\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007.jpg 799w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-007-400x303.jpg 400w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4765\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008.jpg\" alt=\"Oracle12cdb 008\" width=\"812\" height=\"617\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008.jpg 812w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008-300x228.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008-150x114.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-008-400x304.jpg 400w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4766\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009.jpg\" alt=\"Oracle12cdb 009\" width=\"825\" height=\"622\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009.jpg 825w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009-300x226.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009-150x113.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-009-400x302.jpg 400w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4767\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010.jpg\" alt=\"Oracle12cdb 010\" width=\"1058\" height=\"658\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010.jpg 1058w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010-300x187.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010-1024x637.jpg 1024w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010-150x93.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010-400x249.jpg 400w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-010-900x560.jpg 900w\" sizes=\"(max-width: 1058px) 100vw, 1058px\" \/><\/a><\/p>\n<p>&nbsp;<br \/>\nDuring the linking phase, you will see the following error.<\/p>\n<p>Error in invoking target &#8216;links proc gen_pcscfg procob&#8217; of makefile<br \/>\n&#8216;\/home\/oracle\/app\/oracle\/product\/12.1.0\/precomp\/lib\/ins_precomp.mk&#8217;.<br \/>\nSee<br \/>\n&#8216;\/u01\/app\/oraInventory\/logs\/installActions2014-10-29_09-07-03PM.log&#8217;<br \/>\nfor details.<\/p>\n<p>To fix it, do the following:<\/p>\n<p>rm -rf $ORACLE_HOME\/lib\/stubs\/*<br \/>\ncp $ORACLE_HOME\/rdbms\/lib\/env_rdbms.mk $ORACLE_HOME\/rdbms\/lib\/env_rdbms.mk.orig<\/p>\n<p>Perform the following modifications:<\/p>\n<p>vi $ORACLE_HOME\/rdbms\/lib\/env_rdbms.mk<\/p>\n<p># Line 176<br \/>\n# FROM:<br \/>\nLINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)<br \/>\n# TO\u00a0 :<br \/>\nLINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons<\/p>\n<p># Line 279-280<br \/>\n# FROM:<br \/>\nLINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS)<br \/>\nLINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS)<br \/>\n# TO\u00a0 :<br \/>\nLINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,&#8211;no-as-needed<br \/>\nLINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,&#8211;no-as-needed<\/p>\n<p># Line 3041-3042<br \/>\n# FROM:<br \/>\nTG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \\<br \/>\n$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)<br \/>\n# TO\u00a0 :<br \/>\nTG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \\<br \/>\n$(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12<\/p>\n<p>Click the \u201cRetry\u201d button.<\/p>\n<p>Now, the installation should continue.<br \/>\n[root@oracledb oracle]# \/home\/oracle\/app\/oraInventory\/orainstRoot.sh<br \/>\nChanging permissions of \/home\/oracle\/app\/oraInventory.<br \/>\nAdding read,write permissions for group.<br \/>\nRemoving read,write,execute permissions for world.<\/p>\n<p>Changing groupname of \/home\/oracle\/app\/oraInventory to oinstall.<br \/>\nThe execution of the script is complete.<br \/>\n[root@oracledb oracle]# chmod 775 \/home\/oracle\/app\/oracle\/product\/12.1.0\/dbhome_1\/r<br \/>\nracg\/\u00a0\u00a0\u00a0\u00a0 rdbms\/\u00a0\u00a0\u00a0 relnotes\/ rest\/\u00a0\u00a0\u00a0\u00a0 root.sh<br \/>\n[root@oracledb oracle]# chmod 775 \/home\/oracle\/app\/oracle\/product\/12.1.0\/dbhome_1\/r<br \/>\nracg\/\u00a0\u00a0\u00a0\u00a0 rdbms\/\u00a0\u00a0\u00a0 relnotes\/ rest\/\u00a0\u00a0\u00a0\u00a0 root.sh<br \/>\n[root@oracledb oracle]# chmod 775 \/home\/oracle\/app\/oracle\/product\/12.1.0\/dbhome_1\/root.sh<br \/>\n[root@oracledb oracle]# sh \/home\/oracle\/app\/oracle\/product\/12.1.0\/dbhome_1\/root.sh<br \/>\nPerforming root user operation.<\/p>\n<p>The following environment variables are set as:<br \/>\nORACLE_OWNER= oracle<br \/>\nORACLE_HOME=\u00a0 \/home\/oracle\/app\/oracle\/product\/12.1.0\/dbhome_1<\/p>\n<p>Enter the full pathname of the local bin directory: [\/usr\/local\/bin]:<br \/>\nCopying dbhome to \/usr\/local\/bin &#8230;<br \/>\nCopying oraenv to \/usr\/local\/bin &#8230;<br \/>\nCopying coraenv to \/usr\/local\/bin &#8230;<\/p>\n<p>Creating \/etc\/oratab file&#8230;<br \/>\nEntries will be added to the \/etc\/oratab file as needed by<br \/>\nDatabase Configuration Assistant when a database is created<br \/>\nFinished running generic part of root script.<br \/>\nNow product-specific root actions will be performed.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4768\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011.jpg\" alt=\"Oracle12cdb 011\" width=\"1110\" height=\"644\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011.jpg 1110w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011-300x174.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011-1024x594.jpg 1024w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011-150x87.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011-400x232.jpg 400w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-011-900x522.jpg 900w\" sizes=\"(max-width: 1110px) 100vw, 1110px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4769\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012.jpg\" alt=\"Oracle12cdb 012\" width=\"884\" height=\"648\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012.jpg 884w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012-300x220.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012-150x110.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-012-400x293.jpg 400w\" sizes=\"(max-width: 884px) 100vw, 884px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4771\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle13.png\" alt=\"Oracle13\" width=\"618\" height=\"444\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle13.png 618w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle13-300x216.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle13-150x108.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle13-400x287.png 400w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a> <a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4770\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013.jpg\" alt=\"Oracle12cdb 013\" width=\"1001\" height=\"626\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013.jpg 1001w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013-300x188.jpg 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013-150x94.jpg 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013-400x250.jpg 400w, https:\/\/mohan.sg\/wp-content\/uploads\/2015\/05\/Oracle12cdb-013-900x563.jpg 900w\" sizes=\"(max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Oracle Database 12c On CentOS7<\/p>\n<p>Add a host file entry<\/p>\n<p>[root@oracledb ~]# cat \/etc\/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.60 oracledb.rmohan.com oracledb<\/p>\n<p>[root@oracledb ~]# hostnamectl Static hostname: oracledb.rmohan.com Icon name: computer-vm Chassis: vm Machine ID: 4145c21ef6ec4ca3a6a4ea34087a5552 Boot ID: a0d067b346df44f98ba7248578bfde3b Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,34],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4757"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4757"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4757\/revisions"}],"predecessor-version":[{"id":4772,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/4757\/revisions\/4772"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}