Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Install Oracle 8i (8.1.7) on Sun Sparc Solaris

Posted on 2006-11-19
3
Medium Priority
?
733 Views
Last Modified: 2013-12-11
Hi,

I would like to know step to install Oracle 8i on Sun Solaris. I've experience installing oracle on NT but this is first time to install on Unix. Many reference on internet but too complicated to follow. Please consider me as a beginner.

Please help.
0
Comment
Question by:azsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 48

Expert Comment

by:schwertner
ID: 17979452
You can find details in the Oracle Installation Guide.
I use this when installing on Linux and it is close to that you need to do on Unix.

Pre-requisite Steps for System Administrator:  
=============================================
 
For a successful installation of Oracle Rdbms software, make sure to meet the requirements below. You can check them manually or use the convenient "Unix Oracle PreInstallation Check " to generate a report of configuration steps that you need to perform prior the installation. Please refer to the companion “Unix Oracle PreInstallation Check” Word document and “Unix Oracle PreInstallation Check” shell script.
 
        For assistance with system administration issues please contact your  
  system administrator or operating system vendor.  Take in account that the best time to create the needed swap place on the disk and the needed disk partitions is the time the OS is installed on the server machine.
 
Steps required as the Root User (login as root to perform each of the following tasks):
 
    1. Configure System Resources:
 
       Ensure that the system has at least the following resources:
 
A.      150 MB of free space in /tmp filesystem
 
       % df /tmp
       
               You may also redirect /tmp by setting the TEMP environment variable. This is only recommended in rare circumstances where /tmp cannot be expanded to meet free space requirements
 
 
             The "Available" column must be greater than "150000".
 
        B. 128 MB of Physical Memory (RAM)
 
               % free
 
             The "total" column for "Mem:" must be equal to or greater than "127920".
 
       C.  Two times the amount of Physical Memory for Swap space  
             as you have ram.  Although twice ram is the minimum Oracle
             corporation recommends as much as three times physical ram as
             the total amount of swap space needed.
 
               % free
 
             The "total" column for "Swap:" for each swap partition
             must be equal to or greater than "ram * 2".
 
      Note: If you built your own kernel, make certain that  
        BIGMEM is not enabled in that kernel.  To verify this do the
        following:
 
           1. Change to the "src/linux" directory:
       
                % cd /usr/src/linux
         
           2. Check the value of "CONFIG_BIGMEM":
 
                % grep CONFIG_BIGMEM .config
 
              If this returns nothing or "CONFIG_BIGMEM=0" then no further
              action is needed.  If "CONFIG_BIGMEM=1" is set then set it "0"
              and rebuild your UNIX kernel.
           
 
    2. Create a Software Owner and Group:
 
        Create a Unix user and two groups that will own the Oracle software  
        typically the user is "oracle" and groups are "dba" and "oinstall".
        make "oinstall" the "oracle" users primary group.
 
    3. Decide on mount points for Oracle software and database files:
 
        NOTE: It will be most convenient to do this when installing the OS.
 
        Create a mount point for the Oracle software installation  
        (at least 1.0 GB, typically "/u01").  You may also want to
        create two or three more mount points for database related files
        such as control files, datafiles and redo logs.  In a minimum  
        configuration only one mount point is needed but Oracle recommends
        three separate mount points for datafiles to reduce disk contention.
 
        Oracle should be the owner of these mount points and all files  
        below this directory.  Ideally, different mount points should  
        reside on different physical disks and controllers if possible.
 
    4. Test permissions on the mount points:
 
         Ensure the oracle user can write to the new mount points by  
         doing the following:
 
           % touch afile /u01
 
         After doing this command as the "oracle" user a file called  
         "afile" should exist in "/u01".  If it does not then you must  
         resolve the permission problem before continuing with the install.  
         Be sure to test all of the mount points for write permissions.
 
 
    5.  If you are installing from CD-ROM, mount the CD as follows if it  
        does not automount:
 
         # mount -t iso9660 /dev/cdrom   /mnt/cdrom
 
 
