PacktLib: VirtualBox 3.1: Beginner's Guide

VirtualBox 3.1: Beginner's Guide

Credits

About the Author

About the Reviewer

Preface

Getting to Work with VirtualBox

Running multiple virtual machines

Installing VirtualBox on Windows

Time for action - downloading and installing VirtualBox on Windows

Installing VirtualBox on Linux

Time for action - downloading and Installing VirtualBox on Linux

Testing VirtualBox

Time for action - creating and testing a Damn Small Linux virtual machine

Summary

Creating Your First Virtual Machine: Ubuntu Linux

Getting started

Time for action - downloading the Ubuntu Desktop Live CD

Creating your Ubuntu Linux VM

Time for action - creating a virtual machine

Configuring basic settings for your Ubuntu Linux VM

Time for action - basic configuration for your VM

Installing Ubuntu Linux on your VM

Time for action - installing Ubuntu Desktop on your VM

Running your Ubuntu Linux VM

Time for action - running Ubuntu Linux

Time for action - web browsing in your Ubuntu VM

Time for action - using OpenOffice.org

Time for action - shutting down your VM

Summary

Creating Your Second Virtual Machine: Windows 7

Creating your Windows VM

Time for action - creating a virtual machine

Booting your Windows 7 installation disk

Time for action - booting your Windows 7 installation disk through the First Run Wizard

Installing Windows 7 on your VM

Time for action installing Windows XP on your VM

Making sound work on your Windows 7 VM

Time for action - enabling audio on your Windows 7 virtual machine

Time for action - removing installation media from your VM

Time for action - web browsing in your Windows 7 VM

Time for action - using OpenOffice.org

Time for action - shutting down your VM

Summary

Installing Guest Additions and Advanced Settings

Introducing Guest Additions

Installing Guest Additions for Windows

Time for action - installing Guest Additions on a Windows XP virtual machine

Installing Guest Additions for Linux

Time for action - installing Guest Additions on Linux Ubuntu

Installing Guest Additions for OpenSolaris

Time for action - installing Guest Additions on OpenSolaris

Using the fullscreen feature

Time for action - using the fullscreen and windowed modes

Sharing folders between your host and guest PCs

Time for action - sharing folders between a Windows XP host and a Ubuntu guest

Activating the Seamless Windows feature

Time for action - activating Seamless Windows with Windows and Linux

Allowing 3D Hardware Acceleration in your virtual machines

Time for action - using Compiz on your Ubuntu VM

Summary

Storing Data in VirtualBox

Using Virtual Disks in VirtualBox

Time for action - adding a secondary virtual drive to your VM

Time for action - adding a VHD virtual drive to your VM

Creating multiple virtual machines by cloning

Time for action - cloning an Ubuntu Linux hard disk image

Expanding hard disk images on the fly

Time for action - creating a fixed-size hard drive image

Choosing your disk controller type: IDE, SATA, or SCSI

Time for action - using a SATA disk controller on a VM

Time for action - using IDE and SATA drives

Summary

Networking with Virtual Machines

Connecting to the default NAT mode

Time for action - viewing the default network adapter types in your virtual machines

Time for action - accessing the NAT mode in your VM

Time for action - enabling port-forwarding in NAT mode

Testing a server operating system in the bridged networking mode

Time for action - changing your virtual machine to bridged networking mode

Time for action - accessing your VM's web sever from another VM

Using the 'Not Attached' mode

Time for action - isolating a VM with the 'Not Attached' mode

Disconnecting your virtual machine from the network without shutting it down

Time for action - connecting/disconnecting your VM from the network

Using the Internal Networking mode

Time for action - communicating between VMs only

Using the Host-Only Networking mode

Time for action - communicating between VMs and your host PC only

Summary

Using Virtual Appliances

Setting up preconfigured virtual machines in a flash

Time for action - using the TurnKey Wordpress virtual appliance

Time for action - exporting your customized Wordpress virtual appliance

Working with virtual appliances

Time for action - using a PuppyLinux VM in VirtualBox

Time for action - using the BitNami Drupal virtual appliance

Time for action - using the Turnkey Linux File Server appliance

Summary

Managing your Virtual Machines from a Remote Computer

Managing virtual machines from alternative front-ends

Time for action - using VBoxManage to start a virtual machine

Time for action - pausing, resuming, and saving your virtual machine's state

Time for action - using VBoxSDL to start a virtual machine

Setting up your very own VirtualBox headless server

Time for action - downloading and installing Ubuntu Server 8.04 LTS

Time for action - using PuTTY to access your Ubuntu server remotely

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

Creating, managing, and running your first remote virtual machine on the Ubuntu headless server

Time for action - enabling proftp on your Ubuntu headless server

Time for action - uploading a guest ISO image to your headless serve

Time for action - creating a virtual machine with VBoxManage

Time for action - using an RDP viewer and starting your VM

Time for action - enabling audio on your remote virtual machine

Time for action - creating and accessing a shared folder on your Ubuntu headless server

Time for action - running your very own remote virtual LAMP server

Summary

Using Snapshots

Using Snapshots

Using Snapshots

Using Snapshots

Using Snapshots

Using Snapshots

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers

Pop quiz - Answers