TWiki on NetBSD
Running TWiki on
NetBSD is easy. It is similar to running on
FreeBSD or
OpenBSD; the only difference is perhaps the pathnames of certain bins.
TWiki configuration specific to
NetBSD is:
- By default, the htdocs directory for apache are stored in /usr/pkg/share/httpd/htdocs/. I mention this because it can be hard to find the first time.
- I just hard link this directory to
/www for convenience.
- The bin/ perl scripts must be editted to point to the perl binary on NetBSD.
- Change the first line of each script so that
#!/bin/perl -wT becomes #!/usr/pkg/bin/perl -wT
- The TWiki.cfg should be modified to include /usr/pkg/bin in the "safe environment path" variable (if necessary).
- The TWiki.cfg should be modified to point to /usr/bin/egrep and /usr/bin/fgrep (if necessary).
I believe those are the only modifications necessary to run on
NetBSD. I have run TWiki on
NetBSD 1.5.x and 1.6 without problems.
Since
NetBSD has ports to different platforms such as embedded devices, it is possible to run
NetBSD with apache and TWiki on your PDA, handheld, or superlite laptop (such as HP Jornada or some handhelds which run Windows CE). I am planning on exactly this configuration -- a PDA running
NetBSD, apache, and a personal TWiki. I would then use this for TWiki in the palm of my hand, and sync (upload) with a server periodically.
--
JonathanCline - 27 Nov 2002