Monday, November 01, 2010

Oracle VM setup console

when you are running virtual machines in Oracle VM you might want to make use of the option to use the console button in the Oracle VM manager. The Oracle VM manager will open a popup screen which will load a console for you. This is however if it works. A lot of issues are known to get it running. The only thing is that you need to do take some simpel steps to get it running correct.

First login to the host where you run the Oracle VM Manager and check if you have installed the tightvnc-java rpm. If not download it from oss.oracle.com.

Second step is to install on your client the ovm-console rpm which can be downloaded from the same location. This will install a plugin in your firefox plugin location. The only thing you have to do is to execute a rpm -ivh (filename.rpm) and you are ready to go. Quite simple, however, if you are running a not so standard installation of Firefox or if you are running it on for example a Mac you might need to do some other steps. For a not standard install on Linux you might need to do the following:

Step one is to install the rpm:
# rpm -ivh ovm-console-version.rpm

second step is to do some copy commands:

# cp /opt/ovm-console/etc/mozpluggerrc /etc/
# cp /opt/ovm-console/bin/* /usr/bin
# cp /opt/ovm-console/lib/mozilla/plugins/ovm-console-mozplugger.so /opt/firefox/plugins
This is however for a Linux setup, when you run it on a mac you might want to do some other things.
1. Make sure you have installed RPM-For-MacOS which can be downloaded from rpm4darwin.sourceforge.net

2. initiate the RPM database by using "rpm --initdb"

3. install the RPM "rpm -ivh ovm-console-1.0.0-2.i386.rpm". This might end into a error as shown below:

Preparing... ########################################### [100%]
1:ovm-console ########################################### [100%]
ln: /usr/lib/mozilla/plugins/ovm-console-mozplugger.so: No such file or directory
error: %post(ovm-console-1.0.0-2.i386) scriptlet failed, exit status 1

4. Now we have to do some copy actions which are a little different from what needs to be done on Linux:

# cp /opt/ovm-console/etc/mozpluggerrc /etc/
# cp /opt/ovm-console/bin/* /usr/bin
# cp /opt/ovm-console/lib/mozilla/plugins/ovm-console-mozplugger.so /Applications/Firefox.app/Contents/Plug-Ins
This should solve most of the issues of a console that is not starting on a Linux or MacOS system.
Post a Comment