lxc学习-安装篇
By admin
- One minute read - 34 words安装环境:
VirtualBox 4.2.18 Centos6.4 64位 内存 1G
安装方法:
[shell]
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[/shell]
这里,在/usr/local/bin 目录里可以看到以 lxc_开头的命令.(注意要将这个目录添加到用户的环境变量里)
更多学习参考资料请参考: 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
[推荐]https://github.com/lxc/lxc