Skip to content

First Steps to Use and Run

srguiwiz edited this page Dec 1, 2014 · 9 revisions

Often you will first want to run sudo ./installlocally.py.

You may or may not pay attention to known Current Compatibility.

One good example use is dev/examples/make-an-el-vm-001.py.

If auxiliary programs are missing from the machine, the example tells before running the script. Look for an Exception: required commands including alternatives are ….

Detailed requirements or how-tos for hosting on different operating systems are kept in several files in the docs/ directory.

Hosting on CentOS 6.6 for the example needs sudo yum install libcdio and sudo yum install genisoimage and sudo yum install qemu-img.

Hosting on OS X for the example needs MacPorts and then sudo port install libcdio and sudo yum install cdrtools and sudo yum install qemu and sudo yum install wget. But see the platform specific requirements in the docs/ directory for more detailed steps of getting everything to work hosting on OS X.

Also, at least some example scripts require a directory to exist to put example virtual machines into. It is coded quite obviously and easy to change, and it is ~/vmware/examples. For other example that is ~/vmware/testvms.

Impressive to watch an automated run make Linux and Windows virtual machines and access websites with Selenium by running dev/examples/qa/selenium/make-testing-vms-w-snaps-001.py though as implemented using snapshots it requires VMware Workstation (Linux host) or VMware Fusion (Mac host).

On first run these example scripts may take a long time to download OS installer disk images, think a couple of gigabytes, but on additional runs they make use of copies cached on disk.

Clone this wiki locally