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 – creating and accessing a shared folder on your Ubuntu headless server


Ok, first you'll create a shared folder between your Ubuntu headless server and your virtual machine. Then you'll use the FileZilla FTP client to access that shared folder from your Windows XP desktop.

  1. Go to the Ubuntu server PuTTY terminal window, and type the following lines to create the shared folder in your Ubuntu headless server (don't forget to press Enter after each line):

    mkdir mysharedVBoxManage sharedfolder add "UbuntuVB" --name "myshared"  --hostpath "/home/aromero/myshared
  2. Now type VBoxHeadless --startvm "UbuntuVB" and hit Enter to start your remote virtual machine; then open the Remote Desktop viewer, connect to your Ubuntu remote virtual machine, and log into it.

  3. Once you are inside Ubuntu's desktop, open a terminal window (Applications | Accessories | Terminal), and type the following lines to create the folder you want to share in your remote VM (don't forget to press Enter after each line...