Install Notes - OpenBSD

The Easy Way

OpenBSD -current users can install Blogsum from -current ports/packages. Blogsum (and dependency p5-HTTP-Lite) were added after OpenBSD 4.6.

$ sudo pkg_add -i blogsum

And then follow the instructions in /var/www/blogsum/docs/README.OpenBSD to complete the setup.

The Almost-As-Easy Way

Dependencies

Required:

$ sudo pkg_add -i mod_perl p5-DBI p5-DBD-SQLite p5-HTML-Template p5-XML-RSS p5-HTTP-Lite
$ sudo /usr/local/sbin/mod_perl-enable

Optional (needed for WordPress migration script):

$ sudo pkg_add -i p5-XML-Simple

Downloading Blogsum

$ cd /var/www
$ sudo svn co http://svn.obfuscurity.com/blogsum/trunk blogsum

Create your Database

$ cd /var/www/blogsum
$ sudo sqlite3 data/site.db < examples/create_sqlite.sql
$ sudo chown -R www data

Optional (for importing WordPress xml):

$ sudo examples/wp2blogsum.pl /path/to/export.xml data/site.db

Configuring Blogsum

First, create your local user configuration.

$ sudo cp /var/www/blogsum/Blogsum/Config.pm.dist /var/www/blogsum/Blogsum/Config.pm

Remaining steps:

  1. Edit /var/www/blogsum/Blogsum/Config.pm for your site.
  2. If comments will be enabled, visit the CAPTCHA project and register your account. Add your keys to Config.pm.
  3. Edit /var/www/blogsum/examples/httpd-blogsum.conf for your site and place it somewhere appropriate (e.g. /var/www/conf/modules/).
  4. Create your AuthUserFile as defined in httpd-blogsum.conf.
  5. Edit your httpd.conf to Include your httpd-blogsum.conf.
  6. Enable rewrite_module, proxy_module and perl_module in httpd.conf.
  7. (Re)start your Apache.