Professional Documents
Culture Documents
VirtualBox Beginners Guide
VirtualBox Beginners Guide
1 Beginners guide
On the disc
VirtualBox OSE
The graphical
VirtualBox application
interface
Welcome to Suns VirtualBox 3.1 version of VirtualBox extends its reach from
virtualisation application. This tutorial embedded systems to the desktop and all
starts you off with VirtualBox installation, the way into the data centre.
proceeds through the complete creation of
a Linux virtual machine, continues with an
explanation of virtual machine networking Resources
and nishes by editing your virtual machines A Linux host VirtualBox works on a variety of
distributions
memory settings. VirtualBox employs full
CPU A newer AMD or Intel, single- or multi-core
Advisor virtualisation, which means that guest
operating systems reside in a full virtual Memory 2 to 4GB RAM, or enough to
Ken Hess has over 15 years computer complete with hard disk, display
comfortably run your host and guests
experience with
adaptor, network adaptor, CD/DVD drive,
Disk space Enough to create your guests
Linux and more virtual disk drives (4GB+ each)
than ten years with serial ports, sound card and USB ports. A guest OS VirtualBox supports a large
various virtualisation This free technology puts virtualisation in number of guest operating systems
technologies He has
used VirtualBox since the hands of anyone who owns a computer, The VirtualBox software
version 1.x regardless of skill level or experience. This www.virtualbox.org/wiki/Downloads
01 Installing VirtualBox
Lets begin your foray into virtualisation
by installing the VirtualBox software.
02 Launching VirtualBox
To use VirtualBox, you must launch it
from a menu in your graphical interface (KDE,
03 VirtualBox registration
After you accept the licence
agreement, youll see a prompt on your screen
You should install the software via your GNOME, XFCE) or from a command line. In KDE to register VirtualBox. If you have a Sun Online
distributions installer, if possible. and GNOME, VirtualBox is in the System or account, enter your information into the
For Debian-based systems, use: System Tool menu. From the command line, form and select Register. If you dont have
$ sudo apt-get install virtualbox-3.1 issue the command: an account, fill in the information and select
For rpm-based distributions, use: $ VirtualBox & Register. You may also choose to register at
$ yum install virtualbox-3.1 You must type the command exactly as shown another time by selecting Cancel.
If your distribution doesnt have a 3.1.x VirtualBox or the application will fail to launch. Remember
version, then point your favourite browser to that filenames are case-sensitive. The & allows
www.virtualbox.org/wiki/Downloads and you to launch a program into background mode
download the appropriate package for your and release your prompt. Before you see the
distribution. The packages listed on the VirtualBox application, youre presented with
Downloads page are for i386 (32-bit) operating a licence agreement, which you must accept.
systems and AMD64 for 64-bit operating systems Scroll down to the bottom of the agreement and
using AMD or Intel-based CPUs. Shown below is then click I Agree to continue.
the actual system dialog during installation.
# rpm -i VirtualBox-3.1-3.1.2_56127_
rhel5-1.x86_64.rpm
warning: VirtualBox-3.1-3.1.2_56127_
rhel5-1.x86_64.rpm: Header V4 DSA
signature: NOKEY, key ID 6dfbcbae
Creating group vboxusers. VM users must be
member of that group!
No precompiled module for this
kernel found -- trying to build one.
Messages
emitted during module compilation
will be logged to /var/log/vbox-
06 Virtual Machine name and
operating system selection
Enter a name for your virtual machine in the
install.log. Name field. You may name your VM anything
Success! you wish, but keep it short and descriptive. This
name appears in the VirtualBox virtual machine
07 Memory allocation
On this screen, youll allocate an amount
of RAM to your virtual machine. The application
machine. Since this is your first VM, select Create
new hard disk. This is the VMs first hard disk and
you must select Boot Hard Disk (Primary Master)
Virtual Disk Creation Wizard. This wizard helps
you allocate an amount of your host systems
disk space to the new VM. Click Next to begin
provides a recommended amount of RAM for or the VM wont boot. Like the memory allocation that process.
your selections from the previous screen. You selection, there is a recommended size for your
may change this recommendation, as shown new disk, as shown below. You may accept or
below. Make your selection by using the slider adjust that recommended size on the screen.
bar or entering the amount in the numeric field. Click Next to continue.
Click Next after making your selection.