wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
tar -zxvf ruby-1.8.7-p72.tar.gz
cd ruby-1.8.7-p72
./configure
make install
ruby -version
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar -zxvf rubygems-1.3.1.tgz
cd rubygems-1.3.1
ruby setup.rb
gem install rails
cd /tmp
rails test
cd test
ruby script/server
lynx localhost:3000
gem install mysql -- --with-mysql-include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql --with-mysql-config
wget http://dag.wieers.com/rpm/packages/libevent/libevent-1.3b-1.el4.rf.i386.rpm
rpm -ivh libevent-1.3b-1.el4.rf.i386.rpm
wget http://dag.wieers.com/rpm/packages/memcached/memcached-1.1.13-4.el4.rf.i386.rpm
rpm -ivh memcached-1.1.13-4.el4.rf.i386.rpm
/sbin/chkconfig --level 345 memcached on
/etc/init.d/memcached start
gem install memcache-client
A Blog about technology, linux, peer2peer, cool new downloads and software development.
Thursday, April 9, 2009
Installing Ruby On Rails on Centos 4.5
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment