Dashboard > Penrose Community > ... > Wiki > Penrose Server on FreeBSD
Penrose Server on FreeBSD
Added by Ian Tegebo, last edited by Ian Tegebo on Aug 23, 2006
Labels: 
(None)


Introduction

Careful

This has only been tested on FreeBSD 6.1 with a Current ports tree as of 2006/08/22!

Preparation

Java on FreeBSD can be a tall order right now. Check out their docs for more info. This document assumes you don't want to run X on your server. That won't matter because the java port is going to install all of the libraries.

Dependencies

  • java/jdk15: For well...dude you just need Java.
  • devel/apache-ant: For building.
  • java/bouncycastle: For SSL.
cd /usr/ports/java/jdk15
make fetch-recursive
portinstall -m WITHOUT_WEB=yes java/jdk15
portinstall devel/apache-ant java/bouncycastle converters/unix2dos
Handy Hint

Without the make fetch-recursive your build of java/jdk15 will halt at various points while you hunt down the needed distfiles.

Building

svn co https://svn.safehaus.org/repos/penrose/trunk
cd trunk
dos2unix build.xml
dos2unix server/build.xml
ant -Dprefix="/usr/local" dist-unix

Questions

  • Is it really necessary to do dos2unix build.xml?
  • What's the best way to use ant to get files where they need to go?

Installing

ant -Dpenrose.home="/usr/local/penrose" install

Future Work

  • Figure out how to modify the install process to produce the following directory structure:
    • /usr/local/lib/penrose
    • /usr/local/etc/penrose
      • /usr/local/etc/rc.d/penrose.sh
    • /usr/local/bin
    • /var/log/penrose

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators