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
Second step: make room for freenet:
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
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
[ 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)
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).