{% extends "global/layout.html" %} {% block title %}{{ _('How to Set up a Reseed Server using a Debian Package') }}{% endblock %} {% block lastupdated %}2023-01{% endblock %} {% block content %}

{% trans %}General Information{% endtrans %}

{% trans %} These guidelines are based on idk's reseed-tools server. There are no other known Debian-style packages for installing and configuring a reseed server. {% endtrans %}

{% trans %}To read the reseed policy, follow this link.{% endtrans %}

{% trans %}Please see the general information for all reseed servers in addition to reading this section.{% endtrans %}

{% trans %}Reseed on Debian using {% endtrans %} checkinstall, apt-get

{% trans %} It is possible to easily and automatically configure a reseed server with a self-signed certificate on any Debian-based operating system, including Ubuntu and it’s downstreams. This is achieved using the {% endtrans %} checkinstall {% trans %} tool to set up the software dependencies and the operating system to run the {% endtrans %} I2P {% trans %}service and the{% endtrans %} reseed {% trans %}service.{% endtrans %}

{% trans %}Using a binary package{% endtrans %}

{% trans %} If you do not wish to build from source, you can use a binary package from me(idk). This package is built from this repo with the {% endtrans %} make checkinstall {% trans %}target and uploaded by me. I build it on an up-to-date Debian sid system at tag time. It contains a static binary and files for configuring it as a system service. {% endtrans %}


wget https://github.com/eyedeekay/reseed-tools/releases/download/v0.2.30/reseed-tools_0.2.30-1_amd64.deb
# Obtain the checksum from the release web page and store it in the SHA256SUMS file
echo "38941246e980dfc0456e066f514fc96a4ba25d25a7ef993abd75130770fa4d4d reseed-tools_0.2.30-1_amd64.deb" > SHA256SUMS
sha256sums -c SHA256SUMS
sudo apt-get install ./reseed-tools_0.2.30-1_amd64.deb

{% trans %}Building the .deb package from the source(Optional){% endtrans %}

{% trans %} If your software is too old, it’s possible that the binary package I build will not work for you. It’s very easy to generate your own from the source code in this repository. {% endtrans %}

1. {% trans %}Install the build dependencies{% endtrans %}


sudo apt-get install fakeroot checkinstall go git make

2. {% trans %}Clone the source code{% endtrans %}


git clone https://i2pgit.org/idk/reseed-tools ~/go/src/i2pgit.org/idk/reseed-tools

3. {% trans %}Generate the .deb package using the make checkinstall target {% endtrans %}


cd ~/go/src/i2pgit.org/idk/reseed-tools
make checkinstall

4. {% trans %}Install the .deb package{% endtrans %}


sudo apt-get install ./reseed-tools_*.deb

{% trans %}Running the Service{% endtrans %}

1. {% trans %} First, ensure that the I2P service is already running. The longer the better, if you have to re-start the service, or if the service has very few peers, allow it to run for 24 hours before advancing to step {% endtrans %} 2.


sudo systemctl start i2p
# or, if you use sysvinit
sudo service i2p start

2. {% trans %}Once your I2P router is “Well-Integrated,” start the reseed service.{% endtrans %}


sudo systemctl start reseed
# or, if you use sysvinit
sudo service reseed start

{% trans %}Your reseed will auto-configure with a self-signed certificate on port{% endtrans %} :8443 . {% trans %}The certificates themselves are available in{% endtrans %} /var/lib/i2p/i2p-config/reseed . {% trans %}When you are ready, you should copy the{% endtrans %} *.crt {% trans %}files from that directory and share them with the I2P community on{% endtrans %} zzz.i2p . {% trans %}These will allow I2P users to authenticate your reseed services and secure the I2P network.{% endtrans %}

{% trans %}Contact us via email zzz at mail.i2p (alternatively, post in the reseed section on the zzz.i2p forum) Provide us with details about your new reseed server:{% endtrans %}

{% endblock %}