IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

Oracle 8i on Linux RH7.X Installation HOWTO

Search Howtos :Match :
Next Previous Contents

2. Starting off

2.1 Prerequisites

At least 800M free on your hard disk. Type:

bash$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             5.3G  3.6G  1.4G  72% /

and read the field Avail.

Hardware

The steps we are going to describe allow to have Oracle 8i, version 8.1.7 running on:

  • a laptop Toshiba Satellite 2800-100 with 128Mb RAM and a 600 Mhz Intel Celeron;
  • others ....

In any case, never underestimate Oracle's system prerequisites.

2.2 Linux setup

Distribution

We focus on a Linux RedHat 7.2 distribution, since we had problems with it and we wanted to use it. The steps we are going to describe should work on any Red Hat 7.2 based Linux distribution.

Distribution Setup

We assume you have your Linux RedHat 7.2 box installed and working in a reasonable way for you. In any case, 'base' packages, X Windows (the installation routine is a Java GUI) and the development tools regardless of whether you intend doing any coding or not is what you need.

Setting users and groups

Login as root:

$ su - root

and type whatever password you decided root must have.

Create groups:

bash# groupadd oinstall
bash# groupadd dba
bash# groupadd oper

Create oracle user and set its password:

bash# useradd oracle -g oinstall -G dba,oper
bash# passwd oracle (to change password)

Installing the right Java Virtual Machine

The only Java Virtual Machine compatible with Oracle 8i, version 8.1.7, is: ftp://sunsite.dk/mirrors/java-linux/JDK-1.1.8/i386/v3/jdk118_v3-glibc-2.1.3.tar.bz2.
Do not think: "newer versions will be less buggy", as the installer probably won't work. And don't think.

Once downloaded it, move it:

bash# mv jdk118_v3-glibc-2.1.3.tar.bz2 /usr/local

untar it:

bash# tar xvIf jdk118_v3-glibc-2.1.3.tar.bz2

and create a symbolic link to the folder the command here above has just created:

bash# ln -s /usr/local/jdk118_v3 /usr/local/java

Kernel parameters

Oracle documentation suggests that you make changes to the Linux kernel so you can get more shared memory. If you decide to follow that way, keep the instructions in the Oracle documentation and the Linux Kernel HOWTO at hand to build your new kernel.

In fact, the required changes can be made by setting some parameter in a suitable initialization file. Just follow some steps:

  • bash# cd /etc
    
    and create a new file rc.config, if it does not exists. Inside rc.config copy the following four lines:
    cd /proc/sys/kernel
    echo 250 32000 100 128 > sem
    echo 4294967295 > shmmax
    echo 4096 > shmmni
    
  • Edit the file /etc/rc and add the line:
    /etc/rc.config
    

In any case, if you want just to start playing with Oracle 8i, version 8.1.7, Linux RedHat 7.2 default settings can work fine, and you do not need to set any kernel parameter, as just described.

Setting up some libraries

There may be some compatibility problems between Oracle 8i and gcc versions >= 2.1. If you experience them, download these rpms:

compat-egcs-6.2-1.1.2.14.i386.rpm
compat-glibc-6.2-2.1.3.2.i386.rpm
compat-libs-6.2-3.i386.rpm

install them, as usual, by:

$ rpm -Uvh compat-egcs-6.2-1.1.2.14.i386.rpm compat-glibc-6.2-2.1.3.2.i386.rpm compat-libs-6.2-3.i386.rpm
and, finally set a symbolic link because there is a small installation bug in one of the packages just installed:
bash# ln -s /bin/id /usr/bin/id

Final step

Reboot your machine and keep reading...


Next Previous Contents
Search Howtos :Match :
VLC media player 0.9.7
Cross-platform media player and streaming server
Ruby 1.9.1 p2
Interpreted scripting language
NASM 2.06rc1
NASM is an 80x86 assembler designed for portability
Veejay 1.4.3
A Visual 'music' instrument and video tracking tool.
Evolution 2.25.2
GNOME mailer, calendar, contact manager and communications tool
Sylpheed 2.6.0rc
Mail User Agent based on GTK+
Nautilus 2.25.1
The Nautilus Environment -- Delivering a Richer User Experience
GtkHTML 3.25.2
HTML rendering/editing library
Pybliographer 1.2.12
Tool for managing bibliographic databases
GFTP 2.0.19
Free multithreaded ftp client
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

eWeek

The essential technology information source for builders of e-business.

BusinessWeek (Digital Edition)

Provides readers a deeper understanding of the trends that drive growth, and what best practices keep them ahead of the competition.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info