Freenet Installation and Administration

Peter demonstrates how to take advantage of the World Wide Web alternative, Freenet.
Day-to-Day Administration

Properly set up, a Freenet node shouldn't need any ongoing administration. However, there are a few automatable tasks that need to be done. First of all, the log files need to be rotated. Secondly, you'll want to restart the Freenet software periodically. Currently the disk (and I believe memory) usage of Freenet tends to balloon unless you restart your node periodically. Both rotating the log files, which requires restarting the node anyway, and restarting the node can be easily done with the script restart_script (shown in Listing 1). For your average node, restarting once a week should be fine.

Listing 1. restart_script

Recommended JDKs

IBM's JDK is probably the easiest JDK to install. It's precompiled and works, plus it's one of the faster JDKs out there. On the downside it's proprietary and requires registration to download. Both tarball and Red Hat RPMs are available at:

Kaffe, the OpenSource JDK, is another, more difficult option. You will have to compile in gmp support, something most distributions don't do in their Kaffe packages. A Debian package for Kaffe with gmp support is available from Mr. Bad's site, above. Otherwise, compile from anonymous CVS or a source package to which you apply the patch found in the Freenet README. Make sure you enable gmp support with the --enable-gmp option when you run ./configure.


Peter Todd, who will be 16 by the time this article is published, has been using Linux for three years (exclusively for one and a half years). He attends Woburn Collegiate where he can be found in Ms. Plachta's grade 12 enriched computer science class and in the music hall. He can be contacted at and has a web site at


White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState