Installing Mephisto on Dreamhost

August 6th, 2007

This tutorial will explain the process of Installing Mephisto on Dreamhost.

Mephisto is the best blogging tool/cms in the world&TM

Dreamhost is one of the best hosts out there. Just not the greatest with ror apps yet though. Learn more about dreamhost, and if you decide to choose them as your host, use my promo code REMIX that will give you $10 off!

First, you have to have your dreamhosted site setup for rails…
if it isn’t, read this tutorial first (Installing Rails on Dreamhost).

now, lets download and install mephisto.

first, ssh into your server, remember this stuff?

from win*
Login through windows

from *nix
Login through linux

so lets download the latest mephisto tarball…

cd yoursite.com/raboof

obviously replace ‘yoursite.com’ with your real website directory and ‘raboof’ with your app’s name

  1. open your firefox and navigate to (http://mephistoblog.com/download)
  2. right-click on the Current Stable Release link and Copy Link Location
  3. now use the wget tool to download mephisto
    in win* (putty), right-click is pastes
    in *nix (terminal), middle-click usually pastes

wget http://s3.amazonaws.com/mephisto-blog/mephisto-0.7.3.tar.gz

now decompress.

tar xvzf mephisto-0.7.3.tar.gz

yes, replace the actual filename with the one you downloaded

lets setup your mysql server
login to dreamhost, and go to Goodies >> Manage MySQL
and create new MySQL database

just remember to note all 4 of these values somewhere

click “Add New Database Now” if you haven’t already.
this should take a few minutes… lets get back to the ssh session and enter the mysql configuration

back in ssh session

nano -w config/database.yml

production: adapter: mysql database: yourDatabaseName username: yourMysqlUserName password: yourMysqlPassword host: mysql.yourhostname.com

remember all this stuff that i told you to write down?

rake db:bootstrap

Voila! Mephisto hath been installed!!

Say Anything