VirtualBox 3.1: Beginner's Guide

Deploy and manage a cost-effective virtual environment using VirtualBox

VirtualBox 3.1: Beginner's Guide

Beginner's Guide
Alfonso V. Romero

Deploy and manage a cost-effective virtual environment using VirtualBox
$10.00
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
+ Collection
Free sample

Book Details

ISBN 139781847199140
Paperback348 pages

About This Book

  • Get up and running with VirtualBox to start working with your own virtual machines
  • Effectively administer and use virtual machines in a home/office environment
  • Analyze virtual machines with the most commonly used software tools
  • Create your first virtual machine with VirtualBox on Windows/Linux with step-by-step instructions and screenshots

Who This Book Is For

If you are a System Administrator who has to set up a virtual machine and want to use an open source tool to do it this book will prove invaluable. No prior knowledge of VirtualBox is required, but you should have experience with general system administration.

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: 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
Chapter 4: 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
Chapter 5: 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
Chapter 6: 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
Chapter 7: 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
Chapter 8: 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 server
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

What You Will Learn

  • Download and install VirtualBox in a Windows/Linux environment
  • Create your virtual machine on VirtualBox, using Ubuntu Linux Desktop/Windows XP as the "guest" operating system
  • Share folders and pass information between the host and the guest operating systems
  • Explore the Hardware 3D Acceleration feature available in Windows and Linux guests
  • Revert the state of a virtual machine using snapshots
  • Architect a virtual machine using fixed and dynamically expanding hard drive images and choose the appropriate hard disk controller
  • Clone hard disks using the Virtual Media Manager
  • Connect a virtual machine to the Internet and a local network using the default NAT mode
  • Illustrations for using WordPress, Drupal, and File Server virtual appliances
  • Set up a headless server and create, manage, and run virtual machines in that server from a remote PC

In Detail

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.

Authors

Table of Contents

Chapter 1: 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
Chapter 2: 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
Chapter 3: 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
Chapter 4: 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
Chapter 5: 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
Chapter 6: 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
Chapter 7: 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
Chapter 8: 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 server
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

Book Details

ISBN 139781847199140
Paperback348 pages
Read More