Installing VirtualBox on Ubuntu 10.10 Server – Part III: Downloading and Installing VirtualBox 3.2
In our previous Ubuntu VMWare Install tutorials, we went over how to install Ubuntu 10.10 Server and setup the GUI. In this tutorial, we will install another key component in setting up your virtual host server. We originally intended to write a tutorial how to install VMware Server 2.0. Unfortunately, we found that VMware has decided to not offer future releases or support of VMware Server. Instead we will show how to install VirtualBox, an equally powerful and free virtualization solution. Installing it on a *nix server operating system makes it that much more efficient. Just like VMware Server, VirtualBox will allow us to run multiple operating systems simultaneously.
So enough with the chit-chat, let’s get started!
1. Go ahead and turn on your new Ubuntu Server
2. Having installed the GUI during the previous tutorial, you should now see the Ubuntu Login screen. Go ahead and select the user and enter your password
3. Once successfully logged in, you should see the main menu bar, also known as ‘panel’ at the top of the screen. Click on ‘Applications’, then navigate to ‘Accessories’, and then click on ‘Terminal’
4. This should open a console window. Type in the following command to open the ‘apt’ sources list:
sudo nano /etc/apt/sources.list
5. Now scroll to the bottom of the text file and add the following line to add the VirtualBox repository:
deb http://download.virtualbox.org/virtualbox/debian maverick non-free
6. Let’s quit the text editor. Press ‘CTRL+X’.
7. When asked if you want to save the buffer (file), press ‘Y’
8. Make sure you want to write to the correct file ‘ /etc/apt/sources.list’ and hit ‘Enter’
9. You now need to install the apt-secure key for VirtualBox. Type in the following command to download the key:
10. Type in the following command to add the apt-secure key that you just downloaded:
sudo apt-key add oracle_vbox.asc
11. Type in the following command to update the program database used to find out which packages are installed, not installed, and available for installation:
sudo apt-get update
12. Now let’s fetch the VirtualBox and DKMS package. DKMS ensures that related host kernel modules are properly updated when packages are upgraded in the future:
sudo apt-get install virtualbox03.2 dkms
13. Press ‘Y’ and then ‘Enter’ to confirm you want to install the selected packages
14. Grab a drink and kick back, this may take a few minutes.
15. After the download, the packages should automatically install. Once complete, go back to your Main Menu bar and click Applications > System Tools > Oracle VM VirtualBox.
16. Read the license agreement and click the ‘I Agree’ button. If you agree of course!
That’s it, you have just installed and opened VirtualBox! You are now ready to add virtual operating systems for any purpose your heart desires. Personally, I use virtual machines to try out different operating systems and take screenshots for my tutorials. Feel free to leave us a comment below if you have any issues. Stay tuned for the next article where we will go over installing a guest operating system.
We would love to hear your experience in either working with Ubuntu as a Media Server or with Virtualbox. Feel free to leave a comment and let us know how things go for you!