VPS攒机经历(2)

1安装memcached, libevent
 
2安装git
 
问题
2.1
Error: Missing Dependency: libapr-0.so.0 is needed by package subver
解决:
 and so on….(I hate rpm )
 
3安装ruby,rubygems,rails,mongrel,mongrel_cluster
问题
3.1
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details.
解决:
安装gcc
 
3.2
Error: Missing Dependency: glibc-common = 2.3.4-2.13 is needed by package glibc-dummy-centos-4
解决
yum erase glibc-dummy-centos-4
 
3.3
vim /etc/profile
添加ruby 路径
 
3.4
gem list

*** LOCAL GEMS ***

actionmailer (2.1.0)
actionpack (2.1.0)
activerecord (2.1.0)
activeresource (2.1.0)
activesupport (2.1.0)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
fastthread (1.0.1)
gem_plugin (0.2.3)
heroku (0.4.1)
hoe (1.7.0)
memcache-client (1.5.0)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
rails (2.1.0)
rake (0.8.3)
rest-client (0.7)
rspec (1.1.8)
rubyforge (1.0.0)
ZenTest (3.10.0)

 



Tags: gem, git, install, linux, memcached, Rails, Ruby, server

无觅相关文章插件,快速提升流量