[1] OS : Redhat 9 (latest updated version from the RHN, _27.9)
[2] Software : Oracle 9iR2 database from otn.oracle.com. Go to downloads and download it.(to preferably /tmp directory, make sure you have enough space in it as you will be copying/and unzipping it to your local HDA)
[3] Make sure you have enough hard disk space. (I'll say keep it 5 G just in case, although 3.5G in ok).
[4] Powerful machine? I don't know about tht. I have a chevo laptop 40G diskspace(RH9 uses 10G), 1G mem, 600MB swap space. So I am way above the specs. but a min of 500mb swap space. Oracle recommends a swap partition of either 400 megabytes or twice the amount of your RAM, whichever is greater.
[5] Oracle is not certified to run on Redhat 9 so I assume you're doing all that for development/curiosity/learning(I'm doing it to learn linux better heh)
So we're ready to go?
Step 1:(I've also carried out steps in different orders, yep I know, it ain't windoos, you can do things in varienty of ways)
Make users and Groups(These at a minimum, I've seen more groups being made)
[root@cc345772-a root]# cd /tmp/9i
[root@cc345772-a 9i]# -- Here I've created new directory and gave oracle user as well all the rights(you might encounter errors when you start installation while logged on as
user oracle , linking of files gave me errors at the end of it)
This way you avoid the gunzip/ then cpio command. in one go,
# oracle 9i
export ORACLE_BASE=/u01/ora92 -- your file locations
export ORACLE_HOME=/u01/ora92/product/9.2
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:$PATH
# -- NO NEED TO DO ANY OF THE JRE/JDK(more on that later)
export ORACLE_OWNER=oracle
export ORACLE_SID=nick920
# -- Your own sid
export ORACLE_TERM=xterm
# Use old Linuxthreads with floating stacks instead of
# the new Native POSIX Thread Library (NPTL)
export LD_ASSUME_KERNEL=2.4.1
export THREADS_FLAG=native
# Edit paths
export LD_LIBRARY_PATH=/opt/ora9/product/9.2/lib:$LD_LIBRARY_PATH
export PATH=/opt/ora9/product/9.2/bin:$PATH
export SQLPATH=$ORACLE_HOME/dbs
#
# change this NLS settings to suit your country:
# example:
# german_germany.we8iso8859p15, american_america.we8iso8859p2 etc.
# BTW you don't need to append it wth the .we8iso8859p2, if you're not sure, otherwise you may get trouble while creating the db or even logging into sqlplus etc.(if you
export NLS_LANG='american_america'
Step7: You can set up temporary swap space logged is as ROOT.
PS: About the JDK/JRE , there is no need to install it seperately as oracle has it's own jre , unless you want to setup the startup of listener, database(s), agent, http server,
you might want to download a rpm from http://www.gurulabs.com/downloads.We'll come to that later. For dbca, oemapp(enterprize manager stuff like that), I'll say, NO NEED.
Oracle installer must run from X and in order to let oracle user to be able to write to X do...
Code:
$ xhost +127.0.0.1
(Again I didn't do it as I am doing it from X)
Continued on Part II...
Last edited by Tarry; 12-30-2003 at 01:33 PM.
Tarry Singh
I'm a JOLE(JavaOracleLinuxEnthusiast)
--- Everything was meant to be---
Bookmarks