iSelfSchooling.com  Since 1999     References  |  Search more  | Oracle Syntax  | Free Online Oracle Training

    Home      .Services     Login       Start Learning     Certification      .                 .Share your BELIEF(s)...

 

. Online Accounting        .Copyright & User Agreement   |
    .Vision      .Biography     .Acknowledgement

.Contact Us      .Comments/Suggestions       Email2aFriend    |

 

How can I install Oracle9i on the Linux Operating System?

More Resources by Google:

By: John Kazerooni

 

This article is a quick reference guide to how to install Oracle 9.2.0 on the Linux OS. You must also read the Oracle9i installation guide on the Linux OS. You must do all the steps in the order of this article.

Notice that these steps are the minimum requirements that are necessary for your installation.  A minimum familiarity with the Linux Operating System and Oracle installation were assumed. 

 

Pre-requisite Requirements for System Administrator:

Step #1: Users must have /bin/utils installed for the operating system.  

              This is part of the developer’s option on RedHat Advanced Server 2.1.

 

Step #2: The Following Steps Need to be Performed by the Root User:

   - Configure System Resources:

     You must at least have the following resources:     (400 MB in /tmp *; 512 MB of Physical Memory

     (RAM); Swap space= Three 3 * Physical Memory; TEMP=/tmp; export TEMP)   

 

   - Create a Software Owner and Group:     

      - Create a UNIX user = oracle, group = dba)

      - Create a Software Mount Point and DataFile Mount Points:

        /u01 (al least 2.5 GB for Oracle Software),  

        /u02, /u03.. for datafiles, controlfiles, and log files.

 

   - The oracle user should own these mount points

 

   - Ensure that the oracle user can write to the new mount points

 

   - Configure Kernel Resources:

      The following kernel parameters related to shared memory and semaphores will require tuning: 

      SHMMAX = 2147483648

      SHMMIN = 1

      SHMMNI = 100

      SEMMNS = 1000

      SEMMSL = 250

      SEMMNI = 100

      SEMOPM = 100

   - Linux kernel parameters can be set dynamically by root:

     1.   cd /proc/sys/kernel

     a.   # echo 100 32000 100 100 > sem

          This sets SEMMSL, SEMMNS, SEMOPM, SEMMNI

     b.   # echo 2147483648 > shmmax

     c.   # echo 1 > shmmin

     d.   # echo 100 > shmmni

 

   - On RedHat Advanced Server 2.1, these parameters should be entered into the file

      /etc/sysctl.conf.      

      $ more /etc/sysctl.conf

      # Disables packet forwarding

      net.ipv4.ip_forward = 0

      # Enables source route verification

      net.ipv4.conf.default.rp_filter = 1

      # Disables the magic-sysrq key

      kernel.sysrq = 0

      kernel.shmmax=256000000

      kernel.shmmin=1

      kernel.shmmni=100

      kernel.sem= 250 32000   32      128- Login as Oracle user

 

   - Set Environment Variables

      use SHELL=/usr/bin/csh for C-shell with login script ".login"

      or (/usr/bin/sh or /usr/bin/ksh) if the oracle user's default shell is the Bourne-shell or

      the Korn-shell with the login script “.profile”

      SHELL=/usr/bin/…

     ORACLE_HOME=/u01/app/oracle/product/9.2.0  ORACLE_BASE=/u01/app/oracle

      PATH=/u01/app/oracle/product/9.2.0/bin:       /usr/ccs/bin:/usr/bin/X11/:/usr/local/bin

     ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

     ORACLE_SID=your database instance name- If you are not on the console, you may need to

     set the following:

     DISPLAY=<ip-address>:0.0    

   - umask 022

     ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIRONMENT

 

   - Verify the Environment % env | more

 

   - Verify that you can successfully run the clock command:

     % /usr/bin/X11/xclock      If this does not display a clock on your display screen, 

         check with you system administrator.

     

   - Mount CD-ROM:

     "/cdrom" or "/mnt/cdrom".

     #  mount  <cdrom>- Start the Oracle Universal Installer and install the RDBMS software:

     Use the following commands to start the installer:

     % cd /tmp

     % /cdrom/runInstaller Or cd to /stage/Disk1 and

    

    - run ./runInstaller

     Respond to the installer prompts as shown below:

 

     - Run as root: /tmp/orainstRoot.sh to create the oraInventory

       location pointer. Usually found in /etc on Linux Files that are      

       located in /etc are /etc/oratab and /etc/oraInst.loc 

 

    - Now your Oracle9i Release 2 (9.2.0) RDBMS installation is complete and ready for use.

 

for more information click here

 

Good Luck!

 

Google
 
Web web site