With some scripting on Ubuntu 9.04 (Jaunty Jackalope) we can build fully customized Drupal LAMP development servers, as virtual appliance to VMware, or to other virtualization environments like XEN or KVM. In this how-to, you can learn how to use this method to have various development or test servers in one hardware box running Ubuntu 9.04 and VMware Server 2.0.1.
You need a machine with Ubuntu 9.04 (Jaunty Jackalope) and VMware Server 2.0.1, as host system to the appliances. VMware Server 2.0.1 install on Ubuntu 9.04 can be learned here or here. We will need free IP addresses for the virtual machines, so you will need a properly configured DHCP server or a router, as well.
The magic happens with vmbuilder, a tool introduced in Ubuntu 8.10, and targeted to build virtual machines with Ubuntu as operating system for multiple virtualization environments. Currently it supports Xen, KVM, VMware Workstation 6, and VMware Server. In the following, we are going to create virtual appliances to VMware Server.
To install vmbuilder, type:
sudo apt-get install python-vm-builder
To learn the parameters for Ubuntu and VMware Server, type: