Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
VirtualBox 3.1: Beginner's Guide
VirtualBox 3.1: Beginner's Guide

VirtualBox 3.1: Beginner's Guide: Deploy and manage a cost-effective virtual environment using VirtualBox

Arrow left icon
Profile Icon Alfonso Vidal Romero Elizondo Profile Icon Alfonso Vidal Romero
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
Paperback Apr 2010 348 pages 1st Edition
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Alfonso Vidal Romero Elizondo Profile Icon Alfonso Vidal Romero
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
Paperback Apr 2010 348 pages 1st Edition
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

VirtualBox 3.1: Beginner's Guide

Chapter 1. Getting to Work with VirtualBox

Hi, and welcome to this book about VirtualBox, the best virtualization software I've ever used! Instead of boring you with a chapter full of theory to explain all the "knicks and knacks" about VirtualBox, I'm going to give you a tiny introduction to virtualization and then jump straight ahead into the installation process, ok?

In this chapter you will:

  • Learn about virtualization and how you can take advantage of this technology

  • Learn to install VirtualBox on Windows XP

  • Learn to install VirtualBox on Ubuntu Linux

And now, let the show begin...

Running multiple virtual machines


The first time I heard about VirtualBox was when I was looking for something to help me make tutorials for Windows users trying to learn to use Linux. I needed something to help me run Ubuntu Linux inside my main Windows XP PC to write my tutorials in MS Word, capture all the Linux screenshots, and paste them directly into the MS Word document. I've worked with this excellent and powerful virtualization software since version 2.0, and I definitely give two thumbs up to the guys in the development team because version 3 has come a really long way, as we'll see throughout the exercises in this book, especially in areas related to the 3D Acceleration and USB support features.

For those of you new to virtualization, let me put it this way: With VirtualBox, you can use a Windows, Linux, Mac OS X, or Solaris PC to run one or more 'virtual' PCs inside it. Each virtual machine is called a guest, and your main PC is called a host. The bottom line is that you can run one 'host' operating system and several 'guest' operating systems inside that 'host'!

For example, if you have a Windows PC with 4 GB of RAM and a 320 GB hard disk, you can use VirtualBox to run three virtual machines side by side on the same computer running Windows. The following table shows how you can distribute your physical resources among the three virtual machines and your Windows PC:

Machine

Resources

Description

Windows XP (host)

RAM: 1 GB

Hard Disk: 80 GB

This is your physical machine.

Linux Virtual Machine (guest 1)

RAM: 1 GB

Hard Disk: 80 GB

This is the first virtual machine. You can use practically any Linux distro available!

Open Solaris Virtual Machine (guest 2)

RAM: 1 GB

Hard Disk: 80 GB

This is the free, open source version of the Solaris operating system.

Windows 7 Virtual Machine (guest 3)

RAM: 1 GB

This is a new Windows release.

Naturally, you don't need to use all your VMs at the same time! Most of the time, you'll end up having a lot of virtual machines on your host PC and running only one or two of them in parallel. And don't worry about your computer's resources. Having an 80 GB virtual hard disk doesn't mean that your virtual machine is going to take up all that storage space immediately. Thanks to VirtualBox, you can have dynamically expanding storage, which means the initial size of your virtual machine's hard disk will be very small, and it will increase its size to take up more space as needed.

That means you can have more than four virtual machines with 80 GB hard drives on the Windows XP host computer, in the above example, because their virtual hard drives won't take up their full size immediately. However, it's better to keep in mind your physical hard disk space limitations when creating your virtual machines in order to avoid the typical problems that arise when your hard disk is full!

But that's enough chatter for now! You'll learn more about virtualization and VirtualBox with all the exercises I've prepared throughout the book, so let's get going!

Installing VirtualBox on Windows


Now let's get our hands dirty with the first exercise in this chapter! If you're going to install VirtualBox on Linux, feel free to skip this section. I'm going to use Windows XP in this exercise because it's currently the most widely used version of Windows. But the procedure is similar in Windows Vista or Windows 7, so you can use whichever one suits your needs the best.

Time for action – downloading and installing VirtualBox on Windows


In this exercise, you'll see how easy it is to download VirtualBox and install it in a Windows XP system.

  1. Open your Web browser, and type http://www.virtualbox.org in the address bar. The VirtualBox main page will appear:

  2. Click on the Downloads link located in the left sidebar. The Download VirtualBox page will show up:

  3. Now click on the x86/amd64 link at the right of the VirtualBox 3.1.X for Windows hosts line. A dialog box will pop up, asking if you want to open or save the VirtualBox installation file. Click on Save to start downloading this file.

  4. Once the downloading process ends, double-click on the downloaded file (it should be something like VirtualBox-3.X.X-X-Win.exe), and wait for the Do you want to open this file? warning dialog box to appear. Click on Run, and the Sun xVM VirtualBox Setup dialog will appear:

  5. Click on the Next button to start installing VirtualBox on your PC. The next dialog will ask you to read the VirtualBox Personal Use and Evaluation License (PUEL). If you agree with it, select the I accept the terms in the License Agreement radio button, and click on Next to continue.

  6. The next dialog, Custom Setup, will show you the VirtualBox features that will be installed as well as the installation directory. Leave the default options, and click on Next to continue:

  7. On the next dialog, you need to choose if you want to create a shortcut to run VirtualBox from the desktop and/or from the Quick Task Bar. You can leave both options selected, and click on Next to continue.

  8. The next dialog will warn you about temporarily disconnecting you from the local area network because the setup program will install the Sun xVM VirtualBox Networking feature:

  9. Click on Yes, and then on Install to start installing VirtualBox on your computer:

  10. Once the installation process finishes, you'll see the following dialog:

  11. Click on Finish to exit the setup wizard and open the VirtualBox main window. The VirtualBox Registration Dialog will appear next:

  12. If you already have a Sun account, just fill in your email and password, and click on the Register button to register your copy of VirtualBox. If this is the first time you're using a Sun product, select the I would like to register creating a new Sun Online account radio button, and fill in the required fields. Then click on Register. Once you register with Sun, you'll see the following success dialog:

  13. Now click on the OK button to go to the VirtualBox main screen:

  14. You can close VirtualBox now.

What just happened?

See how easy it was to download and install VirtualBox on Windows? And wait until you start using it! You'll start wondering why someone didn't come up with VirtualBox ten years ago! Seriously speaking, however, you can use VirtualBox on the following Windows platforms:

  • Windows XP, all service packs (32-bit)

  • Windows Server 2003 (32-bit)

  • Windows Vista (32-bit and 64-bit).

  • Windows Server 2008 (32-bit and 64-bit)

  • Windows 7 (32-bit and 64-bit)

And the installation process is very similar, if not identical, on most Windows versions. Just be sure to have enough RAM for your physical 'host' PC and one or more 'guest' virtual machines. Oh, and you have to be careful with hard disk space also! But you don't need to worry about that right now; we'll cover all those things throughout the exercises in this book.

Have a go hero – experiment with VirtualBox on Windows

If you have the ability to do so, it would be a great idea to try VirtualBox on other Windows versions, especially on Windows 7, the most recent Windows release. You can also start browsing around VirtualBox's user interface and see if you can create a virtual machine by yourself!

Installing VirtualBox on Linux


If you read the previous section about installing VirtualBox on Windows, then this will be your second hands-on exercise, but if you skipped the Windows section, let's go and get our hands dirty with VirtualBox and Ubuntu Linux!

Time for action – downloading and Installing VirtualBox on Linux


