O'Reilly logo

Cloud Computing by James F. Ransome, John W. Rittinghouse

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

261
Appendix A
Virtualization Practicum
(Linux)
A.1 Overview
In this practicum, we will once again use the Sun VirtualBox product that
you downloaded in Chapter 4. This time, we will show you how to install
and configure it using a Linux-based .vdi operating system. Figure A.1
shows the Sun operating system named OpenSolaris running on top of
Windows XP via VirtualBox. In this appendix, we will walk you through
setting up a similar environment.
We will begin by starting the Sun xVM VirtualBox product. You may
remember that for Microsoft Windows-based systems, the installer created a
group called VirtualBox in the Programs folder of the Start Menu, which
Figure A.1 OpenSolaris running on top of Windows via VirtualBox.
Appendix A.fm Page 261 Tuesday, May 26, 2009 2:08 PM
262 Cloud Computing
allows you to launch the application and access its documentation. Figure
A.2 shows what the opening screen looks like after you have started Virtual-
Box. If you have already installed the FreeDOS product as described in
Chapter 4, your opening screen may look slightly different.
A.2 Adding a Linux-Based Guest Operating System to
VirtualBox
As we pointed out in Chapter 4, VirtualBox allows you to run guest operat-
ing systems using its own virtual computer system, which is why it is called
a
virtual machine
(VM). The operating system (OS) we will be working
with is Sun Microsystems OpenSolaris, which is an open source product
most often distributed under an approved open source license. The version
of OpenSolaris we will be using in this practicum is OpenSolaris 2008.11,
which offers technical support from Sun Microsystems. This release
includes a network-based package management system, the GNOME desk-
top, and LiveCD technology supported on AMD64, Pentium, and Xeon
Figure A.2 VirtualBox opening screen.
Appendix A.fm Page 262 Tuesday, May 26, 2009 2:08 PM
Appendix A 263
EM64T platforms. More information on OpenSolaris can be found at
http://opensolaris.org.
A.3 Downloading OpenSolaris as a Guest Operating
System
In order to add OpenSolaris to our host machine as a guest OS, we must
first download it from the Internet. Minimize the VirtualBox application
for now and open a web browser. Go to the site
http://virtualbox.wordpress.com/images
Once your browser has brought up the site, your screen should look
similar to Figure A.3. You will see a list of virtual operating systems, with
the sponsoring web site for each OS shown in parentheses.
Toward the bottom of the page you will find the entry for Indiana
under the GNU/OpenSolaris heading. You should go to the web site for
each operating system in which you are interested, and check it out before
downloading a file.
Figure A.3 VirtualBox Images page.
Appendix A.fm Page 263 Tuesday, May 26, 2009 2:08 PM
264 Cloud Computing
Click on the
Indiana
entry to start the download process. When you
click on any of the operating system links, you will be taken to that system’s
download page. There you will be given the choice of which architecture
(32-bit or 64-bit) you want to install. For almost every operating system dis-
played on this page, it is important to
write down the passwords for root user
and default user
. An example of what you will see is shown in Figure A.4.
Next, click the link to download the image (in our case, link 2 in Figure
A.4) and save it to a location you will remember—later in this practicum
you will need to unzip this file and extract the images. We recommend that
you save the files on a drive with plenty of space available, since it will take
up at least 650 megabytes just to save the file.
A.4 Using the 7-Zip Archive Tool
Next, we will need to use the open source product named 7-zip (which works
on both Linux and Windows platforms), which we downloaded in Chapter 4.
If you have removed it, it can be obtained again from this location:
http://www.7-zip.org/download.html
Once the download is complete, perform the following steps
in order:
1. Pick a drive with plenty of spare room on it and locate (or create)
the folder named VirtualGuests.
Figure A.4 OpenSolaris image options.
Appendix A.fm Page 264 Tuesday, May 26, 2009 2:08 PM

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required