module i virtualization

Upload: jusil-t-gaite

Post on 14-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Module I Virtualization

    1/25

    VIRTUALIZATION

    BY:

    JUSIL GAITE

    ANNA MARIES MAAOL

    CAMILLE ERIKA SARIO

    EDLYN BAUTISTA

    RHAY NIEL TACUD

  • 7/27/2019 Module I Virtualization

    2/25

    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/OS-

    Enhancements/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).

    http://www.softpedia.com/get/System/OS-Enhancements/VMware-Player.shtmlhttp://www.softpedia.com/get/System/OS-Enhancements/VMware-Player.shtmlhttp://www.softpedia.com/get/System/OS-Enhancements/VMware-Player.shtmlhttp://www.softpedia.com/get/System/OS-Enhancements/VMware-Player.shtmlhttp://www.softpedia.com/get/System/OS-Enhancements/VMware-Player.shtml
  • 7/27/2019 Module I Virtualization

    3/25

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

    Step 2.

  • 7/27/2019 Module I Virtualization

    4/25

    5. When finished downloading, locate the downloaded VMware Installer and Double Click it.

    You will be guided by the installation wizard of VMware Player.

  • 7/27/2019 Module I Virtualization

    5/25

    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:

  • 7/27/2019 Module I Virtualization

    6/25

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

    1

    2

    3

  • 7/27/2019 Module I Virtualization

    7/25

    9. In the Player Preferences window, uncheck for software updates, and click on the

    Download AllComponents Now button so you can later install VMware Tools in your new

    VMs without Internet access.

  • 7/27/2019 Module I Virtualization

    8/25

    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, visithttp://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.

    http://www.ubuntu.com/download/desktophttp://www.ubuntu.com/download/desktophttp://www.ubuntu.com/download/desktophttp://www.ubuntu.com/download/desktop
  • 7/27/2019 Module I Virtualization

    9/25

    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

  • 7/27/2019 Module I Virtualization

    10/25

    3. Download and Save the file ubuntu-13.04-desktop-amd64.iso for the 64bit or ubuntu-

    13.04-desktop-i386.iso for 32bit in the folder you created in

  • 7/27/2019 Module I Virtualization

    11/25

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

    Virtual Machine

    1

    2 3

  • 7/27/2019 Module I Virtualization

    12/25

    5. The New Virtual Machine Wizard will open. Click Browse and locate your downloaded

    Ubuntu ISO file and Click OK.

  • 7/27/2019 Module I Virtualization

    13/25

    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.

  • 7/27/2019 Module I Virtualization

    14/25

    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.

  • 7/27/2019 Module I Virtualization

    15/25

  • 7/27/2019 Module I Virtualization

    16/25

    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.

  • 7/27/2019 Module I Virtualization

    17/25

    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.

  • 7/27/2019 Module I Virtualization

    18/25

    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

    2. It opens a Linux command prompt:

    Enterterminal

  • 7/27/2019 Module I Virtualization

    19/25

    3. Lets try some of the basic Linux commands:

    Action Command

    1. Change working folder to Documents cd Documents or cd ~/Documents/

    2. Go back to home folder cd

    3. Find current path pwd4. List files ls

    5. List all files with properties ls -alg

    Output:

    123

    4

    5

  • 7/27/2019 Module I Virtualization

    20/25

    Before proceeding, create 2 new document in your file manager namely old andtest.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 filetest.txt

  • 7/27/2019 Module I Virtualization

    21/25

    Action Command

    6. Copy file or folder old to new cp old new

    7. Move or rename file or folder old to newer mv old newer

    8. Edit file test.txt gedit test.txt

    9. Browse contents of file test.txt more test.txt

    10. Delete file test.txt rm test.txt11. Create folder test mkdir test12. Delete folder test (no question) rm -rf test

    6

    7

  • 7/27/2019 Module I Virtualization

    22/25

    8

    9

    10

    test.txt

    file

    removed

  • 7/27/2019 Module I Virtualization

    23/25

    11

    12

    folder removed

  • 7/27/2019 Module I Virtualization

    24/25

    Action Command

    13. Make new not writable by everyone chmod a-w new

    14. Make new writable by everyone chmod a+w new

    15. Download a web file at http://url to the current folder wget http://url

    16. Find computers IP address ifconfig

    17. Clear terminal screen clear

    Locked

    Unlocked

    13

    14

  • 7/27/2019 Module I Virtualization

    25/25

    17

    15

    16