Skip to content


Installing Freenet on Debian server (command line)

This is actually more of an update to the previous guide under Ubuntu, since both are quite the same. So I won’t give much details but instead will focus on the few differences and improvements as well as the perspectives (Java 7).

First step: install Java. In the previous guide, for some reason I installed the JDK while obviously the JRE is enough… Also, since we are using the command line only (no GUI aka headless), the headless version is enough (which means much fewer dependencies).
apt-get install openjdk-6-jre-headless
Perspectives: as of today, unlike what’s seems to be written on the Debian wiki, Java 7 isn’t available for Debian Stable (Squeeze 6.0.5). When it is, it will be worth trying to install openjdk-7-jre-headless instead.

Second step: make room for freenet:
cd /where/you/want/to/install/it
mkdir someFolder
cd someFolder

Third step: grab and run the installer (NB: don’t do this as root, use another user or create one if needed, for this you can use the useradd or the adduser command):
wget https://freenet.googlecode.com/files/new_installer_offline_1407.jar
java -jar new_installer_offline_1407.jar

That’s pretty much it. Here’s the output from the installer (note that you get a last change to change the installation folder at the beginning):
Select target path [/where/you/want/to/install/it/someFolder]

press 1 to continue, 2 to quit, 3 to redisplay
1
[ Starting to unpack ]
[ Processing package: Base (1/4) ]
[ Processing package: License (2/4) ]
[ Processing package: Unix (3/4) ]
[ Processing package: UninstallStuff (4/4) ]
[ Unpacking finished ]
[ Starting processing ]
Starting process Setting up the environment (1/15)
Offline installation mode
Starting process Setting the Updater up (2/15)
Starting process Setting Opennet up (3/15)
Starting process Setting JSTUN up (4/15)
Downloading the STUN plugin
Starting process Setting UPnP up (5/15)
Downloading the UP&P plugin
Starting process Setting Librarian up (6/15)
Downloading the Library plugin
Starting process Setting KeyUtils up (7/15)
Downloading the KeyUtils plugin
Starting process Setting ThawIndexBrowser up (8/15)
Downloading the ThawIndexBrowser plugin
Starting process Setting plugins up (9/15)
Starting process Downloading freenet-stable-latest (10/15)
Starting process Downloading freenet-ext (11/15)
Starting process Detecting port availability (12/15)
Detecting tcp-ports availability...
Starting process Setting up auto-start (13/15)
Enabling auto-start.
Installing cron job to start Freenet on reboot...
Installed cron job.
Starting process Starting the node up (14/15)
Starting Freenet 0.7...
Starting process Cleaning up (15/15)
All done, please click Next
[ Console installation done ]

Now Freenet is installed and running (unlike with the previous version, no need to run run.sh). You can directly connect to http://127.0.0.1:8888 and finish the setup. See the previous guide about this part (notably how to connect if Freenet isn’t running on the same computer as yours).

Posted in cryptography, privacy, servers.


4 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. me says

    old being old.
    Jar-URL gives ERROR 404: Not Found.

  2. patheticcockroach says

    Actually, the link still works for me (I mean, me me, not me you ;)). Although of course you’ll want to grab the latest version there instead: https://freenet.googlecode.com/files/new_installer_offline_1423.jar

  3. Keith says

    This actually worked the first time!! Thanks for the information!

    • patheticcockroach says

      No problem, welcome to the club 😉
      Dont forget to let it run as often as possible (but maybe avoid running it too much on an SSD).



Some HTML is OK

or, reply to this post via trackback.

Sorry about the CAPTCHA that requires JS. If you really don't want to enable JS and still want to comment, you can send me your comment via e-mail and I'll post it for you.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA