Paul Holbrook's Radio Weblog : Worth $40 a year? You decide ..
Updated: 4/8/2003; 8:56:21 PM.

 

Subscribe to "Paul Holbrook's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Monday, July 22, 2002
Movable Type under mod_perl

I've finally been able to get Movable Type run under mod_perl. That's useful when you're running MT on an old P133. I was able to do this as a side-effect of upgrading to Debian 3.0: I was able to get to download all the up-to-date libraries I needed to make it work.

I had to make one small tweak that I didn't find in the MT documentation about running under mod_perl. I was using their first setup, which they describe as running MT under Apache::Registry. That almost worked, but when I clicked some MT functions - looking at my templates, for example - Perl complained that it couldn't find my Template.pm library. I had to throw a

<Perl>
use lib '/real/path/to/mt/lib';
</Perl>
into my Apache config file to point to my MT libraries before that would work.

I've also never quite taken the time to learn Apache like I probably should, so it also took me a while to figure out that the <Location> directive mentioned in the MT mod_perl documentation referred to my MT directory as it would appear in a url: IE, <Location /mt>, not <Location /var/www/mt>.


2:53:10 PM      comment []
Debian 2.2 to 3.0 upgrade for me ...

Debian 3.0 came out late last week. My home Linux box runs Debian. I was running Debian 2.2, which was released way back in August 2000. I'm a sucker for upgrades. It was against my better judgment to attempt an upgrade of my Linux box: I rely on it for email and web service, but I'm an addict: if there's something newer out there, the pull is too strong.

The short story: it actually seemed to have gone off ok. For reasons I'll get to, it took about 24 hours before my system was back to normal again, but now a number of long standing annoyances have gone away. And Debian 3.0 finally gets to packages that I've wanted to run but had to build my own versions of, such as Emacs 21 and Python 2.2. I've been vaguely considering moving to some other Linux or perhaps FreeBSD distribution to get something that had more of what I want, but now that Debian is up-to-date, I'll probably stay put for a while.

Back to why it took me a day to get it done: downloading the changes wasn't the real time sink. To do the 2.2 - 3.0 upgrade, dselect (a Debian package manager) downloaded about 250mb worth of new packages. I think the problem was that I had slightly broken my installation of Perl recently when I was trying to get a newer version. I ended up in a cycle where I had to have Debian go through the dselect Install phase a number of times. It appears that if you hit a package that doesn't install, dselect stops there and doesn't go on. (Or perhaps the installs after that fail). Another thing that slowed me down was that some packages stop during installation to ask questions. (When you're upgrading an already running system, you don't want the new installation to smash all the old configurations.) We went to dinner Saturday night and church Sunday morning, so I wasn't able to get to some of those questions for a good 18+ hours.

The final result looks good. My only complain right now is that I haven't been able to upgrade from a 2.2 to a 2.4 kernel: my /boot partition is too small to put another kernel on it. I'd just move /boot into my main parition, but you can't unmount /boot while you're running. I think I'd have to boot off a floppy to make this work.


2:39:16 PM      comment []

© Copyright 2003 Paul Holbrook.



Click here to visit the Radio UserLand website.

 


July 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Jun   Aug


 4/7/03
 1/29/03
 1/26/03
 1/23/03
 1/23/03
 1/23/03
 1/21/03
 1/21/03
 1/16/03
 1/16/03
 1/15/03
 1/14/03
 1/14/03
 1/14/03
 1/5/03
 1/5/03
 1/3/03
 1/2/03
 1/2/03
 1/1/03
 12/30/02
 12/28/02
 12/26/02
 12/24/02
 10/8/02
 10/8/02

Home Page