# prepare vi ~/.bash_profile PATH=$PATH:$HOME/bin:/usr/local/ruby/bin :wq # ruby ## http://www.ruby-lang.org/ko/ ## http://www.ruby-lang.org/ko/downloads/ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz ./configure --prefix=/usr/local/ruby --enable-pthread --enable-setreuid --enable-shared --with-mysql make make test make install # rubygems ## http://rubyforge.org/frs/?group_id=126 wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz ruby setup.rb # Update your RubyGems (also updates the gems cache) gem update --system # rails ## http://rubyonrails.org/ gem install rails --include-dependencies * Q. Could not find rails (> 0) in any repository? A. gem env gemdir /usr/local/ruby/lib/ruby/gems/1.8 rm /usr/local/ruby/lib/ruby/gems/1.8/source_cache rm $HOME/.gem/source_cache # mongrel °ú mongrel_cluster ¼³Ä¡ gem install daemons gem_plugin mongrel mongrel_cluster sendfile --include-dependencies # test mongrel cd ~ mkdir test rails test1 mongrel_rails cluster::configure -e development -p 8000 -N 3 -c /root/test/test1 -a 127.0.0.1 --user root --group root # mongrel ½ÇÇà/Á¾·á * ½ÇÇà - mongrel_rails cluster::start * Á¾·á - mongrel_rails cluster::stop ------------------------------------------------------------------------------------------------------------- 3/ Apache 2.2 root@aserver:/usr/local/src# wget http://apache.rmplc.co.uk/httpd/httpd-2.2.2.tar.gz root@aserver:/usr/local/src# tar -xvf httpd-2.2.2.tar.gz root@aserver:/usr/local/src/httpd-2.2.2# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http root@aserver:/usr/local/src/httpd-2.2.2# make root@aserver:/usr/local/src/httpd-2.2.2# make install ** http://forums.rimuhosting.com/forums/showthread.php?t=230 ** http://typed.tistory.com/3