Rails Setup – Jaunty 9.04 – Postgres – RMagick – Xapian – Hpricot – Git

Just installed Ubuntu Jaunty 9.04 onto my laptop and wanted to note down all the installed packages I ended up using. I haven’t tested this on a clean install, but should all flow nicely. Hopefully will help me next time I fresh install.

Will get you setup with rails and some useful libs and plugins. Xapian is a text search plugin, RMagick is an image processing plugin.

sudo apt-get install rails build-essential ruby1.8-dev rmagic librmagick-ruby libmagick-dev git-core git memcached postgresql postgresql-8.3 postgresql-server-dev-8.3 imagemagick libmagickcore-dev libmagickwand-dev libxapian-dev
sudo gem install rails chronic googlebase hpricot postgres rmagick rexml-expansion-fix memcache-client json mongrel mongrel_cluster
sudo gem install rails -v 2.1.0
wget http://oligarchy.co.uk/xapian/1.0.14/xapian-bindings-1.0.14.tar.gz
wget http://oligarchy.co.uk/xapian/1.0.14/xapian-core-1.0.14.tar.gz
tar -xzvf xapian-bindings-1.0.14.tar.gz
tar -xzvf xapian-core-1.0.14.tar.gz
cd xapian-core-1.0.14
sudo make
sudo make install
cd xapian-bindings-1.0.14
sudo make
sudo make install
createuser -P -s -e joe

sudo su postgres
createdb db_name -E UTF8 -e
pg_dump db_name -h remote_host -U username | psql db_name

Posted on July 27, 2009 at 11:21 am by Jordan Carter · Permalink
In: Server Config · Tagged with: , , , , , ,

Leave a Reply