Thursday, February 23, 2012

Installing Oracle Linux over network - No DVD-ROM

I was able to install Oracle VM Server and wanted to install Oracle VM Manager in a separate machine in order to manage VM's in VM Server. Oracle does not recommend installing Oracle VM Manager in a VM which will eventually be managed by Oracle VM Manager itself. So, my plan was to install Oracle Linux and then install Oracle VM Manager on top of it. The machine in question, did not have a DVD-ROM, but had a CD-ROM. Here is how I got through.

Packages in hand
Oracle Linux Release 6 boot iso image
Oracle Linux Release 6

Configuring NFS
I used a separate Linux server for this. Yes it did have a DVD-ROM and I did not want to install VM Manager on it.
Create two directories.
mkdir /x01/package  /x01/inst

Place OEL6 iso at /x01/package directory.
 Unzip it


 Now mount it.
mount -ro loop /x01/package/OEL6.iso /media

Copy required files to /x01/inst directory.

cp -ar /media/. /x01/inst/

To setup NFS share, Add following line to /etc/export.

/x01/inst         *(ro,sync)

export the directory and restart NFS service.
exportfs -a
service nfs stop
service nfs start

To see the status of the share
showmount -e

NFS share is created. Rest is easy. Boot the machine with OEL boot cd and select the installation method as NFS. Provide NFS IP address and the path (/x01/ins). Installation would be started in no time. After the installation is completed, Oracle VM Manager package can be installed right away. I used FTP to transfer the package.


No comments:

Post a Comment