How to install OpenQRM 4.8 with LXC containers in Debian Squeeze/Ubuntu 10.04 LTS: Step by Step (Page 3)
C) INSTALL LXC
C1)
Quote:
C2)
Quote:
C3) Add the following line in /etc/fstab using a text editor:
Quote:
|
cgroup
/cgroup cgroup defaults 0 0
|
C4)
Quote:
C2)
Quote:
You will see
something like below:
Quote:
|
$
lxc-checkconfig Kernel config /proc/config.gz not found,
looking in other places... Found kernel config file
/boot/config-2.6.32-5-686 --- Namespaces --- Namespaces:
enabled Utsname namespace: enabled Ipc namespace:
enabled Pid namespace: enabled User namespace:
enabled Network namespace: enabled Multiple /dev/pts
instances: enabled
--- Control groups --- Cgroup:
enabled Cgroup namespace: enabled Cgroup device:
enabled Cgroup sched: enabled Cgroup cpu account:
enabled Cgroup memory controller: missing Cgroup cpuset:
enabled
--- Misc --- Veth pair device: enabled Macvlan:
enabled Vlan: enabled File capabilities: enabled
Note
: Before booting a new kernel, you can check its
configuration usage : CONFIG=/path/to/config
/usr/bin/lxc-checkconfig
|
The only thing that you cannot do with the vanilla debian squeeze
kernel reporting 'Cgroup memory controller: missing' parameter is to
allocate memory. One can recompile the kernel with memory controller
enabled in a debian way (shall explain in another tutorial if
needed), but it hogs 2-3% of CPU resources.
PreviousNext