Line 4: |
Line 4: |
| 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. | | 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. |
| | | |
− | ==Building a virtual appliance for the Sugar platform== | + | ==Building a virtual appliance== |
− | ===Appliances from a live.iso file (No Persistence)=== | + | ===from a live.iso file (No Persistence)=== |
− | * Make a new Appliance in VMworkstation 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 VMworkstation 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 VMworkstation, 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 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 VMWorkstation, 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 VMplayer and open this Appliance from the USB drive, or ''any other VMplayer 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''. |
− | *: this appliance is just like a boot CD—it has no persistence—the system image is treated as a read-only file. (You are running the .iso image with VMPlayer.) The appliance file size is only slightly larger than the .iso file. | + | *: this appliance is just like a boot CD—it has no 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. |
− | ====Boot this Appliance from a USB boot drive/stick (see below)====
| + | |
| + | '''Boot this Appliance from a USB boot drive/stick (see below)''' |
| * The system can be run on any PC without changing or accessing its primary hard disk. | | * The system can be run on any PC without changing or accessing its primary hard disk. |
| * Use it to run Soas .iso images on PCs lacking a CD-ROM reader but with a USB port. | | * Use it to run Soas .iso images on PCs lacking a CD-ROM reader but with a USB port. |
− | * Run Sugar on unbootable PC's using a VMPlayer application | + | * Run Sugar on unbootable PC's using a VMware Player application |
| | | |
| ===Appliances with Persistence=== | | ===Appliances with Persistence=== |
− | * VMWorkstation 6.5.2 with Fedora-11-Preview-i386-netinst.iso (need link) | + | * VMware Workstation 6.5.2 with Fedora-11-Preview-i386-netinst.iso (need link) |
− | * Settings for VMWorkstation: | + | * Settings for VMware Workstation: |
| *# Create a new virtual machine | | *# Create a new virtual machine |
| *# Typical | | *# Typical |
Line 62: |
Line 63: |
| ** Failsafe | | ** Failsafe |
| | | |
− | ==Making VMPlayer using a Single 4-GiB USB boot stick and an Appliance on a second 4-GiB stick== | + | ==Two stick alternative== |
− | ===On one 8-GiB stick with 2 partitions=== | + | * Install VMware Player on a 2-GiB USB/SD boot stick |
− | Ubuntu 9.04 has a "USB Startup Disk Creator". I used a 8-GiB USB stick with 2 partitions to run a VMplayer Appliance on the Same Stick | + | * Install the Sugar platform in a virtual appliance on a second 4-GiB or larger stick. |
− | VMplayer WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time.
| + | |
| + | '''This allows VMware Player to be used by multiple students without rebooting the PC.''' |
| + | |
| + | ==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 |
| + | VMware Player WILL install on Ubuntu or Fedora 10, but NOT on F11 at this time. |
| METHOD: | | METHOD: |
− | * In PC running Ubuntu 9.04 (or running in VMworkstation6.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 85: |
Line 91: |
| * Two USB icons will appear | | * Two USB icons will appear |
| * Cut and paste previously obtained VMplayer Appliance to VM_Apps | | * Cut and paste previously obtained VMplayer Appliance to VM_Apps |
− | ===ReBoot PC with USB Stick=== | + | ===Re-boot PC with USB stick=== |
| * Start Firefox and download VMplayer (free) Linux xxxx.bundle | | * Start Firefox and download VMplayer (free) Linux xxxx.bundle |
| * Place .bundle file in /tmp | | * Place .bundle file in /tmp |
Line 91: |
Line 97: |
| * Enter password for root | | * Enter password for root |
| * Install bundle in /tmp ( ./ command as administrator. ) | | * Install bundle in /tmp ( ./ command as administrator. ) |
− | ===Run VMplayer Program=== | + | ===Run VMware Player=== |
− | * Start VMplayer | + | * Start VMware Player |
| * Choose VM_apps Icon and open VM Appliance file | | * Choose VM_apps Icon and open VM Appliance file |
| * Choose Gnome or Sugar as login, enter password | | * Choose Gnome or Sugar as login, enter password |
Line 98: |
Line 104: |
| *: Passwoord for root = sugarroot | | *: Passwoord for root = sugarroot |
| :Have Fun (Fedora 11 0.93 0.84-2) | | :Have Fun (Fedora 11 0.93 0.84-2) |
− | *Thus, with one 8-GiB USB stick loaded with Ubuntu 9.04 and VMplayer, plus the Appliance, a Student can carry the OS and a full copy of GNOME Desktop and Sugar on a single USB stick. | + | *Thus, with one 8-GiB USB stick loaded with Ubuntu 9.04 and VMware Player, plus the Appliance, a Student can carry the OS and a full copy of GNOME Desktop and Sugar on a single USB stick. |
| * It is complicated to make, but simple to use and it works. | | * It is complicated to make, but simple to use and it works. |
| | | |
− | ==The Appliance can be loaded on a separate USB stick== | + | ==Host operating systems== |
− | Two USB/SD sticks (2 GiB Boot and 4 GiB or larger for the appliance)
| + | ===Windows XP SP2=== |
− | ====This allows VMPlayer to be used by multiple students without rebooting the PC====
| |
− | | |
− | ==Windows XP SP2== | |
| Loads and runs VMware virtual machine in Windows XP SP2 {tested on a Dell 2350 Tower} | | Loads and runs VMware virtual machine in Windows XP SP2 {tested on a Dell 2350 Tower} |
| | | |
− | Appliance (packaged virtual machine) transfered by DVD and loaded on Hard Disk. | + | Appliance (packaged virtual machine) transfered by DVD and loaded on hard disk. |
| | | |
− | == Ubuntu 8.04 and 9.04 == | + | === Ubuntu 8.04 and 9.04 === |
− | VMworkstation 6.5.2 can make virtual machine files in Ubuntu. VMplayer (available on line) will run these Appliances. The Appliance can be distributed then by copies on DVD to 4-GiB SD or USB drives or from future downloads from a Sugar Labs or other server.
| + | VMware Workstation 6.5.2 can make virtual machine image files in Ubuntu. VMware Player will run these virtual appliances. The appliance can be distributed by copying to a DVD or a 4-GiB SD or USB drive or (in the future) by downloading from a Sugar Labs or other server. |
| | | |
− | ==Fedora 11== | + | ===Fedora 11=== |
− | VMplayer will not load in Fedora 11 beta or Fedora Preview loaded with shell command; One gets "Unable to modify kernel" error and quits.
| + | VMware Player will not load in Fedora 11 beta or Fedora Preview loaded with shell command; One gets "Unable to modify kernel" error and quits. |
| | | |
− | === Spin of SUGAR F11 preview live=== | + | === Spin of Sugar on Fedora F11 preview live=== |
| http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent | | http://spins.fedoraproject.org/torrents//F11-Preview-i686-Live-Edu.torrent |
− | * It works well as a boot CD or as a 4-GiB Appliance for VMplayer. | + | * It works well as a boot CD or as a 4-GiB Appliance for VMware Player. |
− | * It upgrades in VMplayer to F11 (Leonidas) after 167 files +45 updates as of 5/30/2009. | + | * It upgrades in VMware Player to Fedora F11 (Leonidas) after 167 files +45 updates as of 5/30/2009. |
| * It contains version 0.84.2 Sugar and Xfce 4 Desktop with a KDE switcher. | | * It contains version 0.84.2 Sugar and Xfce 4 Desktop with a KDE switcher. |
| * It installs nicely in the normal manner. | | * It installs nicely in the normal manner. |
Line 125: |
Line 128: |
| * See the procedure above to make a VMplayer on a USB boot stick run the latest version of the Sugar platform in Fedora 11 as an Appliance. | | * See the procedure above to make a VMplayer on a USB boot stick run the latest version of the Sugar platform in Fedora 11 as an Appliance. |
| | | |
− | ==Fedora 10== | + | ===Fedora 10=== |
| * VMplayer can be loaded in Fedora 10 and used to run a VMplayer Appliance of Sugar platform based on Fedora 11. | | * VMplayer can be loaded in Fedora 10 and used to run a VMplayer Appliance of Sugar platform based on Fedora 11. |
| * The Sugar platform included in Fedora 10 is not the current version. | | * The Sugar platform included in Fedora 10 is not the current version. |
| | | |
− | ==openSUSE== | + | ===openSUSE=== |
− | ===SUSE Sugar page: http://en.opensuse.org/Sugar=== | + | ====SUSE Sugar page==== |
| + | * http://en.opensuse.org/Sugar |
| :(See: nubae and cyberorg on #irc #sugar #opensuse-edu for details.) | | :(See: nubae and cyberorg on #irc #sugar #opensuse-edu for details.) |
| | | |
| SUSE is building and hosting appliances at these sites for downloading. | | SUSE is building and hosting appliances at these sites for downloading. |
| | | |
− | ===live CD with a very large number (~50) of activities=== | + | ====Live CD==== |
| + | '''with a very large number (~50) of activities''' |
| * http://download.opensuse.org/repositories/Education/images/iso/ | | * http://download.opensuse.org/repositories/Education/images/iso/ |
| * http://download.opensuse.org/repositories/Education/images/iso/openSUSE-Sugar-live-unstable.i686-0.0.4-Build31.1.iso (latest one) | | * http://download.opensuse.org/repositories/Education/images/iso/openSUSE-Sugar-live-unstable.i686-0.0.4-Build31.1.iso (latest one) |
− | =====installs to Hard Disc===== | + | =====Installation to hard disk===== |
| Sugar terminal: | | Sugar terminal: |
| :<code>su - | | :<code>su - |
Line 144: |
Line 149: |
| </code> | | </code> |
| | | |
− | ====add user==== | + | =====add user===== |
| :<code> yast2 users | | :<code> yast2 users |
| </code> | | </code> |
| | | |
− | ====change networking==== | + | =====change networking===== |
| :<code> yast2 lan | | :<code> yast2 lan |
| </code> | | </code> |
− | ====wireless networking==== | + | =====wireless networking===== |
| :<code> yast2 lan | | :<code> yast2 lan |
| </code> | | </code> |
Line 166: |
Line 171: |
| : Have Fun | | : Have Fun |
| | | |
− | ===Prebuilt VMplayer-VirtualBox Sugar Appliance=== | + | ====Prebuilt Sugar Appliance==== |
| http://download.opensuse.org/repositories/Education/images/ | | http://download.opensuse.org/repositories/Education/images/ |
− | * Run on VMplayer or VirtualBox after decompressing. | + | * Run on VMware Player or VirtualBox after decompressing. |
| | | |
− | ===Image USB/SD Drives=== | + | ====Image USB/SD Drives==== |
| * Details on how to use uncompresses raw file: http://en.opensuse.org/Disc_image_howtos | | * Details on how to use uncompresses raw file: http://en.opensuse.org/Disc_image_howtos |
| : Unmount the USB first, then from terminal: <code>sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k</code> | | : Unmount the USB first, then from terminal: <code>sudo dd if=/home/suse/myappliance.raw of=/dev/sdb bs=4k</code> |