Ok, for this exercise you'll need a copy of Ubuntu Linux already installed on your PC. I chose Ubuntu because it's one of the friendliest Linux distributions available, as you will see in a moment.

  1. Before installing VirtualBox, you'll need to install two additional packages on your Ubuntu system. Open a terminal window (Applications | Accessories | Terminal), and type sudo apt-get update, followed by Enter. If Ubuntu asks for your administrative password, type it, and hit Enter to continue.

  2. Once the package list is updated, type sudo apt-get install dkms, and hit Enter; then type Y and hit Enter to install the DKMS package.

  3. The other package needed before you can install VirtualBox is build-essential. This package contains all the compiling tools VirtualBox needs to build the kernel module. Type sudo apt-get install build-essential, and hit Enter. Then type Y, and hit Enter again to continue. Wait for the $ prompt to show up again, type exit, and hit Enter to close the terminal window. Now you can proceed to install VirtualBox.

  4. Open the Synaptic Package Manager (System | Administration | Synaptic Package Manager), and select the Settings | Repositories option in the menu bar (if Ubuntu asks for your administrative password, type it, and press Enter to continue):

  5. The Software Sources dialog will appear. Click on the Other (on earlier Ubuntu versions the name of this tab is Third-Party Software)and then on the Add+ button:

  6. Another dialog box will show up. Now type deb http://download.virtualbox.org/virtualbox/debian karmic non-free on the APT line field, and click on the Add Source button:

    Note

    If you're not using Ubuntu 9.10 Karmic Koala, then you'll need to change the APT line in the previous step. For example, if you're using Ubuntu 9.04 Jaunty Jackalope, replace the karmic part with jaunty. On the http://www.virtualbox.org/wiki/Linux_Downloads webpage, you'll find more information about installing VirtualBox on several Linux distributions and the APT line required for each Ubuntu distribution available.

  7. The third-party software source for VirtualBox will now show up on the list:

  8. Now open a terminal window (Applications | Accessories | Terminal), and type wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc to download the Sun public key:

  9. Go back to the Synaptic Manager, select the Authentication tab, and click on the Import Key File button:

  10. The Import Key dialog will appear next. Select the sun_vbox.asc file you just downloaded, and click on the OK button to continue:

  11. The Sun public key for VirtualBox should now appear on the list:

  12. You can now delete the Sun public key file you downloaded earlier. Click on the Close button to return to the Synaptic Package Manager. If the Repositories Changed dialog shows up, select the Never show this message again checkbox, and click on Close to continue.

  13. Now click on the Synaptic Package Manager's Reload button to update your package sources with the most recent VirtualBox version:

  14. Once the Synaptic Package Manager finishes updating the package sources list, click on the Origin button located at the lower-left part of the window and select the download.virtualbox.org/non-free repository from the window above this button:

  15. Click on the most recent virtualbox-3.X package checkbox in the right window, and select the Mark for Installation option:

    Tip

    When upgrading to a newer VirtualBox version, you must first completely remove the older version. Then you'll be able to install the newest version without any hassles.

  16. The Mark additional required changes? dialog box will appear next. Click on the Mark button to mark all the additional packages required to install VirtualBox:

  17. Now click on the Apply button in the Synaptic Package Manager:

  18. The Apply the following changes? dialog box will appear next. Make sure the Download package files only option is deselected, and click on the Apply button to start installing the required packages, along with VirtualBox:

  19. The Synaptic Package Manager will start downloading the required packages and, when finished, it will install them along with VirtualBox.

  20. Eventually, the Configuring virtualbox-3.X dialog will appear:

  21. Click on Forward to continue configuring VirtualBox. The configuration wizard will ask if you want to compile the vboxdrv kernel module. Make sure that option is selected, and click on Forward to continue:

  22. Wait until Debconf compiles the kernel module and finishes all the configuration procedure for VirtualBox. After that, the following dialog will appear:

  23. This means VirtualBox installed successfully. Click on the Close button to continue and close the Synaptic Package Manager.

  24. Open a terminal window, type sudo usermod -a -G vboxusers yourusername, and hit Enter to add your username to the vboxusers group. Don't forget to replace yourusername with your own username. Then type exit, and hit Enter again to close the terminal window.

  25. Logout from Ubuntu, and then log back in. Now you can access VirtualBox through the Ubuntu menu bar (Applications | System Tools | Sun VirtualBox):

  26. After opening VirtualBox for the first time, you'll see the VirtualBox License dialog. Scroll down to the end of the agreement, and then click on the I Agree button to continue.

  27. Next you'll see the VirtualBox Registration Dialog:

  28. If you already have a Sun account, just fill in your email and password, and click on the Register button to register your copy of VirtualBox. If this is the first time you're using a Sun product, select the I would like to register creating a new Sun Online account radio button, and fill in the required fields. Then click on Register. Once you register with Sun, you'll see a success dialog:

  29. Now click on the OK button to go to the VirtualBox main screen:

  30. You can close VirtualBox now.

What just happened?

Ok, ok… Installing VirtualBox on Linux is a little more elaborated process, but hey, I was behind you all the time, right? On Linux there are some additional things to consider when you're installing a software application like VirtualBox. I decided to show you how to use the Synaptic Package Manager because this wonderful piece of open source software takes care of all the complicated things that always come up when installing something in Linux.

On the first three steps of the previous exercise, you upgraded the Ubuntu packages list and then installed a couple of packages required by VirtualBox on a Linux installation. These packages prepare your system for building the external modules VirtualBox needs to operate virtual machines. The DKMS (Dynamic Kernel Module Support) package allows your system to build these modules dynamically, so you don't have to worry in case you upgrade your Ubuntu system. The build-essential package contains the gcc compiler and some other tools required to compile and build the kernel modules. The Synaptic Package Manager uses repositories scattered throughout Internet. To install VirtualBox, we had to add a specific repository called download.virtualbox.org/main because the standard Ubuntu installation only includes the virtualbox-ose package, the OSE (Open Source) version of VirtualBox. In this book we're going to work with the PUEL (Personal Use and Evaluation License) version of VirtualBox because it's free for personal/academic use or for product evaluation.

Basically, the PUEL version of VirtualBox has some features that aren't included in the OSE version:

  • USB support: You can insert USB devices on your host PC and use them in your virtual machines.

  • RDP (Remote Display Protocol) server: The PUEL version of VirtualBox includes a complete RDP server, so you can connect to remote virtual machines from any RDP compatible client.

  • USB over RDP: This means a virtual machine can access the USB devices connected to the remote computer on which the RDP client is running.

Finally, we also have to add the Sun public key because Synaptic won't be able to access the VirtualBox PUEL repository otherwise. After that, you just need to select the desired VirtualBox version, and Synaptic will take care of the rest for you.

Once you've installed VirtualBox on Linux, the process for creating and using virtual machines will be the same on any platform.

Have a go hero – experimenting with VirtualBox on Linux

If you have the ability and resources, would be a great idea to try VirtualBox on other Linux distros, but you need to make an extra effort because not every distribution uses the Synaptic Package Manager. But the VirtualBox website has some basic information on how to install VirtualBox on several Linux distros such as Debian, Fedora, Red Hat, or SuSE. The website provides several specific packages for some of the most popular Linux distributions and one general package for the rest of the Linux distros available. And remember you can always send me an email in case you get stuck!

Oh, and you can also start to browse around VirtualBox's user interface. Go on and experiment all you can and try to create a virtual machine by yourself!

Testing VirtualBox


Ok, you have VirtualBox installed and ready to go. Are we going to wait until Chapter 2 to start using this wonderful piece of software? Naah! Let's take it for a little test drive...

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


