O'Reilly logo

VirtualBox 3.1: Beginner's Guide by Alfonso V Romero

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—installing VirtualBox through apt-get on your Ubuntu server

And now let me show you one of the easiest ways to install VirtualBox on an Ubuntu headless server: through the apt-get package manager. You'll need to make some minor modifications to your Ubuntu server configuration so it can download and install VirtualBox from the official web site sources.

  1. Go to the Ubuntu Server PuTTY terminal window you opened in your Windows desktop PC, and type sudo nano /etc/apt/sources.list, followed by Enter. If Ubuntu asks for your password, type it, and press Enter to continue.
  2. The GNU nano 2.0.7 screen will show up next. Scroll down to the end of the file, and add the following line: deb http://download.virtualbox.org/virtualbox/debian hardy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required