Saturday, 10 January 2015

oracle 12c software installation with existing oracle 11g database

Installing oracle 12C Database software

we have oinstall,dba,oper group already we have oracle 11g database having the server(machine)
oracle 12C related groups

groupadd -g 1004 backupdba
groupadd -g 1005 dgdba
groupadd -g 1006 kmdba
groupadd -g 1007 asmdba
groupadd -g 1008 asmoper
groupadd -g 1009 asmadmin

need to execute with root user
cd /u02
mkdir app
chown -R root:oinstall app


chown -R root:oinstall /u02/app/

mkdir -p /u02/app/oracle/product/12.1.0/dbhome_1
chown -R oracle:oinstall /u02/app/

mkdir -p /u02/oradata/
chown -R root:oinstall /u02/oradata/

mkdir -p /u02/app/oraInventory/
chown -R oracle:oinstall /u02/app/oraInventory/

---startup the operation system
---Mount the software in the vmware

[root@machine2 ~]# chown -R root:oinstall /u02/app/
[root@machine2 ~]# chown -R root:oinstall /mnt/hgfs/12database/database

Switch to oracle user and set the bash profile
##-----oracle bash profile
export PATH
export oracle_BASE=/u02/app/oracle
export ORACLE_HOME=/u02/app/oracle/product/12.1.0/dbhome_1

oracle$cd /oracle12/database/


Below you can find screenshots

Once completed you will get success alert

Popular Posts