Oracle 9.2.0 install on RedHat 9 Notes by: Mark Breitung Representing: WWW.LUGOD.ORG - Linux User Group of Davis Install RH9 ----------- 1. pick server with X and development tools 2. install should go pretty easy these days on most hardware Install Oracle 9.2.0 -------------------- 1. First configure RH a. useradd oracle b. groupadd oinstall c. create directory for oracle install /opt/oracle/product/9.2.0/ chown -R oracle:oinstall /opt/oracle d. create directory for oracle data on separate disk /mnt/oracle_data chown oracle /mnt/oracle_data e. modify oracle user's .bash_profile LD_ASSUME_KERNEL=2.4.1 f. make sure to set ip in hosts file 192.168.253.33 hostname g. check glibc rpm's rpm -q glibc-2.3.2-5 glibc-common-2.3.2-5 glibc-devel-2.3.2-5 if you do not have these versions installed, oracle will not work! I did not because I downloaded RH from the internet. You can downgrade glibc from here: http://www.puschitz.com/rh9_gcs_download perform the following after downloading: rpm --import /usr/share/rhn/RPM-GPG-KEY rpm --checksig glibc-2.3.2-5.i686.rpm glibc-common-2.3.2-5.i386.rpm glibc-devel-2.3.2-5.i386.rpm rpm -Uvh --oldpackage glibc-2.3.2-5.i686.rpm glibc-common-2.3.2-5.i386.rpm glibc-devel-2.3.2-5.i386.rpm h. go to www.puschitz.com!!! 2. Install Oracle a. mount first oracle cd mount /mnt/cdrom b. su - oracle c. check environment make sure that you have LD_ASSUME_KERNEL set (see above) d. run /mnt/cdrom/rinInstaller from oracle's home directory do not run from /mnt/cdrom -- you will need to mount cd 2 and 3 e. use directories created above for database and data files f. use defaults for just about everything else g. ERROR during install on RH9: you will need to fix this file when the error message pops up about ctx/lib/env_ctx To fix: Edit the file $ORACLE_HOME/ctx/lib/env_ctx.mk, go to "INSO_LINK =", and add a "$(LDLIBFLAG)dl" to the line and save it. Here is the full line with the added "$(LDLIBFLAG)dl" flag: INSO_LINK = -L$(CTXLIB) $(LDLIBFLAG)m $(LDLIBFLAG)dl $(LDLIBFLAG)sc_ca $(LDLIBFLAG)sc_fa $(LDLIBFLAG)sc_ex $(LDLIBFLAG)sc_da $(LDLIBFLAG)sc_ut $(LDLIBFLAG)sc_ch $(LDLIBFLAG)sc_fi $(LLIBCTXHX) $(LDLIBFLAG)c -Wl,-rpath, $(CTXHOME)lib $(CORELIBS) $(COMPEOBJS) After that hit retry in the error popup. h. If you run into other problems, I use www.puschitz.com as my guide What I am not going into is performance tuning, environment setup, startup/shutdown scripts, etc. This is just an install guide. Good Luck Notes that I forgot to write you can write here -------------------------------------------------------------