wiki:jazz/14-01-11

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
    
  • 安裝 LXC Web Panel
    root@debian:~# wget http://lxc-webpanel.github.io/tools/install.sh -O - | bash
    
Last modified 11 years ago Last modified on Jan 11, 2014, 11:14:26 PM