在centos6里安装OpenVZ Web Panel

问题:用github里的一键安装脚本安装,报错:

Complete!
ERROR:  While executing gem ... (Zlib::GzipFile::Error)
    not in gzip format
Checking presence of the command: ruby
Ruby version: 1.8.7
Checking presence of the command: gem
RubyGems version: 1.3.5
Checking Ruby SQLite3 support: ruby -e "require 'rubygems'" -e "require 'sqlite3'"
Fatal error: Ruby SQLite3 support not found. Please install it first.

openvz-web-panel-centos-1.png

过程:

1.wget https://rubygems.org/downloads/sqlite3-1.3.11.gem # 手动下载sqlite3的包

2.gem install --local sqlite3-1.3.11.gem # 本地安装
openvz-web-panel-centos-2.png

3.sh ai.sh # 再次安装
openvz-web-panel-centos-3.png

4.service stop iptables # 停掉iptables防火墙

5.可在浏览器成功登录到:3000端口的面板
openvz-web-panel-centos-4.png

参考:

标签: openvz, ruby

添加新评论