VMware: Difference between revisions
| (134 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>[[Category:Virtual machine or platform emulator]]</noinclude> | |||
[[wikipedia:VMware|VMware]] (Workstation, Player, Server) is a commercial virtualization system that emulates hardware resources allowing one computer to host a number of x86 architecture-compatible operating systems. The Player and Server versions are distributed free of charge (gratis). It runs on either Win32 or Linux host machines, allowing one to run Sugar images within the virtual machine. A Mac version is also available, | [[wikipedia:VMware|'''VMware''']] (Workstation, Player, Server) is a commercial, "non-free", virtualization system that emulates hardware resources allowing one computer to host a number of x86 architecture-compatible operating systems. The Player and Server versions are distributed free of charge (gratis). It runs on either Win32 or Linux host machines, allowing one to run Sugar images within the virtual machine. A Mac version is also available, VMware Fusion, however this is not provided free of charge. A free, 30-day evaluation is available, and free licenses are [http://www.vmware.com/partners/academic/ available] for academic instruction and research use. | ||
Software applications, such as the Sugar platform, may be deployed as VMware Virtual Appliances, which are | Software applications, such as the Sugar platform, may be deployed as VMware Virtual Appliances, which are one or more virtual machines pre-built, packaged, installed, updated, maintained, and managed as a unit. | ||
==Appliance files== | |||
See '''[[Emulator image files]]'''. | |||
=====[http://www.easyvmx.com/easyvmx.shtml EasyVMX!] (build your own VMware virtual machine for VMware Player)===== | |||
: Lets you bypass the requirement to have a copy of VMware Workstation to create your own VMware Player appliance from a burned CD of a live .iso | |||
:: Free website to download a custom .vmx file to use with your CD Drive | |||
:: (You must have the free application, VMware Player installed to use it.) | |||
* Web Page:-[http://www.easyvmx.com/easyvmx.shtml] Info:[http://www.virtualization.info/2005/12/guide-to-create-vmx-files-for-vmware.html] | |||
*openSUSE-edu: | |||
:'''NEW''' : [[OpenSUSE#openSUSE_12.2-sugar_0.96.2]] --[[User:Satellit|Satellit]] 08:07, 10 September 2012 (EDT) | |||
:Old : http://sourceforge.net/projects/opensuse-edu/files/Sugar/ | |||
==Building a virtual appliance== | ==Building a virtual appliance== | ||
===from a live.iso file (No | ====from a live.iso file (No persistence)==== | ||
This appliance runs just like a bootable CD—it has no data persistence—the system image is treated as a read-only file. (You are running the .iso image with VMware Player.) The appliance file size is only slightly larger than the .iso file. | |||
* Make a new Appliance in VMware Workstation ([http://www.vmware.com/products/ws/ 30-day, free evaluation license]) with (minimal) hard disk. | * Make a new Appliance in VMware Workstation ([http://www.vmware.com/products/ws/ 30-day, free evaluation license]) with (minimal) hard disk. | ||
* Set XXX-live.iso as CD in VMware Workstation with a 0.1 GB hard disk. | * Set XXX-live.iso as CD in VMware Workstation with a 0.1 GB hard disk. | ||
* Boot and run VMware Workstation, then shut down. | * Boot and run VMware Workstation, then shut down. | ||
* Copy contents of the new Appliance in the VMware directory a [[wikipedia:USB flash drive|USB flash drive]]. | * Copy contents of the new Appliance in the VMware directory to a [[wikipedia:USB flash drive|USB flash drive]]. | ||
* Copy XXX-live.iso file to the same USB drive. | * Copy XXX-live.iso file to the same USB drive. | ||
* Open this copied Appliance on the USB drive with VMware Workstation, and edit the location of the live.iso file to point to one on the USB stick, then close it. | * Open this copied Appliance on the USB drive with VMware Workstation, and edit the location of the live.iso file to point to one on the USB stick, then close it. | ||
* Start VMware Player ([http://www.vmware.com/products/player/ free downwload]) and open this Appliance from the USB drive, or ''any other VMware Player on any PC''. | * Start VMware Player ([http://www.vmware.com/products/player/ free downwload]) and open this Appliance from the USB drive, or ''any other VMware Player on any PC''. | ||
'''Boot this Appliance from a USB boot drive/stick (see below)''' | '''Boot this Appliance from a USB boot drive/stick (see below)''' | ||
| Line 20: | Line 36: | ||
* Run Sugar on unbootable PC's using a VMware Player application | * Run Sugar on unbootable PC's using a VMware Player application | ||
===Appliances with | ====Appliances with persistence==== | ||
* VMware Workstation 6.5.2 with Fedora-11-i386-netinst.iso | * VMware Workstation 6.5.2 with Fedora-11-i386-netinst.iso | ||
http://mirrors.fedoraproject.org/publiclist/Fedora/11/i386/ | http://mirrors.fedoraproject.org/publiclist/Fedora/11/i386/ | ||
Fedora 11 DVD does not include Sugar Desktop | Fedora 11 DVD does not include Sugar Desktop | ||
* Settings for VMware Workstation: | * Settings for VMware Workstation: | ||
| Line 52: | Line 67: | ||
:# shutdown -h now | :# shutdown -h now | ||
===Alternatives=== | ====Alternatives==== | ||
* Fedora | * Fedora-edu spin-(latest versions of F12(rawhide) Gnome & Sugar) [http://spins.fedoraproject.org/edu/] | ||
* SUSE Sugar Spin:( | (enter liveinst in terminal to install to VMworkstation disks or USB) | ||
===Comments=== | * SUSE Sugar Spin: [[Talk:VMware#openSUSE]] | ||
* Run on | * EasyVMX! (build your own VMware virtual machine for VMware Player)-[http://www.easyvmx.com/easyvmx.shtml] info:[http://www.virtualization.info/2005/12/guide-to-create-vmx-files-for-vmware.html] | ||
* ADVANTAGE: No need to boot USB stick on problem | |||
* | ====Comments==== | ||
* Run on VMware Player loaded on any PC with 512 kB of memory (256 kB required for VMware Player). | |||
* ADVANTAGE: No need to boot USB stick on computers that have a problem booting from a USB device. | |||
* The same computer can be used by a succession of students with their own copy of Sugar. | |||
* Students can take USB/SD drives home and run them on their own PCs. | * Students can take USB/SD drives home and run them on their own PCs. | ||
* Disadvantage: Have to install | * Disadvantage: Have to install VMware Player on PCs | ||
: | ====More Info==== | ||
# Other Methods:http://www.pendrivelinux.com/category/virtual-machine/ | |||
==Two stick alternative== | ===Two stick alternative=== | ||
* Install VMware Player on a 2-GiB USB/SD boot stick | * Install VMware Player on a 2-GiB USB/SD boot stick | ||
* Install the Sugar platform in a virtual appliance on a second 4-GiB or larger stick. | * Install the Sugar platform in a virtual appliance on a second 4-GiB or larger stick. | ||
| Line 73: | Line 88: | ||
'''This allows VMware Player to be used by multiple students without rebooting the PC.''' | '''This allows VMware Player to be used by multiple students without rebooting the PC.''' | ||
==One 8-GiB stick with 2 partitions== | ===One 8-GiB stick with 2 partitions=== | ||
Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8-GiB USB stick with 2 partitions to run a VMware Player Appliance on the Same Stick | Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8-GiB USB stick with 2 partitions to run a VMware Player Appliance on the Same Stick | ||
VMware Player WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time. | VMware Player WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time. | ||
| Line 79: | Line 94: | ||
* In PC running Ubuntu 9.04 (or running in VMware Workstation 6.5.2.) | * In PC running Ubuntu 9.04 (or running in VMware Workstation 6.5.2.) | ||
===Start partition manager=== | ====Start partition manager==== | ||
* Delete existing partitions on USB [/dev/sdb?] | * Delete existing partitions on USB [/dev/sdb?] | ||
*: (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.) | *: (BE CAREFUL TO BE LOOKING AT the USB drive and not your Hard Disk.) | ||
| Line 92: | Line 107: | ||
* Create a FAT32 primary partition with the remaining, unformatted space on the USB drive, set boot flag, and label VM_Apps | * Create a FAT32 primary partition with the remaining, unformatted space on the USB drive, set boot flag, and label VM_Apps | ||
* Exit Partition Manager | * Exit Partition Manager | ||
===Remove and reinstall USB stick=== | ====Remove and reinstall USB stick==== | ||
* Two USB icons will appear | * Two USB icons will appear | ||
* | * Copy VM Appliance into VM_Apps | ||
===Re-boot PC with USB stick=== | |||
* Start Firefox and download | ====Re-boot PC with USB stick==== | ||
* Start Firefox and download VMware Player Linux xxxx.bundle | |||
* Place .bundle file in /tmp | * Place .bundle file in /tmp | ||
* su - command in /tmp | * su - command in /tmp | ||
* Enter password for root | * Enter password for root | ||
* Install bundle in /tmp ( ./ command as administrator. ) | * Install bundle in /tmp ( ./ command as administrator. ) | ||
===Run VMware Player=== | ====Run VMware Player==== | ||
* Start VMware Player | * Start VMware Player | ||
* Choose VM_apps Icon and open VM Appliance file | * Choose VM_apps Icon and open VM Appliance file | ||
| Line 111: | Line 127: | ||
* It is complicated to make, but simple to use and it works. | * It is complicated to make, but simple to use and it works. | ||
== | ===Operating system notes=== | ||
== | |||
Archive: [[Talk:VMware#Operating System Notes]] | |||