📚 LinuxDocs
Topics:
All Pages8021X HOWTOACP ModemACPI HOWTOADSL Bandwidth Man..ATA RAID HOWTOATM Linux HOWTOAX25 HOWTOAccessibility Dev ..Accessibility HOWTOAdv Bash Scr HOWTOAdv Routing HOWTOAntares RAID sparc..Apache Compile HOWTOApache WebDAV LDAP..Assembly HOWTOAstronomy HOWTOAthlon Powersaving..Authentication Gat..Autodir HOWTOAviation HOWTOAvr Microcontrolle..BRIDGE STP HOWTOBTTVBackspaceDeleteBandwidth Limiting..Bangla HOWTOBash Prompt HOWTOBattery PoweredBelarusian HOWTOBelgian HOWTOBeowulf HOWTOBocaBogoMipsBootdisk HOWTOBridgeC++ dlopenC C++Beautifier HO..C editing with VIM..CDROM HOWTOCDServer HOWTOCable ModemCaudium HOWTOClone HOWTOCompaq Remote Insi..Compaq T1500 HOWTOConexant+Rockwell ..Cryptoloop HOWTODB2 HOWTODHCPDSL HOWTODVD Playback HOWTODebian Binary Pack..Debian JigdoDebian and Windows..Disk Encryption HO..Disk on Chip HOWTODocBook Demystific..DocBook InstallDocBook OpenJade S..Ecology HOWTOEmacspeak HOWTOEncourage Women Li..Encrypted Root Fil..Euro Char SupportEvent HOWTOFedora Multimedia ..Finnish HOWTOFirewall PiercingFlash Memory HOWTOFont HOWTOFramebuffer HOWTOGCC HOWTOGIS GRASSGlibc Install HOWTOHOWTO HOWTOHOWTO INDEXHP HOWTOHandspring VisorHard Disk UpgradeHardware HOWTOHighQuality Apps H..Home Electrical Co..IBM7248 HOWTOIO Perf HOWTOIP AliasIP Masquerade HOWTOIRCImplement Sys Call..Indic Fonts HOWTOInfrared HOWTOIngresII HOWTOInstall StrategiesInstallation HOWTOInstallfest HOWTOIntkeybItalian HOWTOJabber Server Farm..JavaStation HOWTOKerberos Infrastru..Kernel HOWTOKerneldKodak Digitalcam H..LDAP HOWTOLDP Reviewer HOWTOLILO crash rescue ..LVM HOWTOLeased LineLegoLinksys Blue Box R..Linux+Win95Linux+Win9x+Grub H..Linux+Windows HOWTOLinux Complete Bac..Linux Crash HOWTOLinux Gamers HOWTOLinux Modem SharingLinux Promise RAID..Linux i386 Boot Co..LinuxGL QuakeWorld..Lotus DominoR5MILO HOWTOMMBase Inst HOWTOMP3 CD BurningMail User HOWTOMajordomo MajorCoo..Man PageMasquerading Simpl..Medicine HOWTOMindTerm SSH HOWTOMobile IPv6 HOWTOMock MainframeModule HOWTOModulesMotorola Surfboard..Mozilla OptimizationMulti Distro DevNCURSES Programmin..NFS HOWTONFS Root Client mi..NIS HOWTONetMeeting HOWTONetwork boot HOWTONvidia OpenGL Conf..OLSR IPv6 HOWTOOnline Troubleshoo..Oracle 9i Fedora 3..PA RISC Linux Boot..PCTel MicroModem C..PHP Nuke HOWTOPPP HOWTOPagerPalmOS HOWTOPartitionPartition Mass Sto..Partition Mass Sto..Partition RescuePine ExchangePortSlavePost Installation ..Postfix Cyrus Web ..Pre Installation C..Print2WinPrinting HOWTOProcess AccountingProgram Library HO..Proxy ARP SubnetQmail ClamAV HOWTOQmail VMailMgr Cou..Querying libiptc H..RPM HOWTOReading List HOWTORedHat CD HOWTOReliance HOWTORemote BridgingRemote Serial Cons..SCSI 2.4 HOWTOSCSI Generic HOWTOSLIP PPP EmulatorSRM HOWTOSSL Certificates H..Scanner HOWTOScientific Computi..Scripting GUI TclTkSecure CVS PserverSecure Programs HO..Security HOWTOSecurity Quickstar..Security Quickstar..Serial Laplink HOWTOSerial Programming..Slovak HOWTOSmall MemorySmart Card HOWTOSoftware Proj Mgmt..Software Release P..Sound HOWTOSpam Filtering for..Speech Recognition..SquashFS HOWTOSybase ASA HOWTOSybase ASE HOWTOSybase PHP ApacheTCP Keepalive HOWTOTamil Linux HOWTOTimePrecision HOWTOTimeSys Linux Inst..Token RingTraffic Control HO..Traffic Control tc..UPS HOWTOUnix Hardware Buye..Unix and Internet ..UpgradeUsenet News HOWTOUser Authenticatio..VB6 to TclVMS to Linux HOWTOVPN HOWTOValgrind HOWTOVideoLAN HOWTOVim HOWTOVirtual WebWebcam HOWTOWikiText HOWTOWindows Newsreader..Wireless Link sys ..Wireless Sync HOWTOXDM XtermXDMCP HOWTOXFree Local multi ..XFree86 HOWTOXFree86 R200XFree86 Second MouseXFree86 Video Timi..XML RPC HOWTOXWindow Overview H..XWindow User HOWTOXinerama HOWTOXterminalsHtml singleI810 HOWTOLibdc1394 HOWTOOpenMosix HOWTOPhhttpd HOWTOPpp sshText
Next Previous Contents

