User Tools

Site Tools


A cookbook on how to download and install the bleeding edge of the NAV development version on a freeBSD machine

FIXME: Can someone who knows their way around the FreeBSD ports system add info on how to get a Mercurial client for FreeBSD?

- Make a directory, example : /usr/local/src/nav
- cd /usr/local/src/nav
- hg clone
  (You need a Mercural client package)
   A directory /usr/local/src/nav/default is created
- Some Mercurial commands :
  hg pull
  hg update
  hg log

01) nav stop
    /usr/local/etc/rc.d/ stop
    /usr/local/etc/rc.d/ stop
    /usr/local/etc/rc.d/ stop
02) mv /usr/local/nav /usr/local/nav-DATE
03) cd /usr/local/src/nav/default
      hg pull
      hg update
04) cd /usr/ports/net-mgmt/nav
      make clean
      unset JAVA_HOME
      make extract
      cp -R /usr/local/src/nav/default/* /usr/ports/net-mgmt/nav/work/nav-3.0_beta10/
      make install
05) (new shell) su -
      . /usr/local/nav/bin/
      ln -s /usr/local/cricket /usr/local/nav/cricket
      ln -s /usr/local/cricket/public_html /usr/local/nav/apache/webroot/cricket
      /usr/local/etc/rc.d/ start
      /usr/local/etc/rc.d/ start
      /usr/local/etc/rc.d/ start
06) edit:
07) Start nav + maybe stop some services
      nav start
      nav stop logengine

Contributed to NAV wiki by roar.pettersen at and borge brunes at

devvertofreebsd.txt · Last modified: 2012/05/07 11:21 by morten