Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Installinng on SuSE 6.2

Re: Installinng on SuSE 6.2

From: Joerg Lanzinger <joerg_at_lanzinger.de>
Date: Wed, 27 Oct 1999 11:06:39 +0200
Message-ID: <3816C09F.7A320664@lanzinger.de>


Hello,

try this one. It worked for my system several times.

":-) msmile" schrieb:

> Boored to have problems under SuSE 6.0 I decided
> to buy SuSE 6.2.
>
> I downloaded all patches as described in www.suse.com
>
> Oratab file created. Pre installation libs installed...
>
> but now I got a problem I don't understand
>
> While installing RDBMS I got this message:
>
>  There are still sgadef<SID>.dbf file(s) in $ORACLE_HOME/dbs/
>  (/u01/app/oracle/product/8.0.5/dbs/).  This indicates that there
>  may still be running instances.  You must shut down all database
>  instances associated with this ORACLE_HOME before upgrading the
>  Server.  Select (Yes) if you have shut down the instances from
>  another terminal/window.  Select (No) to abort the installation.
>
> It's impossible I got a instance running because this is the first one
> installation.
>
> The directory $ORACLE_HOME/dbs/    doesn't exist (I also tryed to create one
> but the problem
> persists)
>
> Now what can I do ??? Put oracle CD in the WC? Read tons of docs before
> install the pachage?
>
> Please help me to find a solution.



	

Installing Oracle8i on SuSE Linux 6.2

This installation guide probably will work for all Linux systems as long as the new glibc6 v2.1 is supported. This is true for SuSE since 6.2. As far as I know, there's nothing like an update patch for glibc6. This file is a mixture of the original Oracle Installation Guide, the SuSE Installation How-To and personal experiences.

For this guide it is assumed that Oracle8i will reside in the folder /opt/u01. The user may alter this path as required.

Prerequisites

  1. Running Linux supporting glibc6 v2.1

  2. At least 600 MB of disk space
    (Oracle talks about 275 MB, but that's just enough for the system files ...)

  3. Additional disk space to hold the decompressed installation package. This is a must, as the Oracle8i 8.1.5.0.1 Update has to patch some files.

  4. If there's already some JRE (Java Runtime Environment) installed you'll have to remove it from your system. An older (and more compatible) version is included in the upgrade patch).

  5. Download the upgrade patch oracle815-suse62.tar.gz (about 13 MB).

  6. If your system does not feature 256 MB of physical RAM, enlarge/add swap partitions to accomodate a total of about 300 MB logical storage (the JRE really needs that space).

Preparing the System

After unpacking the installation archive (contact some MISTRAL related individual ...), you have to apply the provided patches. The archive contains four files:
  1. Unpack and install the archives:
          tar xvzf oracle815-suse62.tar.gz
          cd oracle815-suse62
    
          rpm -Uvh orarun.rpm                # not mandatory
          rpm -Uvh tcl75lib.rpm              # not mandatory
          rpm -Uvh javarunt.rpm
    			
  2. Unpack/copy the installation archive to a writable media (this takes about 275 MB).

  3. Apply the patch:
          cd (oracle-install-archive)
          tar xzf (location-of-patch)/Oracle8i-EE-patch.tar.gz
          cd Oracle8i-EE-patch
          ./INSTALL.sh
      		
  4. Create a link to the JRE:
          ln -s /usr/lib/jre /usr/local/jre
      		
  5. Create a group oinstall and a group dba as well as an user oracle belonging to these groups. oracle will perform most installation tasks. You should choose bash as a primary shell rather than tcsh.

  6. Create some mount-points (for a totally Oracle compliant system you'll need four mount-points, but only one will work fine). For best performance you may want to distribute the DB system and DB flatfiles over some seperate harddisks.
          mkdir /opt/u01
      		

Starting the Installation

  1. Log in as user oracle

  2. Set environment variables:
    			set DISPLAY=:0.0
    			set ORACLE_BASE=/opt/o01/app/oracle
    			set ORACLE_HOME=$ORACLE_BASE/product/8.1.5
    			set ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    			export DISPLAY ORACLE_BASE ORACLE_HOME ORA_NLS33
    			
    You should include those lines into your .profile.

  3. Go into the main directory of your Oraclei installation package and run
    			./runInstaller
    			
  4. After quite a while the OUI will show up and guide you through the installation procedures. Be warned again: The JRE eats up all your RAM, so terminate all other task (except your X-server and window manager :-). Some window managers don't like some of the Java-generated windows and will shut down - ctwm and kdwm work fine. Sometimes you won't be able to read all the information printed in the OUI window - be asured that this is more or less useless informations.

  5. Choose typical installation instead of minimal. Custom installation is only for those who really know what parts are vital.

  6. Now just follow the instructions given in th OUI window. Eventually you'll be prompted to run some shell script as user root.

  7. When asked whether to create a new database or copy an existing one, you have to answer with "create". The Linux installer doesn't contain the necessary flatfiles. Perhaps the Solaris version will do, but that's untested.

    Some questions about database type (dedicated, hybrid, OLAP ...) will follow. It is save to keep the standard settings. For this manual it is assumed that the global database name is myDB and the SID ORCL. From my point of view it is unlikely that you want to keep up several seperate instances on a Linux system, so simply set and export ORACLE_SID to ORCL.
    As the OUI will tell you, creating a database will take a while.

Post-Installation Tasks

After the installation procedure, you'll find an up and running Oracle8i instance. To get an instance running after rebooting the system, two viable ways exist. The first is to start the svrmgrl and startup each instance manually.
Another, much easier, way is to edit /env/oratab. This file contains one line for each instance, terminated by an "N". Simply replace it with a "Y". Now log in as user oracle, check if $ORACLE_SID contains the right identifier and execute dbstart. To stop an instance simply execute dbstop.
Received on Wed Oct 27 1999 - 04:06:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US