因为我的系统没有安装任务东西,,所以先升级一下库,GCC之类的东西
yum -y install patch make gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel
再下载ruby,并安装
wget
tar -zxvf ruby-1.8.7-p72.tar.gz
cd ruby-1.8.7-p72
./configure
make;make install
下载rubygems,并安装
wget
ruby setup.rb
下载sqlite3和libsqlite3,并安装
wget
tar -zxvf sqlite-3.6.7.tar.gz
cd sqlite-3.6.7
./configure
make;make install
wget
tar -zxvf sqlite2-ruby-1.2.4.tar.gz
cd sqlite2-ruby-1.2.4
ruby setup.rb
升级ralis,2.1.0版本
gem install -v=2.1.0 rails
等待升级完成,就OK了,接下来安装webvz就OK了
wget
tar -xzvf webvz.2.0.tar.gz
cd webvz.2.0
ruby script/server
用IE打开
usr:admin
pwd:admin123
搞定
阅读(1661) | 评论(0) | 转发(0) |