Day 30
Day 30
DAY-30
1. Create two groups and a user:
# groupadd g 300 dba
# groupadd g 301 oinstall
# useradd g 301 G 300 c Oracle User d
/export/home/oracle m oracle
2. Create two slices for the
configuration files and the data files
3. Create four directories:
# mkdir /oracle
# mkdir /dba
# mkdir /var/opt/oracle
# mkdir /oraInventory
4. Mount the slices on the mount points
/oracle and /dba.
5. Change ownership of oracle and dba
# chown oracle:oinstall /oracle
# chown oracle:dba /dba
6. Edit the .profile file of the user-oracle.
# vi /export/home/oracle/.profile
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle
LD_LIBRARY=/oracle/lib
ORACLE_SID=ORCL
DISPLAY=HOSTNAME:0.0
NLS_LANG=American_America.UTTF8
DBA=/dba/admin
ORACLE_DOC=/oracle/doc
PATH=$ORACLE_HOME/bin:/usr/bin:/usr/ccs/bin:/opt/sfw/sbin:$ORAC
LE_HOME/bin:$ORAC
LE_HOME/sbin
export ORACLE_BASE ORACLE_HOME LD_LIBRARY ORACLE_SID
DISPLAY NLS_LANG DBA ORACLE_DOC PATH
7. Restart the system
8. Login as the user: oracle
$ cd /cdrom/cdrom0
$ ./runInstaller