INSTALLATION STEPS
==================
 
    Make certain you are logged in as "oracle" user for executing the  
    following steps.
 
      1. Set up the environment variables:
 
       A. First, check what shell you are using.  The default on Linux  
            is bash.  Do the following to see what shell you are using:
 
            % echo $SHELL
 
            Once you know what shell you are using set environment variables
            by doing the following:
 
              a.  If using "bash", "sh" or "ksh":
 
                  $ VARIABLE=value; export VARIABLE
 
              b.  If using csh:
   
                  % setenv VARIABLE value
 
            See the documentation for the particular shell you are using
            for instructions on permanently setting the following
            environment variables.
             
 
           The following values assume that your mount point is "/u01"
           and you are installing 8.1.7.
 
             Environment Variable     Value
 
             ORACLE_BASE              /u01/app/oracle
 
             ORACLE_HOME              /u01/app/oracle/product/8.1.7
 
             PATH                               /u01/app/oracle/product/8.1.7/bin  
                                                     followed by whatever else is usually  
                                                      in your PATH.
 
             ORACLE_SID                This is what you will call your database
                                                     instance, typically 4 characters.
 
             DISPLAY                        <machine_ip_address>:0.0  
 
           Note: Do not set LD_LIBRARY_PATH or CLASSPATH  
 
 
    2.  Set the umask:
 
          Set the oracle user's umask to "022" in your environment  
          setting file.  Once again this depends on the shell you are
          using for the "oracle" user.  See the shell specific  
          documentation on instructions on how to permanently set
          the umask.  To see the current value of the umask do the
          following:
 
            % umask
 
          To change the current value do the following:
 
            % umask 022
 
          Note:  If the value is incorrect and you change the current value
                 to the correct setting you must execute the installer from
                 the shell where the value was changed.
 
       
 
    3.  Verify the Display:  
 
         To see the current value of the DISPLAY environment variable do
         the following:
 
           % echo $DISPLAY
 
         To verify if the display is working properly test it with an  
         client program such as "xclock":
 
           % /usr/bin/X11/xclock
           
         If a simple client program fails such as "xclock" you must  
         resolve this issue before proceeding on with the rest of  
         installation steps.  A X-Server is mandatory for installing
         8i.  
 
 
 
4.      Start the installer and install the software:


         A.  Change to the "cdrom" directory:          
 
              % cd /mnt/cdrom


          A1. If the Installer fails with error :

                        %  unset    LANG

 
          B.  Execute "runInstaller":
 
                % ./runInstaller

               The installation may crash on the very beginning with the message:
               SIGSEGV RECEIVED AT BFFFD528 while installing.
                In this case the DBA should unset in the environment the LANG
                environment variable in the shell (not in root) before starting the Oracle
                Universal Installer as follows:
               
                $ unset LANG

 
          C.  Verify that the Destination listed for File Location is
              your ORACLE_HOME.
 
            NOTE: If this is the first installation of Oracle 8i  
                on this machine, you will be prompted to run the script,
               /tmp/orainstRoot.sh, before proceeding. It creates a  
                pointer file to the oraInventory directory location.
 
       Select "Enterprise Edition" for the Install Category.
 
      Select "Typical" to install the software, create a database  
              and start the database (Other selections are available  
              for minimal or custom installs).
 
      The install will begin.
 
 
         
      Follow instruction regarding running root.sh and other prompts.
 
      When completed, the install will have created a default database,  
      configured a listener, and started both for you.


0
 

Author Comment

by:azsoft
ID: 18005400
Hi schwertner,

How to create mount point /u01? Do I need to create directory (mkdir) u01? Could you please show me.

Thanks
0
 
LVL 48

Accepted Solution

by:
schwertner earned 375 total points
ID: 18006241
mkdir /u01
chown oracle - R /u01

The most critical part is the swap partition.
It has to be 3-4 times of the size of the  RAM of the box.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question