Heal Your Church WebSite

Teaching, rebuking, correcting & training in righteous web design.

Moving MovableType

Okay, enough political, theological and other non-technical stuff. Let’s talk installations and the Linux command line (I’m getting goose pimples just thinking about it)!

I spent this last weekend looking at and installing the new, mysql-driven, MovableType; many stationary kudos to Ben and Mena Trott.

Being a code-monkey type, I prefer ftp’ing a single file to my server, then putty‘ing myself up an SSH session and ‘un-’taring the distribution – I say ‘un-’ because there is no such command as untar, but rather we are working with the decompress switch of the tar command. Though technically a bit harder for those not speaking fluent geek, this has the advantages of speed, and of preserving the correct file permissions – provided the file was tar’d correctly (which MT’s is). Once this is all done, we first move the program files to the secure auspices of the /cgi-bin directory, and modify the permissions of the output paths. After a quick trip to my cpanel to create a mysql database, I use pico to modify the configuration files and I’m ready to install and set-up everything else via the comfort of my browser.

Yeah, that was a mouth-full – but here it is in a nutshell. You still need to ‘water-bucket’ MT-2.21.tar.gz from http://www.movabletype.org/download.shtml to your PC via HTTP, then FTP the file from your PC to your server … in my case … to my public_html directory, which many up-to-date Apache installs symbolically link as www. Once there, here’s what I did via ssh:

cd $HOME/www
tar -zxvf MT-2.21.tar.gz
mv MT-2.21 mt
cd $HOME/www/mt
mv index.html mt-index.html
mv docs images mt-index.html styles.css ../.
cd ..
mkdir archives
chmod 777 images archives mt-index.html styles.css -R
cd cgi-bin
mv $HOME/www/mt .
cd mt
pico mt.cfg
pico mt-db-pass.cgi
cd $HOME/www

Obviously, you should have access to a copy, and should have read through at least once, the movabletype install documentation to figure out how to modify your configuration files and what to do once you’ve completed the above steps. And of course, your mileage may vary – and if so, I’d be interested in hearing how.

Now that wasn’t so hard, was it ?-)


  1. SSH makes me happy, but it can be a pain to learn. It’s very simple but I’m yet to find a “newbie’s guide to ssh” that covers everything a web master need to know. However there are a lot of unix/telnet/ssh pages out there, but most of them are written in fluent geek ;)

    Anyway, I’ve been using basic vi/vim for editing files… how is pico different?


  2. Sheesh!!!! You leave geekdom for a few years and *poof* everything you learned is left light years in the dust…. space dust at that!!! I’m so in trouble!!! Where’s the new online glossary????

    Now I know why I had to beg someone (Thanks to the king of fools (http://www.king-of-fools.com/) for installing MT on my server!!!!

    I’ve got a ton of reading to do, I can see. :(