Installing and running Movable Type on OpenSolaris
By drapeau on Nov 08, 2009
Eric Reid in ISV Engineering recently made Movable Type available in the OpenSolaris "pending" repository of software, the "pending" meaning "please somebody test this package so we can vote it into the "contrib" third-party software repository. So, I spent some time checking out the installation and configuration process for Movable Type. Here is what I did and what I observed.
First, I set up the OpenSolaris to find packages from the Source Juicer "pending" repository, with these two steps:
- type "pfexec pkg set-publisher -O http://jucr.opensolaris.org/pending jucr-pending"
- type "pfexec pkg refresh"
One more thing: we've configured MovableType to use the PostgreSQL database by default; before quitting Package Manager, I selected the main "opensolaris.org" repository, then selected PostgreSQL 8.3 packages (the server and client packages, plus one for docs and manual pages) and installed those.
Next step: get the database running. I don't know much about PostgreSQL (shame on me), so I cheated by looking at this nice blog entry to show me what I needed to do to configure it as a nice Solaris service, so that it will launch for me automatically.
Got the database running, created a database called "mtype", granted all privileges to that database for a user I created, and was ready for the next step: web-based configuration of MovableType.
I launched my web browser and went here: http://localhost/movabletype to bring up the easy-to-use web-based installer. It checked the system, told me everything was fine (except that I'm missing a few optional components that won't hurt me; I tested on a minimally-installed system), then asked me some questions about the name of the database to use, which user and password, then it took a minute to churn. No problem, it was ready to go.
After install, MovableType brought up a web page asking me to login. I did so, created my first blog entry (which was incredibly easy to do), then saw it published.
I made a minor mistake when I set up MovableType: it asked me where I wanted to publish my blog. I mistakenly said "http://localhost/my_first_blog". I should have said "http://localhost/movabletype/my_first_blog", because the web server has write access to that directory. This messed up subsequent preview and blog navigation actions, but when I entered the correct URL, everything worked just fine. Pilot error, not the package's problem.
Next, I created a new user, gave that user access to the original blog (so now I have a blog that can have two different authors), and tested it by posting a guest blog entry. Yep, it worked. Next, tried posting a comment to the blog. That worked, too.
I futzed around a little bit with the Movable Type features. Although I didn't spend a ton of time on it, everything seemed to work as expected.
So, check it out, Movable Type users. Does Movable Type worke okay for you on OpenSolaris? It was pain-free for me, but let us know what you think.
Powered by ScribeFire.