In this next exercise, you'll download Damn Small Linux, one of the smallest Linux distros currently available, and then I'll show you how to create a quick virtual machine on your brand new VirtualBox software in order to test it!

  1. Open your web browser, and type http://www.damnsmalllinux.org. The What is DSL? page will show up:

  2. Scroll down the page until you locate the Download link, or go to the http://www.damnsmalllinux.org/download.html page directly, and scroll down to the Current Full Mirror List section:

  3. Click on an HTTP link (in this case, I chose the second link, http://ibiblio.org/pub/Linux/distributions/damnsmall/) and then on the current link of the next page:

  4. On the next page, scroll down until you locate the dsl-4.4.10.iso, and click on it to start downloading the DSL ISO file:

  5. A dialog box will pop up, asking if you want to open or save the DSL ISO file. Click on Save to start downloading this file:

  6. Once the downloading process ends, open VirtualBox, and click on the New button to create a new virtual machine:

  7. The Welcome to the New Virtual Machine Wizard dialog will show up. Click on Next to continue:

  8. The VM Name and OS Type dialog will appear next. Type DSLTest in the Name field, select Linux as the Operating System and Debian as the Version, then click on Next to continue:

  9. Leave the default 256 MB value as the Base Memory Size in the Memory dialog, and click on Next to continue:

  10. Leave the default Create new hard disk option on the Virtual Hard Disk dialog. Make sure the Boot Hard Disk (Primary Master) option is selected, and click on Next to continue:

  11. Now the Welcome to the Create New Virtual Disk Wizard! dialog box will appear. Click on Next to continue, and leave the Dynamically expanding storage option selected as the Storage Type in the Hard Disk Storage Type dialog:

  12. In the next dialog (Virtual Disk Location and Size), leave the DSLTest and 8.00 GB default options for Location and Size, respectively, and click on Next to continue:

  13. Now the wizard will show you a Summary of all the parameters for the virtual disk of your virtual machine. Click on Finish to continue:

  14. The last dialog will show you a Summary of all the parameters selected for your new virtual machine. Click on Finish to continue:

  15. After creating the virtual machine, it will show up in VirtualBox's main screen:

  16. Now click on the Settings button to open the DSLTest - Settings dialog box. Select the CD/DVD-ROM category from the list on the left side, click on the Mount CD/DVD Drive checkbox, and then select the ISO Image File option:

  17. Next, click on the Invoke Virtual Media Manager button:

  18. The Virtual Media Manager dialog will appear. Click on the Add button to continue:

  19. The Select a CD/DVD-ROM disk image file dialog box will show up next. Navigate to the directory where you downloaded the dsl*.iso image, and click on the Open button to continue:

  20. Now the DSL ISO image will appear in the CD/DVD Images list of the Virtual Media Manager:

  21. Click on Select to return to the DSLTest – Settings dialog box, and then click on OK to return to VirtualBox's main screen.

  22. Click on the Start button to start your virtual machine. The VirtualBox – Information dialog box will show up to inform you that you need to use the Right-Ctrl key to alternate between using the keyboard in your virtual machine and your host PC. Select the Do not show this message again checkbox, and click on OK to continue:

  23. The DSL virtual machine will start to boot. Wait until a VirtualBox – Information dialog box appears to tell you that the virtual machine is using 16 bit color instead of 32 bit. Select the Do not show this message again checkbox, and click on OK to continue.

  24. Click inside the virtual machine's screen with your mouse, and another VirtualBox – Information dialog will show up to inform you that you need to use the Right-Ctrl key to alternate between using the mouse in your virtual machine and your host PC. Select the Do not show this message again checkbox, and click on Capture to continue.

  25. Wait for a few minutes for DSL to start booting up. When it is finished, the following screen will show up:

  26. Now you have created your first virtual machine!

What just happened?

Whew! I must admit that this was a lengthy exercise! Thanks to VirtualBox's user-friendly interface, you've just learned how to create this test virtual machine with one of Linux's smallest distros available: Damn Small Linux (DSL for short). In fact, it's so small, it doesn't even need a hard disk to work properly! I hope you had fun with this exercise, and don't worry about all the settings involved in creating a virtual machine; we'll have enough exercises to deal with them throughout the rest of the book!

For now, just concentrate on the virtual machine creation process as a whole: Click on the New button, select the operating system you want to use, assign a chunk of memory and hard disk space to your new virtual machine, and tell it where to boot an ISO image with the operating system of your choice, as if it were just another ordinary PC in your desk!

Have a go hero – creating more virtual machines

Now that you've created a test virtual machine, go on and download other Linux distributions, and try to create other virtual machines; experiment with different settings for RAM and hard disk space.

Note

Just remember to never assign more than half of your physical RAM to a virtual machine because your main PC could collapse!

We'll talk more about this later. For now, just keep experimenting with all the VirtualBox features you can! And if you have any questions, feel free to email the Packt team at !

Pop quiz – doing the thing

  1. What would be the best definition of a virtual machine?

    1. A physical PC connected to a LAN.

    2. A 'guest' machine running inside another 'host' machine.

    3. A computer with lots of RAM and hard disk space.

  2. You need to use MS Word to write a document, but the only available PC at the moment is running Linux. The best thing you can do is:

    1. Cry and pull your hair out in despair.

    2. Install VirtualBox on your Linux PC, create a Windows XP virtual machine, and install MS Word.

    3. Go out and buy a new Windows Vista PC with MS Word installed.

  3. Virtualization means…

    1. Sharing one physical PC between two or more virtual machines to maximize resource usage.

    2. To surf the web looking for new applications.

    3. Running two or more operating systems in one PC.

Summary


This chapter was a hands-on introduction to VirtualBox, the best virtualization software out there!

Specifically, we covered:

  • What virtualization is, and how we can use VirtualBox to run several virtual machines inside a physical host

  • How to install VirtualBox on Windows environments

  • How to install VirtualBox on Linux environments

  • How to create, configure, and run a test virtual machine

Now that you have VirtualBox installed and running, you're ready to delve into the VirtualBox world! In the following chapter, I'll show you how to create, configure, and run your own Ubuntu Linux virtual machine in any host operating system supported by VirtualBox!

Left arrow icon Right arrow icon

Key benefits

  • 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

Description

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 15, 2010
Length: 348 pages
Edition : 1st
Language : English
ISBN-13 : 9781847199140
Vendor :
Oracle
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. €18.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Apr 15, 2010
Length: 348 pages
Edition : 1st
Language : English
ISBN-13 : 9781847199140
Vendor :
Oracle
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 115.97
VirtualBox 3.1: Beginner's Guide
€41.99
Oracle VM Manager 2.1.2
€48.99
Artificial Intelligence and Machine Learning Fundamentals
€24.99
Total 115.97 Stars icon
Banner background image

Table of Contents

8 Chapters
Getting to Work with VirtualBox Chevron down icon Chevron up icon
Creating Your First Virtual Machine: Ubuntu Linux Chevron down icon Chevron up icon
Creating Your Second Virtual Machine: Windows 7 Chevron down icon Chevron up icon
Installing Guest Additions and Advanced Settings Chevron down icon Chevron up icon
Storing Data in VirtualBox Chevron down icon Chevron up icon
Networking with Virtual Machines Chevron down icon Chevron up icon
Using Virtual Appliances Chevron down icon Chevron up icon
Managing your Virtual Machines from a Remote Computer Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 25%
4 star 75%
3 star 0%
2 star 0%
1 star 0%
Greg Duncan Jul 04, 2010
Full star icon Full star icon Full star icon Full star icon Full star icon 5
OverviewThe book takes you from download to being productive with Sun's/Oracle's VirtualBox. Each chapter builds on the previous and not only walks you through each topic area step by step but also takes a step back and talks about "what just happened." (i.e. it's not a ton of simple screenshots and "click, click, click" instructions but also works to "teach you to fish")LikesOne of the things I liked about the book is used a number of techniques to engage the reader and to help get a chapter's point across. For example, an ongoing story/scenario was used to relate a chapter to something that might have, or will, happen to you "in the real world." This made the reading more engaging, applicable and much less dry. It also took you beyond what you might read online (via wiki's, VirtualBox doc's, etc).That was one of my questions when first getting the book. What will this teach me that I couldn't just look up online? How is the price of the book versus the tons of free online information?The problem is that the "tons of online information" is really "crud loads of data." It's up to the reader to turn it into "information" and then wisdom. This book jumpstarts your drive to VirtualBox wisdom, helping you better "know what you don't know."It's a Beginner's Guide, so you'll not walk away a VirtualBox Zen Master, but you WILL be on the path towards becoming one... (especially if you were like me and hadn't ever installed or used VirtualBox)ImprovementsWhat did I think could be improved? Well I live in a mostly Microsoft world... So I wish there had been a little more coverage there. For example, Microsoft makes a number of it's trial products available as VM's. I would have liked to see some guidance/help/information on taking an existing Virtual PC 2007/Windows Virtual PC/Hyper-V VHD and converting it VirtualBox. Also I'd have liked to see why VirtualBox is better than the Windows Virtual PC that I already have. Something simple, a side-by-side chart would do. Just something to help me get over the concern of having two VM systems in place on the same machine (Windows 7 Virtual PC and VirtualBox).What did I learn?So did I actually apply anything I read in the book? You bet! Just yesterday, I used this book to help me resolve an issue my son and I were having with a legacy game what wouldn't run well on Win7 x64 (nor in Windows Virtual PC). After reading this book and finally having my eyes opened to the capabilities of VirtualBox, it seemed well worth the effort to try to resolve this long standing issue.So I downloaded the latest version of VirtualBox and was able to very quickly, because I already had exposure to, and a basic understanding of from my reading, get a VM created, storage added, settings configured, tweaked and VM shared. In the end I was able to be a Tech Hero to my son because I was finally able to get the game he's wanted to play for months now working on his notebook. All because of this book (and VirtualBox)... I'll call that a win!Final ThoughtsIn the end, one thing to remember is the subtitle "Beginner's Guide"... It's not Level 400 material, but then again it's not supposed to be! It's a guide to take the VirtualBox uninitiated and get you working and productive with it with no fuss, muss or tears.Would I recommend a friend or coworker buy this book if they wanted to learn about VirtualBox (even if they lived in a mostly Microsoft world)? Oh yeah, no question about it. Matter of fact I AM going to be recommending it to a number of coworkers whom I know are VirtualBox users... ;)
Amazon Verified review Amazon
A. Hidayat Dec 25, 2010
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
If you ever wonder what VirtualBox is or want to use VirtualBox as your virtualization solution, this book is recommended for you!The book starts with a clear introduction and continues with hands-on, detailed step-by-step instructions on how to setup virtual machine running both Ubuntu Linux and Windows 7. The instructions are descriptive, easy to follow, and supported by a rich set of screen captures.It continues with two important aspects of virtualization: data handling and networking. Both guides come with exemplary examples which you would typically encounter in the real world. While the next chapters on appliance and remote management are probably not something what a VirtualBox beginner would need very soon, they are very handy and provide nice stepping stones towards becoming an expert.A very nice book!
Amazon Verified review Amazon
C. E. Jun 21, 2010
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The first thing I have to say about this book is that it is very detail oriented. It truly is a beginners guide. I'm positive I could give this book to my father and he'd be able to install, configure and run VirtualBox on Windows or Linux. It outlines, in step-by-step detail, everything you'd like to know about VirtualBox. Even though I consider myself a Virtualbox veteran, I followed along with some of the tutorials and was impressed that no detail was left out.One of the things that really stands out about this title is that it includes a huge number of screenshots. The number of screenshots in the book provide any beginner with the visual roadmap they need to complete the task at hand. It covers installing VirtualBox on both a Windows and Ubuntu host, as well as installing and configuring the reverse as guests. If you've never installed VirtualBox before, you'll have an installation up and running in just a few minutes.Beyond installation and configuration, this book goes into detail regarding the command line options (I learned quite a bit from this chapter!) as well. VirtualBox provides a full set of command line tools for starting, stopping, configuring, cloning and creating virtual machines. This makes it a perfectly reasonable candidate for a headless server virtualization solution!This book covers guest additions, disk and image creation and management, all networking options and how they differ, using and creating virtual appliances, using snapshots and even remote management. It really is a good resource for getting started with Virtualization. I'm glad to have a copy of this book in my collection.The sections that were the most useful for me were the networking and command line chapters. I was not familiar with any of the command line tools, and the networking was a little blurry for me. Before getting a copy of this book I was unfamiliar with virtualized networking beyond NAT and Bridged. This book went into enough networking detail that I'm very comfortable with each of the networking options and in what situations each might apply. This will really boost my efficiency and productivity with VirtualBox.For anyone wanting to learn more about virtualization or doing research into cost-effective virtual environment solutions, I would highly recommend VirtualBox 3.1 Beginner's Guide.
Amazon Verified review Amazon
maguay Jul 05, 2010
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
If you're just getting started with desktop virtualization and would like a step-by-step guide to get started, this book may be a great resource for you. It helps you learn by doing, with instructions and screenshots showing you how to do everything from creating your first virtual machine to reverting to a snapshot to remove unwanted changes. More advanced users may already know most of what this book covers, so again, the title is correct; this book is aimed at beginners. That said, if you've been using virtualization but would like to dig a little deeper, look around the "Look Inside" copy above to see if it covers stuff you'd like to learn.Please note: I read the PDF ebook version of this book available directly from the publisher, but the contents are the same as this version. Unfortunately, there's not a Kindle version avilable, but you can always get this PDF version if you'd rather read the book on your computer or eReader device (and save a little money).For more info, check out my full review at [...].
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.