Install MovableType on OS X Server
Feb 10, '03 08:22:00AM
Contributed by: shurakai
With the Help of several people in the Forums (and other sources), I've come up with these directions to install MovableType (a blogging system) on OS X Server so that MovableType uses MySQL as its databasing system.
Read the rest of the article for the how-to...
 Panther broken! |
Instructions:
- Enable Root User with /Applications -> Utilities -> NetInfo Manager.app.
- Bring up Terminal.app and type su root.
- Unpack all the MT files under /Library -> WebServer -> MovableType by typing:
% cd /Library/WebServer
% zcat /path/to/MT-2.51-full-lib.tar.gz | tar xvf -
% mv MT-2.51-full-lib MovableType
- With a text Editor, edit mt.cfg in the MovableType directory. Do the following:
- Configure Apache for the MovableType directory. Edit /etc/httpd/httpd.conf, and add the following (perhaps before the last "Include" line):
Alias /mt/ "/Library/WebServer/MovableType/"
<Directory "/Library/WebServer/MovableType/">
AddHandler cgi-script .cgi
Options ExecCGI
Order Allow,Deny
Allow from all
</Directory>
<Location /mt/db/>
Order Deny,Allow
Deny from all
</Location>
- Download the DBI Bundle from here
- Open the package and make sure to select DBI::mysql package in the installation options
- Change mt-db-pass.cgi to hold your password for MySQL. Open mt-db-pass.cgi with your text editor and simply replace "database_password" with the password of your MySQL user (needs to match the info you added to the mt.cfg file).
- Start / restart the web server from System Preferences / Sharing under the "Personal Web Sharing" entry.
- Point your browser to http://localhost/mt/; you should see the docs
- Safari seems to have issues with "localhost" HREFs; use 127.0.0.1 if you get a URI such as http://mt/docs/mtinstall.html without the host name.
- Run the Perl module check at this URL: http://127.0.0.1/mt/mt-check.cgi
- Bootstrap the data store with this URL: http://127.0.0.1/mt/mt-load.cgi
- Remove mt-load.cgi from the system by typing:
% rm /Library/WebServer/MovableType/mt-load.cgi
- Log in as user "Melody", password "Nelson" on the main mt page (http://127.0.0.1/mt/mt.cgi)
- Follow the steps in the install docs.
That's it! Now just Blog!
Sources:
MovableType
Forums thread
[Editor's note: I have not tested this myself...]
Comments (17)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030210052253511