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 – enabling audio on your remote virtual machine


In this exercise, I'll show you how to enable audio on your Ubuntu remote virtual machine via the VBoxManage interface.

  1. Go to the Ubuntu server PuTTY terminal window, type VBoxManage modifyvm "UbuntuVB" --audio oss --audiocontroller ac97, and press Enter. VirtualBox will respond with the copyright notice to indicate that the command was successful.

  2. Now type VBoxHeadless --startvm "UbuntuVB" followed by Enter to start your Ubuntu virtual machine, and open the Remote Desktop viewer to connect to your remote VM. Log into Ubuntu, and you will hear the intro sound. Once the desktop shows up, select Applications | Sound & Video | Rhythmbox Music Player from the main menu to open up the music player included in Ubuntu.

  3. Once the Music Player window appears, select the Radio option under the Library panel, and double-click on a radio station from the right panel to start hearing some music:

  4. Cool, huh? Now you have sound enabled in...