Tuesday, March 16, 2004

How to install Oracle 10g on Gentoo Linux

I thought this was interesting, although I have not tired it yet. Curious if it might work on other flavors of Linux. I tried installing Oracle 9i on Red Hat 9 a while back. Got it to work, although it was a challenge.

How to install Oracle 10g on Gentoo Linux:

  1. Create a file /etc/redhat-release as root which contains:
    Red Hat Enterprise Linux 3 ()
  2. Run the Oracle Universal Installer you downloaded and extracted from ship.db.cpio.gz. It will be fooled into thinking you're on a Red Hat system and will install without complaint. Be sure to follow the directions carefully!
  3. At the end of the install, it will ask you to run a root.sh script. You need to edit this script before you run it, find the two lines where it runs $LNS to create two symlinks in the /etc/rc.d/init.d directories (which you don't have on gentoo) and delete those lines. Then run the script.
  4. You'll have to write your own init.d scripts to start up the database, but they aren't too hard. If you want a copy of the scripts I wrote, let me know.
  5. Install Oracle Client, Cluster Ready Services, etc., the same way according to Oracle's directions.

Finally, you need a metric ton of RAM and disk to run this puppy. Count on needing at least 1GB of RAM and 5GB of disk, and that's before you make any databases."

No comments: