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*

from *nix

so lets download the latest mephisto tarball…
- go to your working rails directory
cd yoursite.com/raboof
obviously replace ‘yoursite.com’ with your real website directory and ‘raboof’ with your app’s name
- open your firefox and navigate to (http://mephistoblog.com/download)
- right-click on the Current Stable Release link and Copy Link Location
- 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
- create whatever database name you want (like: mephisto)
- create whatever new hostname you want (like: mysql.yoursite.com)
- create or use whichever user name you want
- then set your password
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
- look for the block that starts with ‘production:’
- you can actually delete everything except this block if you wanted to, so it looks like this
production: adapter: mysql database: yourDatabaseName username: yourMysqlUserName password: yourMysqlPassword host: mysql.yourhostname.com
remember all this stuff that i told you to write down?
now ctrl-x, y, [enter], to exit nano, saving your config.
and finish installing mephisto…
rake db:bootstrap
Voila! Mephisto hath been installed!!