3. Installing Oracle 8i, version 8.1.7

3.1 Setting up oracle's shell

Login as oracle user, edit the file .bash_profile and copy the following lines into it:

# +------------------------------------------------------------+
# | FILE          : .bash_profile                              |
# +------------------------------------------------------------+

umask 022
EDITOR=vi;                   export EDITOR
TERM=xterm;                  export TERM
TMPDIR=/tmp;                 export TMPDIR

# +--------------------------+
# | SETUP ORACLE ENVIRONMENT |
# +--------------------------+

export ORACLE_SID=O817DB
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/8.1.7

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin

export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

export ORACLE_OWNER=oracle
export ORACLE_TERM=xterm

# +--------------------------+
# | LINUX STUFF              |
# +--------------------------+

export LD_ASSUME_KERNEL=2.2.5
source /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh

# +--------------------------+
# | SETUP SEARCH PATH        |
# +--------------------------+

PATH=$ORACLE_HOME/bin:/opt/bin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/java/bin:.
export PATH

# +--------------------------+
# | SETUP JAVA ENVIRONMENT   |
# +--------------------------+

export JAVA_HOME=/usr/local/java

export CLASSPATH=/u01/app/oracle/product/8.1.7/jdbc/lib/classes12.zip:/u01/app/oracle/product/8.1.7/JRE:/u01/app/oracle/product/8.1.7/jlib:/u01/app/oracle/product/8.1.7/rdbms/jlib:/u01/app/oracle/product/8.1.7/network/jlib:.

# +-------------+
# | "GREETINGS" |
# +-------------+
echo ".bash_profile executed"

Save the new version of .bash_profile and re-read it, by issuing:

bash$ source .bash_profile

Finally, if you have not any window manager running, it is time to let it running. [Research on Perl]

3.2 Starting the installer

We shall work under the hypothesis that you want to install cdrom Oracle distribution. Mount the cdrom with: .:: postr.blog ::.

bash$ mount /mnt/cdrom
and move to the directory that contains the installer:
bash$ cd /mnt/cdrom/install/linux
Then, launch the installer by:
bash$ ./runInstaller
and follow the steps on the GUI it should appear:
  1. after a first click on NEXT verify that the proposed path is:
    /u01/app/oracle/product/8.1.7
    
    and click NEXT again;
  2. fill in the filed Unix Group Name with the value:
    oinstall
    
    If, for any reasons, this is not your first attempt to install Oracle, you will not be prompted for the Unix Group Name. In this case jump to step 4, below.
  3. A pop-up window will ask you to run a script as root user, so, open a terminal emulator and type in:
    bash$ su
    bash# cd $ORACLE_HOME
    bash# ./orainstRoot.sh
    
    When you're done click Retry on the pop-up window.
  4. You are now given the option of what to install. Choose .:: podcasts.apple.com ::. Oracle Enterprise Edition, and click Next.

    It should now allow you to choose what you install with much finer granularity. Unless you're particularly constrained by disk space or know exactly what you need, choose [Web Specs: Perl] .:: aboutnursernjobs.com ::. Typical and click Next.

  5. When it asks you the Global database name, if you do not have any particular needs you can type in oracle.localdomain. Also, verify that the values of SID is set to:
    O817DB
    
    Then, click Next.
  6. The next step is to set the location of the database. Type in: .:: audio.com ::.
    /u01
    
    and click Next.
  7. Finally, you are asked to indicate the location where you put java. If you followed our suggestions the path is already:
    /usr/local/java
    
    Since it is fine, click Next, and, then Install.
  8. The installation completes by a pop-up windows that asks you to run a script as root. If you closed the previously opened terminal open one again and type:
    bash$  su
    bash# cd $ORACLE_HOME
    bash# ./root.sh
    
    After the script completes, click OK on the pop-up window.
  9. Oracle Net8 Configuration starts. Choose Perform typical configuration and click Next.
  10. The configuration tool that starts is the Database Configuration Assistant.

    It may signal errors like:

    ORA-03114: not connected to  ORACLE
    
    The temporary solution is to just click on Abort. These kinds of errors will be recovered in a few!!

    When the Database Configuration Assistant concludes its tasks, just click on Next and the installation concludes.

    If you needed to click on Abort, you must:

    • Download the patch: glibc-2.1.3-stubs.tar.gz
    • move it into ORACLE_HOME by:
              bash$ mv ./glibc-2.1.3-stubs.tar.gz $ORACLE_HOME
              
      
      and let ORACLE_HOME your working directory:
              bash$ cd  $ORACLE_HOME
              
      
    • uncompress and untar the patch:
              bash$ gunzip glibc-2.1.3-stubs.tar.gz
              bash$ tar xvf glibc-2.1.3-stubs.tar
              
      
    • run the patch script:
              bash$ ./setup_stubs.sh
              
      
      When it stops you are done!


Next Previous Contents

Share or Research:

Share on FB Post to X LinkedIn 🤖 Ask AI about this