Вы находитесь на странице: 1из 25

VIRTUALIZATION

BY: JUSIL GAITE ANNA MARIES MAAOL CAMILLE ERIKA SARIO EDLYN BAUTISTA RHAY NIEL TACUD

VIRTUALIZATION
Part I: Installation of VMware Player
VMware Player is a free utility for running VMware Virtual Machines (VMs). It can run one VM at a time. If you have VMware Workstation on a PC or VMware Fusion on a Mac, you can also create VMs and run multiple VMs at the same time. There are VMware Player versions for both Linux and Windows, and you can easily download them. Here I explain how to set up VMware Player on a Windows PC using a copy of VMware Player I have downloaded. Note that you should not install VMware Player if you already have VMware Workstation or VMware Fusion installed on your computer. Steps: 1. If you have installed VMware Player versions earlier than version 5.0, uninstall it and reboot your PC. If your PC refuses to run VMware Player V5.0 you can use earlier versions of it. 2. Create a folder in your root directory (C:\). Name it VM. 3. Using a Web Browser, e.g. Mozilla Firefox, visit http://www.softpedia.com/get/System/OSEnhancements/VMware-Player.shtml to get the latest VMware Player version. Click Download and on the next page you can select your download location (encircled in red).

4. Download and Save the file VMware-player-5.0.2-xxxxxxx.exe in the folder you created in Step 2.

5. When finished downloading, locate the downloaded VMware Installer and Double Click it. You will be guided by the installation wizard of VMware Player.

6. After VMware Player installation, reboot your PC. 7. On your desktop, double click VMware Player to start it. Youll see a window like the this:

8. Click on Player > File > Player Preferences. Guided by the screenshot below.

1
2

9. In the Player Preferences window, uncheck for software updates, and click on the Download All Components Now button so you can later install VMware Tools in your new VMs without Internet access.

10. After downloading and installing the necessary components, click OK button to close the Preferences window. 11. We have just finished configuring VMware Player. You can now close the application.

Part II: Booting up a Linux Virtual Machine We will be using Ubuntu to be our Linux Virtual Machine. Make sure that you have at least 20GB (Recommended) disk space for the Installation.
Steps: 1. Using a Web Browser, e.g. Mozilla Firefox, visit http://www.ubuntu.com/download/desktop to get the latest Ubuntu version. Scroll down and choose For the latest features On its right side you will asked to choose between the 32 bit and 64 bit version, choose the one that is right for you and click the button below it.

2. Lets download it for free. So on the next page, scroll down to the lower part of the page and choose Not now, take me to the download

3. Download and Save the file ubuntu-13.04-desktop-amd64.iso for the 64bit or ubuntu13.04-desktop-i386.iso for 32bit in the folder you created in

4. Once download is finished. Open again you VMware Player. Click on Player > File > New Virtual Machine

5. The New Virtual Machine Wizard will open. Click Browse and locate your downloaded Ubuntu ISO file and Click OK.

6. Click Next. Personalize your Linux by entering your Name, Username and your Password that youll use in logging into Ubuntu.

7. Click Next. You can choose to rename you Virtual Machine or leave it as it is. Click Browse to change if you want to change the location of your Virtual Machine.

8. Click Next. Specify the Disk capacity that your Virtual Machine will use. It is recommended to use 20GB but you can shrink it down to 10BG if you want. Then choose Store virtual disk as a single file.

9. Click Next. You can click Customize Hardware Button to change some hardware settings or just click Finish to run your VM and start the Ubuntu installation.

10. The Virtual Machine will start and proceed to the Ubuntu VM installation. Internet connection is needed during installation. Installation will take some time. Be patient.

11. Once installation is done. It will take you to the login screen and enter your password.

12. Thats it. Heres your Ubuntu desktop We have successfully created our Ubuntu Virtual Machine.

Part III: Basic Linux Commands


We will learn some basic Linux commands 1. To open the Terminal window, click the button with the Ubuntu logo. On the Search bar enter terminal

Enter terminal

2. It opens a Linux command prompt:

3. Lets try some of the basic Linux commands:

Action
1. 2. 3. 4. 5. Change working folder to Documents Go back to home folder Find current path List files List all files with properties

Command
cd Documents or cd ~/Documents/ cd pwd ls ls -alg

Output:

1 2 3 4 5

Before proceeding, create 2 new document in your file manager namely old and test.txt. Click the File Cabinet icon on your dock. A window will appear. Right Click and select New Document > Empty Document. Rename it to old . Do the same with the file test.txt

Action
6. Copy file or folder old to new 7. Move or rename file or folder old to newer 8. Edit file test.txt 9. Browse contents of file test.txt 10. Delete file test.txt 11. Create folder test 12. Delete folder test (no question) cp old new mv old newer gedit test.txt more test.txt rm test.txt mkdir test rm -rf test

Command

9 10

test.txt file removed

11

12

folder removed

Action
13. Make new not writable by everyone 14. Make new writable by everyone 15. Download a web file at http://url to the current folder 16. Find computers IP address 17. Clear terminal screen

Command
chmod a-w new chmod a+w new wget http://url ifconfig clear

13

Locked

14

Unlocked

15

17

16