Differences between revisions 3 and 4
Revision 3 as of 2013-02-25 17:35:32
Size: 616
Editor: ?StephaneKlein
Comment:
Revision 4 as of 2013-02-26 08:24:51
Size: 716
Editor: ?StephaneKlein
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{#!wiki caution
This procedure is not complete, it don't working on my system (the author)
}}}

Note about LXC Squeeze-Backport version

This procedure is not complete, it don't working on my system (the author)

LXC Installation

# echo "deb http://backports.debian.org/debian-backports squeeze-backports main" > /etc/apt/sources.list.d/lxc.list
# echo -e "Package: lxc\nPin: release a=squeeze-backports\nPin-Priority: 1000" > /etc/apt/preferences.d/lxc

# apt-get install lxc debootstrap bridge-utils libvirt-bin

# echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" >> /etc/fstab
# mount /sys/fs/cgroup

Create new container

# lxc-create -n foobar -t debian

This command will ask you some questions…