Installing Oracle 11g on Oracle Enterprise Linux 4.0 1. Open a terminal window. Login as the root user. 2.

Create the following operating system groups: oinstall, dba, oper and asadmin if using ASM # /usr/sbin/groupadd oinstall # /usr/sbin/groupadd dba # /usr/sbin/groupadd oper # /usr/sbin/groupadd asadmin 3. Create the operating system user oracle # /usr/sbin/useradd -g oinstall -G dba,oper -d /home/oracle oracle 4. Enter the following command to set the password of the oracle user: # passwd oracle 5. With an editor of your choice, edit /home/oracle/.bash_profile to include the following entries:
umask 022 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1 ORACLE_SID=orcl LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386: $ORACLE_HOME/jdk/jre/lib/i386/server: $ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH PATH=$ORACLE_HOME/bin:$PATH export PATH LD_LIBRARY_PATH export ORACLE_BASE ORACLE_HOME ORACLE_SID

6. Create the directory for the software installation and assign ownership to oracle:oinstall. # mkdir -p /u01/app/oracle 7. Assign the ownership of the directory created above to Oracle and change the permissiom # chown -R oracle:oinstall /u01/app # chmod -R 775 /u01/app

8. Edit the /etc/sysctl.conf file and add lines similar to the following: kernel.sem = 250 32000 100 128 kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 262144 9. Issue the following command to set the kernel parameters: /sbin/sysctl –p $ export DISPLAY=hostname:0.0 Either use the hostname or the ipaddress of the machine where the installer will be displayed. 10. Go to the directory where you have your Oracle installation file and execute this command $ ./ 11. The Oracle Universal installer startup and guides you through the Installation process. 12. After complete installation, you need to execute the following scripts as user root # sh $ORACLE_BASE/oraInventory/ # sh $ORACLE_HOME/

Sign up to vote on this title
UsefulNot useful