lxc学习-安装篇

安装环境:

VirtualBox 4.2.18
Centos6.4 64位
内存 1G
====================

安装方法:


yum -y install gcc libcap-devel libcgroup
wget "http://downloads.sourceforge.net/project/lxc/lxc/lxc-0.9.0/lxc-0.9.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flxc%2Ffiles%2Flxc%2F&ts=1383981486&use_mirror=jaist"
tar zxvf lxc-0.9.0.tar.gz
cd lxc-0.9.0
./autogen.sh
./configure
make && make install

这里,在/usr/local/bin 目录里可以看到以 lxc_开头的命令.(注意要将这个目录添加到用户的环境变量里)

lxc_commends

更多学习参考资料请参考:http://www.cnblogs.com/lisperl/tag/%E8%99%9A%E6%8B%9F%E5%8C%96%E6%8A%80%E6%9C%AF/default.html?page=2

[推荐]http://whistl.com/index.php/blog/2011/08/28/linux-containers-under-centos-6

http://blog.csdn.net/vovo2008/article/details/14228373

http://www.emanuelis.eu/2010/05/28/how-to-create-a-lxc-centos-template/

https://github.com/lxc/lxc

http://robinqu.me/blog/2013/07/18/lxc-userspace-command-tools/

http://robinqu.me/blog/2013/07/18/lxc-on-linode/

http://whistl.com/index.php/blog/2011/08/28/linux-containers-under-centos-6