Movable Type Open Source in Spanish

I'm the mantainer of the Spanish translation for the european office of Six Apart. As you may know, the company launched Movable Type Open Source, the open source version (GPL2) of its blogging platform. I welcomed this as I've been fan and promoter of libre software since 1996 (the days were I installed my first Slackware distro).

Right now, MTOS is only available as nightly builds and through subversion, because of the early release of the software (yet beta). At this moment, they are working on the automation of the nightly builds and aren't available, and playing with subversion and makefiles is not for everyone. So, for the impatient people like me, I've build an unofficial package of MTOS-ES (Spanish), using last night's repository (Dec 14th).

The installation instructions are similar to those of MT4. (Warning: this package is beta software, don't install o upgrade it in production environments).

PS: Jan, 29th 2008 - Unofficial package of MT4.1-ES stable.


Installing Movable Type 4 (beta) in OSX

It's very easy to install MT4 (beta 1) in OSX 10.4.

1. Download MT.

2. Deploy MT files

$ mkdir -p ~/Sites/mt4/cgi-bin/
$ mkdir ~/Sites/mt4/static/
$ chmod 777 ~/Sites/mt4/cgi-bin/
$ chmod 777 ~/Sites/mt4/static/
$ tar xvzf mt-xxxxx.tar.gz

3. Install MySQL

4. Configure MySQL

$ mysql mysql
mysql> CREATE DATABASE 'mt4db';
mysql> GRANT ALL PRIVILEGES ON 'mt4user'@'locahost' IDENTIFIED BY 'mt4password';
mysql> FLUSH PRIVILEGES

4. Install CPAN modules

$ sudo perl -MCPAN -eshell
> install DBI
> install DBD::mysql

5. Configure Apache

- Activate it in System Preferences > Share > Share web
- Edit /etc/httpd/users/(my user).cfg
- Add this code using vim:

<Directory "/Users/<your OSX user>/Sites/mt4/cgi-bin">
        Options ExecCGI
        AddHandler cgi-script .pl .cgi
</Directory>

6. Restart Apache

$ sudo apachectl restart

7. Start MT4 install proccess

- Go to http://localhost/~<your OSX user>/mt4/
- There you are!
- Select MySQL as default database
- Type the correct MySQL settings (database, user and password)
- Use sendmail for email
- Create your personal account
- When the install proccess is over, fix the cgi permissions

$ chmod 755 ~/Sites/mt4/cgi-bin/

That's all folks!