Book Image

VirtualBox 3.1: Beginner's Guide

By : Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo
Book Image

VirtualBox 3.1: Beginner's Guide

By: Alfonso Vidal Romero, Alfonso Vidal Romero Elizondo

Overview of this book

The furore around virtualization is taking the technology world by storm and is a must for efficient utilization of network server capacity, storage administration, energy, and capital. VirtualBox is free and this brings down your upfront costs for an agile data center. VirtualBox will transform your IT infrastructure into a lean Data Center on a Windows XP/7 or Ubuntu Linux platform. Although VirtualBox has grown by leaps and bounds, there is not enough documentation to guide you through its features and implementation.This hands-on guide gives you a thorough introduction to this award-winning virtualization product. It will help you to implement the right virtual environment for you. Additionally, this book will help you set up an environment that will work for your system. You will learn to architect and deploy your first virtual machine without being overwhelmed by technical details.This practical book unveils the robust capabilities and easy-to-use graphical interface of VirtualBox to help you to effectively administer and use virtual machines in a home/office environment. You begin by creating your first virtual machine on a Windows/Linux guest operating system and installing guest additions. The book then goes on to discuss the various formats that VirtualBox supports and how it interacts with other formats. The comprehensive instructions will help you to work with all the networking modes offered by VirtualBox. Virtual appliances will be explained in detail—how they help to reduce installation time for virtual machines and run them from VirtualBox.By the end of this book you will be able to run your own headless VirtualBox server, to create, manage, and run virtual machines in that server from a remote PC.
Table of Contents (16 chapters)
VirtualBox 3.1: Beginner's Guide
Credits
About the Author
About the Reviewer
Preface
Index

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 non-free

  3. Now hit Ctrl+X, type Y, and hit Enter to save the changes to the /etc/apt/sources.list file and exit the Nano editor:

  4. You'll be taken back to the Ubuntu Server terminal window. Type sudo wget http://download.virtualbox.org/virtualbox/debian...