Overview

This is how to install the etherpad from http://etherpad.org/ in a FreeBSD-8.2 jail.

This guide assumes, you have sudo, bash and an editor of your choice installed. Reserve around 2GB space for the jail. If you're using a different shell, use setenv to configure the environment variables set by export in this guide. Send feedback to erdgeist. Many regards to this guide, it helped me a lot.

Install Scala + Java

Since etherpad does not build under the version of scala that is shipped with FreeBSD-8.2 (i.e. scala-2.8.0), we have to manually install scala-2.7.7. However, scala brings nice dependencies that help with the manual installation of the jdk. So we install scala-2.8.0 to get the dependencies, then deinstall it and install java and scala.

Install mysql, fastjar and java connector

Prepare mysql

Checkout etherpad

Configure etherpad

Rebuild the JAR

Rebuild the ace dependency

Rebuild the JAR with correct settings

Install nginx

Create Self Signed Certificates

Configure nginx

Install start script

Install openoffice

Configure name server

  +pads.domain.tld:192.168.0.23:43200
  +*.pads.domain.tld:192.168.0.23:43200

Filter local services