WebVZ - 這是 OpenVZ 的 Web-based UI,相較 Vtonf, HyperVM 更節省系統資源。
系統環境:
cd /etc/yum.repo.d wget http://rubyworks.rubyforge.org/RubyWorks.repo yum install python-sqlite sqlite-devel sqlite yum install ruby ruby-devel ruby-irb ruby-rdoc ruby-ri cd /usr/src wget http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz tar xzf rubygems-1.3.7.tgz cd rubygems-1.3.7 ruby setup.rb
安裝 rails & sqlite
gem update
gem install -v=1.2.0 rails
yum install gcc make
gem install sqlite3-ruby -v=1.2.5
cd /usr/src wget http://downloads.sourceforge.net/project/webvz/webvz/webvz%202.0/webvz.2.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fwebvz%2Ffiles%2F&ts=1293164793&use_mirror=ncu tar xzf webvz.2.0.tar.gz mv webvz.2.0 /opt
cd /opt/webvz.2.0 ruby script/server
瀏覽器輸入 your.ip.adress:3000/,登入帳號 admin, 密碼 admin123