I have done Oracle 11g installation on Linux environment by creating VM on windows laptop. Below are the steps as well as screen shots to install Oracle step by step.
[root@myoracle ~]# groupadd oinstall
[root@myoracle ~]# groupadd dba
[root@myoracle ~]# useradd -g oinstall -G dba oracle
[root@myoracle ~]# cd /u01
[root@myoracle u01]# ls -ltr
[root@myoracle ~]# ls -ltr /u01
[root@myoracle ~]# chown -R oracle:ointall /u01
[root@myoracle ~]# chmod 775 /u01
[root@myoracle ~]# ls -lrt /u01
[root@myoracle u01]# passwd oracle
[root@myoracle ~]# su - oracle
[root@myoracle ~]# cd /mnt/hgfs
[root@myoracle hgfs]# cd database/
[root@myoracle ~]# cd /opt
[root@myoracle ~]# ls -ltr
[root@myoracle ~]# chown -R oracle:oinstall /opt
[root@myoracle ~]# chown -R oracle:oinstall /disk1
[root@myoracle ~]# chown -R oracle:oinstall /disk2
[root@myoracle ~]# su - oracle
[root@myoracle ~]# cd /mnt/hgfs
[root@myoracle hgfs]# cd database/
[root@myoracle database]# unzip P1339067_112040_Linux-x86-64_lof7.zip -d/opt
[root@myoracle database]# unzip P1339067_112040_Linux-x86-64_2of7.zip -d/opt
[root@myoracle database]#cd /opt
[root@myoracle opt]#cd database
[root@myoracle database]#ls
In new terminal type xhost +
again in old terminal
[root@myoracle opt]# sh runInstaller
After installation completes you need to run the below script in new terminal under root user.
[root@myoracle ~]# /u01/app/oraInventory/orainstRoot.sh
[root@myoracle ~]# groupadd oinstall
[root@myoracle ~]# groupadd dba
[root@myoracle ~]# useradd -g oinstall -G dba oracle
[root@myoracle ~]# cd /u01
[root@myoracle u01]# ls -ltr
[root@myoracle ~]# ls -ltr /u01
[root@myoracle ~]# chown -R oracle:ointall /u01
[root@myoracle ~]# chmod 775 /u01
[root@myoracle ~]# ls -lrt /u01
[root@myoracle u01]# passwd oracle
[root@myoracle ~]# su - oracle
[root@myoracle ~]# cd /mnt/hgfs
[root@myoracle hgfs]# cd database/
[root@myoracle ~]# cd /opt
[root@myoracle ~]# ls -ltr
[root@myoracle ~]# chown -R oracle:oinstall /opt
[root@myoracle ~]# chown -R oracle:oinstall /disk1
[root@myoracle ~]# chown -R oracle:oinstall /disk2
[root@myoracle ~]# su - oracle
[root@myoracle ~]# cd /mnt/hgfs
[root@myoracle hgfs]# cd database/
[root@myoracle database]# unzip P1339067_112040_Linux-x86-64_lof7.zip -d/opt
[root@myoracle database]# unzip P1339067_112040_Linux-x86-64_2of7.zip -d/opt
[root@myoracle database]#cd /opt
[root@myoracle opt]#cd database
[root@myoracle database]#ls
In new terminal type xhost +
again in old terminal
[root@myoracle opt]# sh runInstaller
After installation completes you need to run the below script in new terminal under root user.
[root@myoracle ~]# /u01/app/oraInventory/orainstRoot.sh
[root@myoracle ~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
No comments:
Post a Comment