I am setting up a system at SliceHost, on one of their Ubuntu Dapper slices. First, I'm not as familiar with Ubuntu as I am Fedora, but this is one reason I chose Ubuntu (to get more experience). Anyway, I found several other blog posts and such on the web about this, but none worked perfectly. I glommed mine together by using them though. Here they are:
And, here's what I did. First, uncomment the universe lines in /etc/apt/sources.list. Then...
# apt-get update# apt-get dist-upgrade# apt-get install ruby ruby1.8-dev ri rdoc# ln -s /usr/bin/irb1.8 /usr/local/bin/irb# wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz# tar xvzf rubygems-0.9.0.tgz# cd rubygems-0.9.0# ruby setup.rb# cd ..# rm -rf rubygems*# gem install rails --include-dependencies# dpkg --purge apache apache2 (this removes Apache if it exists, which it didn't)# apt-get install build-essential zlib1g-dev# wget http://apache.rmplc.co.uk/httpd/httpd-2.2.2.tar.gz# tar xzvf httpd-2.2.2.tar.gz# cd httpd-2.2.2# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http# make# make install# cd ..# rm -rf httpd*# apt-get install postfix (Then, use the "Internet Site" default setting, and picked "WeighPals.com" as the name)# apt-get install mysql-server mysql-common mysql-client libmysqlclient15-dev libmysqlclient15off# apt-get install libmysql-ruby1.8# gem install daemons gem_plugin mongrel mongrel_cluster --include-dependencies
technorati tags:RubyOnRails, Apache, Ubuntu, Ruby
Comments [0]