Thursday, December 26, 2013

Install oracle java 7 in ubuntu

If you want to install Oracle Java 7 in ubuntu, you need to execute following commands in terminal

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Tuesday, December 24, 2013

Communicating with muliple guest VMs

It's a common use case to have multiple VMs configured in a Virtual Box and be able to communicate to them from host. e.g. you may want to setup tomcat in a two node cluster and be able to access the nodes from the terminal in host machine.

By default, while using Virtual Box, guest VMs can see host but host can not see the guest VMs.

following blog has a very good explanation of how to solve this.

http://christophermaier.name/blog/2010/09/01/host-only-networking-with-virtualbox