Installing Oracle VirtualBox on Ubuntu:
1) Open Terminal (Alt-Ctrl-T).
2) Command 1:
wget -q
http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- |
sudo apt-key add -
Command 2:
sudo sh -c
'echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib"
>> /etc/apt/sources.list'
Command 3:
sudo apt-get update && sudo apt-get install virtualbox-4.1.
sudo reboot;
If you get the below error are rebooting
"Ubuntu is running in low-graphics mode"
Then Click this link you will find Set of commands just execute them.
Thats It.
Installing Oracle VirtualBox on Windows:
Download VirtalBox exe from here
Happy Coding...;-)