Thursday, 4 December 2014

Oracle 11.2.0.1.0 software installation on Oracle Linux 5.6


---All from Root user onlycat /etc/grep |grep dbacat /etc/grep |grep onstall
userdel -r oraclegroupdel oinstallgroupdel dba
groupadd -g 1001 oinstallgroupadd -g 1002 dba
cat /etc/group
useradd -u 1102 -g oinstall -G dba oracle
passwd oracle
cd /u01
mkdir appchown -R root:oinstall app
or
chown -R root:oinstall /u01/app/
---For oracle user (RDBMS)
mkdir -p /u01/app/oracle/product/11.2.0/dbhome_1/
chown -R oracle:oinstall /u01/app/oracle/product/11.2.0/dbhome_1/
mkdir -p /u01/app/oracle/oradata
chown -R oracle:oinstall /u01/app/oracle/oradata
mkdir -p /u01/app/oraInventory/
chown -R oracle:oinstall /u01/app/oraInventory/
---Mount the software
[root@node1 ~]# chown -R root:oinstall /u01/app/
[root@node1 ~]# chown -R root:oinstall /mnt/hgfs/database/
-----oracle bash profileexport PATHexport oracle_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1export PATH=$PATH:$ORACLE_HOME/bin



UNCHECK and go NEXT Step

[root@oranode1 ~]# /u01/app/oracle/product/11.2.0/dbhome_1/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
   ORACLE_OWNER= oracle
   ORACLE_HOME=  /u01/app/oracle/product/11.2.0/dbhome_1


Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:


Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[oracle@oranode1 ~]$ sqlplus


SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 4 15:54:46 2014


Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Popular Posts