Version 2 (modified by jazz, 11 years ago) (diff) |
---|
2014-01-11
LXC
- <參考> Creating a virtualized fully-distributed Hadoop cluster using Linux Containers
- 測試環境:Debian Wheezy 7.1 netinstall ISO with preseed
jazz@debian:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.3 (wheezy) Release: 7.3 Codename: wheezy
- 安裝 LXC
jazz@debian:~$ sudo apt-get install lxc
- 產生虛擬機器
jazz@debian:~$ sudo lxc-create -t debian -n test1 jazz@debian:~$ sudo lxc-start -d -n test1