Diff for "Running/LXC"

Not logged in - Log In / Register

Differences between revisions 1 and 113 (spanning 112 versions)
Revision 1 as of 2010-05-24 23:55:17
Size: 1063
Editor: lifeless
Comment: create
Revision 113 as of 2021-12-10 15:20:27
Size: 0
Editor: cjwatson
Comment: use LXD instead; see https://launchpad.readthedocs.io/en/latest/running.html
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
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

 1. Run virt-manager.

 1. Double click on localhost(QEMU)

 1. click on the New virtual machine icon

 1. 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.

 1. After its installed, connect to the image and install {{{acpid}}} and {{{openssh-server}}}

 1. Use ssh-copy-id to copy your public key into the VM.

 1. ssh -A <vm IP address> to connect to the VM. You can now follow the [[Getting|getting-started]] on LP instructions.