Virtualization and Open source Software
description
Transcript of Virtualization and Open source Software
![Page 1: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/1.jpg)
Virtualizationand
Open source Software
Mr. Lau Ka Lun – Lai King Catholic Secondary School
Date: 9th , 21st , 22nd March, 2011
![Page 2: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/2.jpg)
2
Content
Introduction to virtualization
Experience sharing in computer subject and IT management
Installation and configure of VM
Using open source in VM in computer subject
Server side application
![Page 3: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/3.jpg)
3
Ways of using Open source/freeware
Windows based Portable apps (http://portableapps.com/)
Linux Based Multi-boot using Wubi (http://www.ubuntu.com/desktop/get-
ubuntu/windows-installer)
Multi-boot using different partition USB bootable Linux (U-thinker Project)
Running Linux in Windows AndLinux (http://www.andlinux.org/) Virtualization
![Page 4: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/4.jpg)
4
Virtualization (From wikipedia)
Allows a single host computer to create and run one or more virtual envirnoments.
Virtualisation software is most often used to emulate a complete system in order to allow a guest OS to be run.
(http://en.wikipedia.org/wiki/Category:Virtualization_software)
![Page 5: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/5.jpg)
5
Benefits of using VM in computer subject
No ”extra” computer needed. Better hardware utilization. Several VM can be set up in a new PC.
The Guest OS is independent of Host OS. Suitable for access ”Dangerous site”
”Easier” to back up.
Faster installation.
Predictable Hardware behavior
![Page 6: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/6.jpg)
6
Usage of Virtualization in Computer subjects
A platform to use of Linux based open source software.
Students can install and config OS using the Virtual machine.
Network Experiment can be done with several Virtual machines.
Practice of Configuration of server become easier.
Stored VM in USB drive for homework.
![Page 7: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/7.jpg)
7
VM used in workshop
Hosted OS: Windows XP
Guest OS (VM): Ubuntu 10.10 Desktop, Ubuntu 10.10 Server (LAMP) Difference between Desktop and Server version
Beware of Licence issue of VM (guest OS) Microsoft licensing http://www.microsoft.com/licensin
g/
![Page 8: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/8.jpg)
8
Four Common Desktop Virtualization products
Xen (http://www.xen.org/) Host OS: Linux
Microsoft Virtual PC (http://www.microsoft.com/windows/virtual-pc/)
Host OS must be Windows
Support Limited distribution of Linux
Suitable for use of Trial VM downloaded from Microsoft
![Page 9: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/9.jpg)
9
Four Common Desktop Virtualization products
Sun - Virtual Box (http://www.virtualbox.org/)
Host OS: Windows, Linux, Mac
Generation of new VM.
Configuration of VM.
![Page 10: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/10.jpg)
10
Four Common Desktop Virtualization products
VM Ware (http://www.vmware.com/)
Virtual appliances (http://www.vmware.com/appliances/) on the web. Host OS: Linux, Windows, Linux, Mac. VMware player (Freeware)
Limited configuration options VMware workstation.(30 days trial) It includes
Vmware player Virtual Network Editor VMware Workstation License numbers (30 days)
![Page 11: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/11.jpg)
11
Suggested Hardware
CPU: P4 or above
RAM: 1G or above
HardDisk space: 5GB or above
Preferred NTFS.
![Page 12: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/12.jpg)
12
Generation of VM
VMware workstation Use the software to generate a new VM
VMWare player Go to http://www.easyvmx.com/new-easyvmx.shtml
Generate a configuration file
Practice 1 Preparation – download & install VMWare player
![Page 13: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/13.jpg)
13
Switch between VM and Host
Direct Input to VM Click the VM's window
Press CTRL-G
To return to Host computer Move the Mouse outside the VM's window
Press Ctrl-Alt
![Page 14: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/14.jpg)
14
VM hardware 1
Configuration Menu
Status Bar
![Page 15: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/15.jpg)
15
VM hardware 2
Harddisk 8GB for the VM in workshop
CD: iso or physical drive Connect to Physical CD. It willl disconnect from Host
Connect to Disk Image file (iso)
Floppy Disk Connect to physical drive
Connect to Disk Image File (flp)
![Page 16: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/16.jpg)
16
VM hardware 3
Network adapter Bridged
VM obtain an IP in the subnet of the host
NAT (VM config in Workshop)The host computer act as NAT
Host only (No external connection)
VM1 VM2
hostcomputer
VM1
VM2
hostcomputer
![Page 17: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/17.jpg)
17
VM hardware 4
Sound Card
USB devices: When VM connected to a USB devices. It will disconnect from host.
For USB devices, DVD/CD, floppy. umount ( 卸載檔案系統 ) the devi
ces
Then disconnect / Remove.
![Page 18: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/18.jpg)
18
Run VM in USB drive
Practice 2: Generation of VM
- Using a 3rd party tool
http://www.easyvmx.com/new-easyvmx.shtml
![Page 19: Virtualization and Open source Software](https://reader035.fdocuments.in/reader035/viewer/2022062221/5681470f550346895db44696/html5/thumbnails/19.jpg)
Hand-on practice
Hand-on practice 3:
Install a virtual appliance (Ubuntu 10.1 Server)
Hand-on practice 4:
Install a virtual appliance (Ubuntu 10.1 Deskstop)