Monday, January 5, 2009

Linux System Information

Presently we are building an inhouse compute cloud, which means admining a bunch of machines. To get quick information on the compute power of a machine look in:

/proc/meminfo
/proc/cpuinfo
/etc/issue (since these are ubuntu machines)
and a df-k for disk space.

-brian

Monday, November 3, 2008

Installing Rails on Linux (Ubuntu)

I intend to start using this blog more for notes that might be useful for other people.

Recipe for RoR on Ubuntu:

sudo apt-get install ruby
sudo apt-get install rubygems
sudo apt-get install irb
sudo apt-get install ri rdoc ruby1.8-dev build-essential
sudo gem install rails --include-dependencies --remote
sudo apt-get install libmysql-ruby
sudo gem install activerecord-sqlserver-adapter --source=http://gems.rubyonrails.org