Skip to content

Instantly share code, notes, and snippets.

@mzch
Last active August 29, 2015 14:11
Show Gist options
  • Save mzch/87c1143c17f4a42b3b5c to your computer and use it in GitHub Desktop.
Save mzch/87c1143c17f4a42b3b5c to your computer and use it in GitHub Desktop.
Tips: To install the latest 1.x LXC on Debian Wheezy
To Install the latest 1.x LXC on Debian Wheezy
====
# Dependencies
```sudo apt-get build-dep lxc``
```sudo apt-get install build-essential fakeroot dpkg-dev dh-autoreconf doxygen docbook2x graphv
iz libapparmor-dev liblua5.2-dev libseccomp-dev libselinux-dev pkg-config python3-dev```
```sudo apt-get install debootstrap bridge-utils```
# Build
```./autogen.sh```
```./configure```
```make && sudo make install```
# Enable namespace
add following line to /etc/fstab
```cgroup /sys/fs/cgroup cgroup defaults 0 0```
and then,
```mount cgroup```
Done!
Done. :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment