I just purchased a new server I will be using to update and migrate all my current projects to. I hope to incur zero downtime during the migration process but ya never know. I haven’t leased a dedicated server from this company before so we’ll see how it goes. It’s about time […]
This simple rails app using standard CGI on Apache2
The same simple rails app using fastCGI on Apache2
We went from around a second of execution time down to around a tenth of a second. FastCGI obviously a bunch faster. On average for this teeny query it was half a second faster.
Now […]
So yesterday I setup rails. Too easy. Today I’m going to set it up on Apache so we don’t have to mess with WEBrick. Lets get started.
First, setup your project
Where you install your rails project is up to you but I set my apache document root to
/home/www/public so this is how I […]
I havn’t played w/rails much so I’m installing that today as well. As an alternative to pre-packaged CMS, rails is supposed to be simple/fast/powerfull.
Ruby install w/FreeBSD ports
cd /usr/ports/lang/ruby18
make all install clean
Gem install from tarball
wget http://rubyforge.org/frs/download.php/3700/rubygems-0.8.10.tgz
tar -zxvf rubygems-0.8.10.tgz
cd rubygems-0.8.10
/usr/local/bin/ruby setup.rb
Rails install w/Gem
/usr/local/bin/gem install rails –include-dependencies
Lets get started with rails.
/usr/local/bin/rails test
cd test
/usr/local/bin/ruby script/server
WEBrick will now […]
Broadcast message from root (pts/0) (Sun Aug 28 03:34:55 2005):
The system is going down for reboot NOW!——-Ran into some filesystem errors. Everything was down for 'bout an hour n' 15min. bla bla bla.
I made an audio post since I havn't done that yet. Figured 5.am, before going to sleep, aug 28th […]
Burn My Time © 2007.
Simple Grey theme developed by Rodrigo P. Ghedin.
Brought by Wordpress Themes