190 likes | 276 Views
Virtualization and Open source Software. Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9 th , 21 st , 22 nd March, 2011. Content. Introduction to virtualization Experience sharing in computer subject and IT management Installation and configure of VM
E N D
VirtualizationandOpen source Software Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9th , 21st , 22nd March, 2011
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
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
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)
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
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.
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/licensing/
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
Four Common Desktop Virtualization products Sun - Virtual Box (http://www.virtualbox.org/) Host OS: Windows, Linux, Mac Generation of new VM. Configuration of VM.
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)
Suggested Hardware CPU: P4 or above RAM: 1G or above HardDisk space: 5GB or above Preferred NTFS.
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
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
VM hardware 1 Configuration Menu Status Bar
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)
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) host computer VM1 VM2 host computer VM1 VM2
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 devices Then disconnect / Remove.
Run VM in USB drive Practice 2: Generation of VM - Using a 3rd party tool http://www.easyvmx.com/new-easyvmx.shtml
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)