Installing Movable Type is pretty simple. Unfortunately, I still messed it up, multiple times. So, for my reference and for yours, here are the steps to installing Movable Type on my web server.
This site is hosted on NearlyFreeSpeech.NET (NFSN), which is an awesome, pay-for-what-you-use hoster. It already has the right PHP and Perl things installed for Movable Type. Since I recently made this site, I had no MySQL databases yet, so first, I created a MySQL process via the NFSN admin pages and then made a database named “movabletype.”
Next, I downloaded the file MT-4.23-en.tar.gz onto my computer from the Movable Type Download Page under Movable Type Pro for Bloggers. (Note: the version offered at their .org website offers their open source version for developers, which is different.)
Then, since unzipping the file and copying its contents to the web server was taking too long, I aborted that and scp’d MT-4.23-en.tar.gz from my computer to my root web directory of my web server, /home/public/. (Note: I am running Windows with Cygwin installed.) I then ssh’d into the web server and unzipped the file there.
I then made the directory mt in /home/public, and based on some suggestion from somewhere, I moved mt-static out of /home/public/MT-4.23-en (which was just created) to /home/public/ and copied all of the other contents of MT-4.23-en/ into mt/.
Next, I changed the group of mt to web, changed permissions of mt-static/support to 777, and removed the empty directory MT-4.23-en.
Then, I opened http://www.whenbrainsfly.com/mt/mt.cgi in my browser and began the installation wizard. I entered /mt-static as the static web path and hit continue. My web server’s PHP and Perl requirements checked out so I hit continue. At the Database Configuration prompt, I changed the database server from localhost to my_mysql_process_name.db because NFSN requires it, entered the other database info, and hit continue. At the next prompt, the Mail Configuration prompt, I selected sendmail, put in the path to it, /usr/bin/sendmail/, sent a test email, received the test email, and hit continue. The configuration file was successfully created so I hit continue there, and the configuration was finished!
Finally, I created an account, named my website, chgrp web /home/public so that my web server could write to it, told the prompt that I wanted my site at /home/public, selected the Professional Website theme, hit continue, and it was all done!
I then signed in and made my first post! =)
Sadly, this took me four times to get right.
The first time, I made the directory /home/public/blog and told Movable Type that I wanted my site there, not realizing that Movable Type is also a full-fledged Content Management System and that it would create a subdirectory called blog within /home/public/blog where my blog would lie.
The second time, I forgot to drop the movabletype MySQL database.
The third time, I got an error saying that my web server could not write to /home/public/ which was true at the time. So, I chgrp’d it and continued, but the style changed to something other than Professional Website. I’m pretty sure I had changed it, so maybe this is a bug in Movable Type. I tried changing the style afterward but after selecting the Professional Blue style and publishing, the site was obviously missing elements and not how it was supposed to look.
The fourth time, I thought I had failed yet again because after the last step, I went to http://www.whenbrainsfly.com and got a 404. I thought that maybe if I wrote a post, it would appear, and sure enough, it did after saving my first entry.
References:
http://www.movabletype.org/documentation/installation/quick-start.html
http://www.movabletype.org/documentation/installation/detailed-instructions.html
http://www.superxm.com/2007/08/movable-type-4-installation-step-by-step-with-screenshots.html