I just installed Pyblosxom on Jamey's Debian server, and now I'm posting my installation notes on my new Pyblosxom blog!
Unfortunately, the Debian package for Pyblosxom has been orphaned. The package
version is 1.3.2, and the current Pyblosxom version is 1.4.3. Someone submitted
a bug report about the lack of updates, and included a link to a package they'd
updated to 1.4.2. This was before the package was orphaned, so no one could
sponsor an upload of the new package. I grabbed the 1.4.2 .deb file and
installed it with dpkg -i. Works great so far.
There are two installation pages on the Pyblosxom website that I found relevant: the Debian install instructions, and the CGI install instructions.
The Debian instructions are very short, and it didn't mention that the Debian
package installs flavours in
/usr/share/python-support/pyblosxom/Pyblosxom/flavours. I copied those files
to my homedir so that I could modify the HTML flavor and change the look of my
blog.
The CGI instructions didn't mention that flavourdir is a string, not a list of
strings. So it can only be one directory, not multiple directories. If you
wanted to keep the default Debian flavour directory, you would put this line in
your /etc/pyblosxom/config.py:
py["flavourdir"] = "/usr/share/python-support/pyblosxom/Pyblosxom/flavours"
My blog URL is currently at http://minilop.net/cgi-bin/pyblosxom.cgi The
installation instructions talk about using Apache mod_rewrite to change your
blog URL to something more sane, but you really don't need Apache. Jamey's
server runs LightTPD, and he's said you can do similar URL redirections with it.
Several times during the install, I had to check for Pyblosxom error messages in
/var/log/lighttpd/error.log.
| link | 1 comment(s)

