oracle
Primary Groupdba
Secondary Groupsoinstall
Login Shell/usr/bin/sh
(In this document, Bourne Shell will be used as shell. If you choose another, you have to make modification to environment according to your shell)
Home Directory/export/home/oracle
Create Home DirMake sure It is checked
PasswordAt least 8 Characters length
If you want to use command line type the following:
#groupadd dba#groupadd oinstall#useradd -g dba -G oinstall -d /export/home/oracle -m -s /bin/sh oracle#passwd oracle
5-) Create a directory named "/opt/oracle" in the root directory (or where you want) to become the base and others for Oracle Database as follows
mkdir -p /opt/oracle/product/8.1.7 mkdir -p /opt/oracle/oraInventory
Now you need to grant this directory for user "oracle" to install and manage Oracle database. Make the user "oracle" owner of this directory as follows;
chown -R oracle:dba /opt/oracle
"Oracle Universal Installer " will make other sub-directories automatically in this base directory except where the database files ("oradata" directory) would reside. Installer will ask you this diectory's location.
Now create another "oracle" directory in the "/var/opt" for your database's startup options file (called "oratab") and make the user "oracle" of this directory, too, as follows:
mkdir /var/opt/oracle chown -R oracle:dba /var/opt/oracle
6-) You need to login as "Oracle User" to the system. So, logout and login as user "oracle" to system again.
TASKS TO PERFORM BY "ORACLE USER"1-) You, logged as Oracle User named "oracle", need to make some modifications to your environment variables to run "Oracle Universal Installer " for installing and managing Oracle Database.
If you choose "/export/home/oracle" directory as home and Bourne Shell as login shell while creating user "oracle", you have a hidden file named ".profile" in "/export/home/oracle" directory. Open this file and replace the PATH string by following:
PATH=/bin:/usr/bin:/usr/openwin/bin:/usr/sbin:/usr/ccs/bin:/sbin:/opt/oracle/product/8.1.7/bin:PATH=$PATH:/usr/local/bin:/opt/oracle/admin/bin:.
Go to the bottom of the "export PATH" string and insert these rows below:
ADMIN_HOME=/opt/oracle/adminDISPLAY=localhost:0.0LD_LIBRARY_PATH=/usr/lib:/usr/openwin/lib:/opt/oracle/product/8.1.7/lib:LOCAL_HOME=/usr/localMSGVERB=text:actionNOMSGLABEL=1NOMSGSEVERITY=1ORACLE_BASE=/opt/oracleORACLE_HOME=/opt/oracle/product/8.1.7NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 #for English#NLS_LANG=TURKISH_TURKEY.WE8ISO8859P9 #for TurkishORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/dataORACLE_SID=orcl #You may replace "orcl" with your own SID Name you wish to use
export ORACLE_BASE ORACLE_HOME ORACLE_SID ADMIN_HOME LOCAL_HOMEexport MSGVERB NOMSGLABEL NOMSGSEVERITY NLS_LANG ORA_NLS33 DISPLAY LD_LIBRARY_PATH
Click here for a sample ".profile" file.
2-) After modification of this file, save it and relogin as the user "oracle".
PERFORM INSTALLATIONMake sure that your environment variables set correctly by entering following command:
set
Now, your system is ready to install Oracle 8.1.7. To install Oracle change default directory to where your oracle files reside. For example, if your installation files are at "/export/home/oracle/ora817", type the following command:
cd /export/home/oracle/ora817
and run Installer program by the command:
runInstaller
Then, "Oracle Universal Installer " will begin. Follow instructions in your screen and complete installation of Oracle 8.1.7 software.
When the Oracle Software installation completed, "Oracle Universal Installer" will attempt to run "Net8 Configuration Assistant" and "Database Configuration Assistant". Specify y






