Running/LXC

Not logged in - Log In / Register

Revision 3 as of 2010-05-25 04:14:25

Clear message

This page explains how to set up and run Launchpad (for development) inside a VM.

Why?

Launchpad development setup makes numerous changes to your machine; its nice to be unaffected by those except when you are actually doing such development.

Also, launchpad has limitations on concurrent testing per-machine and so forth - multiple VM's can be used to work around this.

Make a VM image

  1. Install KVM

% sudo apt-get install virt-manager
  1. Download the Lucid server ISO
  2. Run virt-manager.
  3. Double click on localhost(QEMU)
  4. click on the New virtual machine icon
  5. follow your nose here, using the ISO as the install media, and allocating no less than 2G of disk and 1G of memory. I suggest 4G if you can spare it.
  6. After its installed, connect to the image and install acpid and openssh-server

  7. Use ssh-copy-id to copy your public key into the VM.
  8. ssh -A <vm IP address> to connect to the VM. You can now follow the getting-started on LP instructions.

References

See also this email thread about running Launchpad in a virtual machine, and this discussion of the differences between running in a chroot environment and running a VM.