In the beginning, there was Movable Type

Writing code all day sort of saps my will to come home and... write more code. With that in mind I set out to find existing blog software rather than rolling my own. Life's just too short, and besides, never write what you can steal – right?

I experimented with some .NET solutions but oddly enough had the most success with the PERL-based Movable Type solution, which is what you're reading this on right now. I suspect the .NET solutions may have been more advanced (I'm writing this now in a glorified textbox, not some fancy DHTML-Word simulator, for example), but this is the one that was easiest to get running. Easy is good. Also, I'm really lazy.

Anyway, if you want to get Movable Type running on your Windows Server 2003 as I did, you'll need to get PERL installed first. I used ActiveState PERL. Installs painlessly. Note that Server 2003 has enhanced "lockdown" security out of the box – meaning, it won't run jack squat without manual intervention – so you must enable .CGI as an allowed "Web Service Extension" in the IIS console.

You'll also need to make index.html one of the default content pages, and don't forget to set up the .CGI extension mapping for PERL:

I opted to store the blog in a MySQL database, which I set up with the defaults. I configured MySQL to run as a service using the command line, and set the default root password

c:mysqlbinmysqld-nt --install
net start mysql
c:mysqlbinmysqladmin -u root password new_password

I then used the Mascon GUI tool to create a new database "mtype".

The Movable Type documentation is pretty good, so you'll do OK if you follow it closely from this point on. There is one caveat that was not mentioned in the documentation, however. The ASPN Perl doesn't come with the required DBI PERL module, so I almost immediately got an error when setting up my site. I found a link that offered the following commands to download and install it: 

C:>c:perlbinppm.pl
If you have not already done so, install DBI:
ppm> install DBI
If this succeeds, install the MySQL database driver:
ppm> install DBD-Mysql

After that it was smooth sailing.

Related posts

Coding Horror: Movable Type Since 2004

When I started this blog, way back in the dark ages of 2004, the best of the options I had was Movable Type. A Perl and MySQL based blogging platform may seem like an odd choice for a Windows-centric developer like me, but I felt it was the best of

By Jeff Atwood ·
Comments

Nobody Cares What Your Code Looks Like

In The Problems of Perl: The Future of Bugzilla, Max Kanat-Alexander* laments the state of the Bugzilla codebase: Once upon a time, Bugzilla was an internal application at Netscape, written in TCL. When it was open-sourced in 1998, Terry (the original programmer), decided to re-write Bugzilla in Perl. My understanding

By Jeff Atwood ·
Comments

Recent Posts

Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments
I Fight For The Users

I Fight For The Users

If you haven’t been able to keep up with my blistering pace of one blog post per year, I don’t blame you. There’s a lot going on right now. It’s a busy time. But let’s pause and take a moment to celebrate that Elon Musk

By Jeff Atwood ·
Comments
The 2030 Self-Driving Car Bet

The 2030 Self-Driving Car Bet

It’s my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger use

By Jeff Atwood ·
Comments