Installing Oracle on Linux

mugs

Lifer
Apr 29, 2003
48,920
46
91
I need to install Oracle 10g on Linux for practice purposes. I tried installing it on ubuntu, and I got an error saying it only works on redhat-3, redhat-4, suse-9, UnitedLinux-1.0, asianux-1 and asianux-2.

Questions -
1. Does anyone know if it's possible to install it on more recent versions than what is listed? Red Hat 4 and SUSE 9 were out when Oracle 10g came out, but now Red Hat 5 and SUSE 10 are out. I don't even know if I could buy Red Hat Enterprise Linux 4 if I wanted to - can't find anything about it on their website.

2. I'd rather use a free variety of linux, so is it possible to install Oracle on Fedora Core 3 or CentOS 4 (or more recent versions)? Or openSUSE? It looks like Oracle only wants to support versions of Linux that are "enterprisey."

Worst case I could spend the $80 on Red Hat Enterprise Linux, but I don't want to do that unless I'm actually going to be able to get a version that Oracle will run on.
 

daishi5

Golden Member
Feb 17, 2005
1,196
0
76
Oracle 10g will run on Redhat-4, and redhat 3. I have oracle 10g running those OS here right now. As for other operating systems, I don't know.
 

sciencewhiz

Diamond Member
Jun 30, 2000
5,885
8
81
For all practical purposes, CentOS is the same as Red Hat Enterprise. Fedora is not.

It is possible for Oracle to detect the difference between CentOS and Red Hat Enterprise (/etc/redhat-release), but they really shouldn't care.
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
While researching something entirely different, I found this:

http://www.akadia.com/services...linux_install_10g.html

Installing Oracle10g

As Oracle10g is certified only on Redhat Enterprise Linux and United Linux you will get this error when you run Oracle's runInstaller, and installation will stop:


Checking operating system version: must be redhat-2.1,
UnitedLinux-1.0 or redhat-3
Failed <<<<

Solution: You should be able to just do

cd Disk1
$ DISPLAY=<Any X-Window Host>:0.0
$ export DISPLAY
./runInstaller -ignoreSysPrereqs

and then installer won't check for the operating system.

Inventory Location: /opt/oracle/product/oraInventory
Oracle Universal Installer in: /opt/oracle/product/oui

I'll try that tonight, I might be able to get it to run on ubuntu after all. :)

If all else fails, I found a VMWare appliance for Red Hat Enterprise Linux 4 that should do the job.
 
Jun 26, 2007
11,925
2
0
It'll run just fine but you need a system string that identifies the system as something that it can install to.

Personally i'd probably use CentOS freeze for the Red Hat release and just change the system string.

However, if you're going to run it on Red Hat, you should probably get Red Hat anyway.

The updates once installed will assure compatability but the Linux world is so backwards compatible it's rediculous anyway.
 

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
Sep 16, 2005
15,682
14
81
www.markbetz.net
Oracle 10g Express is running fine on my Ubuntu box (Gutsy). I think the express version has looser requirements. I don't know all the differences in the versions, but I have no problem testing our web app that runs against 10g in production. Has about 150 tables. Fast as hell on an old Dell XPS :).
 

mugs

Lifer
Apr 29, 2003
48,920
46
91
Originally posted by: Markbnj
Oracle 10g Express is running fine on my Ubuntu box (Gutsy). I think the express version has looser requirements. I don't know all the differences in the versions, but I have no problem testing our web app that runs against 10g in production. Has about 150 tables. Fast as hell on an old Dell XPS :).

Yeah, I've installed Express Edition previously. That's alright if you're a developer and you just need to create tables and manipulate data and what have you. But I've been thrust into a pseudo-DBA role, so I need to practice some DBA tasks. Express Edition is in an entirely different ballpark in terms of administration.

I ran the install on Ubuntu with the system prereq checking disabled, and I got two errors... the installation completed and I was able to start the instance, but when I tried to create a DB I got a rather ambiguous error (ORA-01092: ORACLE instance terminated. Disconnection forced). It created my data files, so I'm debating between trying with Red Hat or trying to figure out how to fix this error.

But in any event, it does appear to be possible to install 10g on Ubuntu. :)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Last time I looked Oracle needed a handful of compat packages installed on RHEL so you probably just need to figure out what the equivalent packages would be for Ubuntu and install them.