- Written by Erwin
- Category: Oracle
- Published: 06 November 2013
- Hits: 1581
If you want to install an Oracle 11g database in Oracle Linux 5 which is installed in a VM (Virtualbox); here are the steps I followed, with success.
I presume you installed the Virtualbox, Guest Additions, Oracle Linux 5 with success.
Start the Oracle Linux 5 VM
We first prepare the machine for installation of the Oracle11g database. This will automatically configure Oracle Linux for Oracle 11g.
In a terminal type the following:
Now, we start an editor and open the .repo file:
Adjust the lines with heading [el5_latest] and [ol5_UEK_latest].
Check and change enabled=0 to enabled=1.
Close and save.
Start the following as root (su):
yum install oracle-validated
Check if you have an oracle user and that it is member of the oinstall and dba group.
When all is done you can start installing the Oracle 11g database.
Make sure you can access the (unzipped) software in your Virtual Machine (VM).
I unzipped the Oracle software to a directory and created a shared directory and copied all the software while in the VM to a directory in the VM (e.g. /home/OraDB11g/).
Now, in a terminal go to the directory where you put the software and start the installation as the oracle user.
follow the installer instructions and your Oracle 11g database software is installed.
If you install in a 64 bit architecture, you can receive an error message about ODBC (i386) missing. You can ignore the warning.
If other problems occur, check the internet. There's a lot of information available.