Sie sind auf Seite 1von 10

VMware Basics

and Introduction
I

Information Management Cloud Computing Center of Competence

IBM Canada Lab

1
Contents

1. VMWARE BASICS AND INTRODUCTION...................................................2


2. HOW TO OBTAIN VMWARE SOFTWARE? ................................................3
3. UNPACKING THE IMAGE ............................................................................4
4. USING THE VMWARE VIRTUAL MACHINE................................................4
4.1 OPEN THE VIRTUAL MACHINE IN VMWARE ..................................................4
4.2 START THE VIRTUAL MACHINE....................................................................5
4.3 LOGIN TO THE VIRTUAL MACHINE AND ACCEPT THE LICENSE AGREEMENT .....6
4.4 START THE GRAPHICAL USER INTERFACE ...................................................6
4.5 OPEN THE TERMINAL WINDOW ...................................................................7
4.6 CLOSE THE TERMINAL WINDOW .................................................................8

1. VMware Basics and Introduction


The VMware Player and VMware Workstation are the synonym for test beds and
developer environments across the IT industry. While having many other functions for
this specific purpose it allows the easy distribution of an up and running Linux
system featuring latest DB2 9.7 and WebSphere Application Server technology right
to anybodys computer be it a notebook, desktop, or server.
The VMware image can be deployed for simple demos and educational purposes or it
can be the base of your own development and experiments on top of the given
environment.

What is a VMware image?

VMware is providing a virtual computer environment on top of existing operating systems


on top of Intel or AMD processor based systems. The virtual computer has all the
usual components like a CPU, memory and disks as well as network, USB devices or
even sound. The CPU and memory are simply the existing resources provided by the
underlying operating system (you can see them as processes starting with vmware..
The disks are different. For the host operating systems they show up as a collection of
files that can be copied between any system even between Windows and Linux
flavors. Those virtual disk files make up the most part of the image while the actual
description file of the virtual machine is very small.

The following will illustrate how to obtain VMware Player. Then, it will show you how to
start the VMware image for the Hands-On Labs used in this technical session.

2
2. How to obtain VMware Software?
Open a web browser and visit www.vmware.com
Click on the Downloads link. Look for the Downloads link on the upper right hand corner
of the page.

Click on the Desktop Downloads Tab.

Click on the product of your choice. We recommend VMware Player or VMware


Workstation. Follow the on screen instructions for registration and download.

3
3. Unpacking the image

The image is delivered in a self-extractable set of rar files. For easy handling the files are
compressed to 700MB volumes. Download all the volumes to the same directory.

Double click the executable file and select the destination folder.

4. Using the VMware Virtual Machine

4.1 Open the Virtual Machine in VMware


Starting the VMware virtual machine can happen through either way:
Double click on the file DB2 Express-C 9.7 32-bit.vmx in your Windows
Explorer or Linux file browser.

Or:

Select it through the File > Open icon in the VMware console.

Either way should result in the screen below:

4
4.2 Start the Virtual Machine
Next the image can be booted up by pressing the Power On button in the upper
left side (marked in a red circle above).

The system will power up like any other Linux system and will come to the state as
shown in the next picture below:

After the virtual machine has finished booting up, you can now work inside the virtual
machine environment. To bring focus into the virtual machine environment, click inside
the virtual machine screen with your mouse or click on the Full Screen button in
the toolbar on top of the VMware window.

5
After clicking on the screen, you may not see your mouse pointer anymore, this is
normal as you are now operating in a command line mode inside the virtual machine.
You can bring focus to the host operating system at any point by pressing Alt + Ctrl at
the same time.

4.3 Login to the Virtual Machine and Accept the


License Agreement

At this time, simply logon to the virtual machine at the command prompt with user
db2inst1 and password password.

You will see some pop-up messages asking you to read and accept the license
agreement.

In order to use this image, you must accept all of the listed agreements and notices that
were displayed. Select I accept to go to the next screen. If you do not agree with the
license, select Abort and the virtual machine will be shutdown automatically.

You will be successfully login and presented with a login prompt:

db2inst1@db2rules:~>

4.4 Start the Graphical User Interface


The virtual machine is capable of running in graphical mode as well. The default setup is
configured for a 1024x768 pixel screen that provides good results for any given system
today. Finer resolutions are possible but are not recommended since the text gets very
small.

6
The system comes up with the following screen still in the window of the VMware
console and probably is showing scroll bars on the sides. Select the Full Screen
button on the console to switch to full screen mode any time the result is
significantly better. If you want to leaving the full screen mode, just press the
combination Alt + Ctrl + Enter at the same time.

The full screen mode looks as follows:

4.5 Open the Terminal Window


In order to execute commands, we will use the Command Line Terminal. To launch the
terminal window, press the menu at the bottom left corner of the screen,

and select .

7
A terminal window similar to the above will pop up after you click on the icon.

The terminal gives you a command line prompt and allows you to execute any
commands using this prompt.

4.6 Close the Terminal Window


To close the terminal window, simple click on the X button on the top right hand corner
of the terminal window, or type exit at the command prompt to exit out of the logged-in
terminal. (Note, it might take multiple exit commands to logout of all logged-in sessions
and close the terminal window if you have remote login or you are logged into a different
user from this terminal window).

8
This ends this short introduction.

9
Copyright IBM Corporation 2010
All Rights Reserved.

IBM Canada
8200 Warden Avenue
Markham, ON
L6G 1C7
Canada

Printed in Canada
07/07/2010

IBM, IBM (logo), and DB2 are trademarks or registered trademarks Information concerning non-IBM products was obtained from the
of International Business Machines Corporation in the United suppliers of those products, their published announcements or
States, other countries, or both. other publicly available sources. IBM has not tested those products
and cannot confirm the accuracy of performance, compatibility or
Linux is a trademark of Linus Torvalds in the United States, other any other claims related to non-IBM products. Questions on the
countries, or both. capabilities of non-IBM products should be addressed to the
suppliers of those products.
Windows is a trademark of Microsoft Corporation in the United
States, other countries, or both. The information in this publication is provided AS IS without
warranty. Such information was obtained from publicly available
VMware is a trademark or VMware Inc. in the United States, other sources, is current as of July 2010, and is subject to change. Any
countries, or both. performance data included in the paper was obtained in the specific
operating environment and is provided as an illustration.
Other company, product, or service names may be trademarks or Performance in other operating environments may vary. More
service marks of others. specific information about the capabilities of products described
should be obtained from the suppliers of those products.
References in this publication to IBM products or services do not
imply that IBM intends to make them available in all countries in
which IBM operates. The following paragraph does not apply to the
United Kingdom or any other country where such provisions are
inconsistent with local law:

INTERNATIONAL BUSINESS MACHINES CORPORATION


PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-
INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.

Some states do not allow disclaimer of express or implied


warranties in certain transactions, therefore, this statement may not
apply to you.

This information could include technical inaccuracies or


typographical errors. Changes are periodically made to the
information herein; these changes will be incorporated in new
editions of the publication. IBM may make improvements and/or
changes in the product(s) and/or the program(s) described in this
publication at any time without notice.

Any performance data contained herein was determined in a


controlled environment. Therefore, the results obtained in other
operating environments may vary significantly. Some
measurements may have been made on development-level
systems and there is no guarantee that these measurements will be
the same on generally available systems. Furthermore, some
measurement may have been estimated through extrapolation.
Actual results may vary. Users of this document should verify the
applicable data for their specific environment.

10

Das könnte Ihnen auch gefallen