How to install the Oracle 10g Database on LINUX
1. Make sure that the Oracle 10g Database was certified for that version of LINUX. 2. Check the Hardware requirements: a. 512 MB RAM, b. 1 GB or Twice the size of RAM of swap space, c. 600 MB of hard disk space in the /tmp directory, d. At least, 2.5 GB of hard disk space for the Oracle software. 3. Login as the root user on LINUX: a. Create the oinstall, dba group and the oracle user with optionally the oper group. 1. # /usr/sbin/groupadd oinstall 2. # /usr/sbin/groupadd dba 3. # /usr/sbin/groupadd oper 4. # /usr/sbin/useradd g oinstall G dba,oper oracle 5. # passwd oracle b. Create a profile .profile or .bash_profile with the following statements. 1. # if you use the bash shell do the following to get the aliases and functions
2. if [ -f ~/.bashrc ]; then 3. . ~/.bashrc 4. fi 5. umask 022 6. PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin 7. LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib 8. ORACLE_BASE=/u01/app/oracle 9. ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 10. ORACLE_SID=mydb 11. export PATH LD_LIBRARY_PATH ORACLE_BASE ORACLE_HOME ORALCE_SID 12. PATH=$ORACLE_HOME/bin:$PATH 13. export PATH 14. 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 15. export LD_LIBRARY_PATH c. Create the Oracle directory. 1. # mkdir p /u01/app/oracle 2. # chown R oracle:oinstall /u01 3. # chmod R 775 /u01 d. Open the /etc/[Link] and add the following kernel parameter lines to it. 1. [Link] = 250 32000 100 128 2. [Link] = 2097152 3. [Link] = 2147483648 4. [Link] = 4096 5. [Link]-max = 65536 6. net.ipv4.ip_local_port_range = 1024 65000 e. Reboot your server or issue the following command to set the kernel parameters: 1. # /sbin/sysctl p f. Login as the oracle user or su oracle and install the Oracle product.