Installing Bedework

Install Java

Needs to be the Oracle JDK. Download the .bin file and make it executable. Create appropriate directory, change to it and run the .bin file.

update-alternatives --install "/usr/bin/java" java" "/usr/lib/jvm/jdk1.6.0_31/bin/java" 1

Creates link for java in /usr/bin/

update-alternatives --set java "/usr/local/bin/oracle-java-default/bin/java"

Not needed for a clean install – there are no other versions of java on the system.

Then in /etc/environment

JAVA_HOME="/usr/lib/jvm/jdk1.6.0_31"

Gave up at this point and decided to give DAViCal another go.

DokuWiki data migration

Migrating files in media directory under data works fine. Suspect copying over the pages directory into the new namespace would have worked ok as well, if namespace is flat and links are relative. For hierarchical structures there will be a lot of link editing to do, but that’s almost always the case anyway. And you need to browse all the pages to get them indexed anyway.