lxc


Installing LXC on Debian Wheezy

First install the needed packages: apt-get install bridge-utils libvirt-bin debootstrap lxc Then you have to mount cgroup: echo "cgroup  /sys/fs/cgroup  cgroup  defaults  0   0" >> /etc/fstab mount /sys/fs/cgroup When executing lxc-checkconfig, you should get something like this: Found kernel config file /boot/config-3.2.0-4-amd64 — Namespaces — Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: […]


Setup LXC on Debian

You can install lxc including some needed components by executing: apt-get install lxc debootstrap bridge-utils lvm2 Then you should configure a bridge network interface in order to be used by your virtual machines. Therefore edit /etc/network/interfaces, comment out the existing lines for eth0 (or the interface you wish to use) and add the new bridge interface as shown […]