Introduction
Note: Before trying this demo, you should be sure to try Quick Demo: Basics first to install SBUML and make sure it works on your machine. Web Page Snapshots allow users to post fully configured pre-booted Linux machines on websites. Visitors to the websites can then download and restore the machines with only one mouse click. This page shows how to setup the web browser helper application for Web Page Snapshot, and then steps through a couple very simple examples. More interesting examples can be found on the Web Page Snapshots page, but these require that the rh72c base distribution be installed. The simple examples on this page can work with only the toms base distribution installed. Also, see this paper(pdf) from VM04 for more information. |
A Couple Test Snapshots
Now if you click on the following image, after an automatic download of a 6.3MB snapshot, a running Linux environment will be restore that has 9MB of virtual RAM and has been booted from a 14.5MB block device that has Tom's filesystem installed. In addition, so that there will be at least something to watch, the following shell script is already running: while sleep 1 ; do echo This test snapshot is now running on $(date); done Test1 (6.3MB delta from Toms) : Just a script outputting the date every second. The next snapshot requires a much smaller download because it has been delta compressed relative to the previous snapshot. To uncompress the snapshot, SBUML uses xdelta ( http://sourceforge.net/projects/xdelta/ ), which is included in many standard Linux installations. The snapshot is running Emacs, which will appear if you type ^L after the snapshot has finished downloading and restoring. Emacs (90,036 byte delta from Test1/Toms) : Chet's Emacs. |
About the SBUML Mozilla Helper Application xterm
When you click on a snapshot, an xterm window opens and is used for various purposes:
Note that the kernel binary is contained inside the snapshot and will be running directly on the host. Even though it runs entirely in user mode, which adds at least provides more security than rpms, it is a good idea to only run snapshots from trusted sources. |