Pacotes da I2P no Debian
Debian ou Ubuntu, todas as versões
Os pacotes Debian devem funcionar na maioria das plataformas em execução:- Ubuntu (Bionic 18.04 and newer)
- Mint(Tara19) or newer
- Debian Linux (Buster and newer)
- Knoppix
- Opção 1: Versões recentes do Ubuntu e derivados (Tente isto se você não está usando o Debian)
- Opção 2: Debian (incluindo derivados do Debian)
Instruções para Ubuntu e derivados como Linux Mint & Trisquel
Adicionando o PPA via linha de comando e instalando a I2P
-
Abra um terminal e digite:
sudo apt-add-repository ppa:i2p-maintainers/i2p
This command will add the PPA to/etc/apt/sources.list.d
and fetch the gpg key that the repository has been signed with. The GPG key ensures that the packages have not been tampered with since being built. -
Informe o seu gerenciador de pacotes sobre o novo PPA, digitando:
sudo apt-get update
Este comando retornará a última lista de software de cada repositório autorizado no seu sistema, incluindo o PPA da I2P que foi adicionado com o comando anterior. - Você já está pronto para instalar a I2P!
sudo apt-get install i2p
Adding the PPA Using the Software Center
-
Open "Software and Updates" via the applications menu.
-
Select the "Other Software" tab and click the "Add" button at the
bottom to configure the PPA.
-
Add the PPA by pasting the URL:
ppa:i2p-maintainers/i2p
into the PPA dialog. -
Download the repository information with the "Reload" button.
-
Install the I2P software using the "Software" tool from the
applications menu.
Instruções para o Debian
Arquiteturas atualmente suportadas: amd64, i386, armhf, arm64, powerpc, ppc64el, s390xNote: The steps below should be performed with root access (i.e., switching
user to root with su
or by prefixing each command with sudo
).
- ,
- Ensure that
apt-transport-https
,curl
,lsb-release
are installed.sudo apt-get update sudo apt-get install apt-transport-https lsb-release curl
-
Check which version of Debian you are using on this page at the Debian wiki
and verify with
/etc/debian_version
on your system. Then, for Debian Bullseye or newer distributions run the following command to create/etc/apt/sources.list.d/i2p.list
.
# Use this command on Debian Bullseye or newer only. echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(lsb_release -sc) main" \ | sudo tee /etc/apt/sources.list.d/i2p.list
# Use this command on Debian Downstreams like LMDE or ParrotOS only. echo "deb [signed-by=/usr/share/keyrings/i2p-archive-keyring.gpg] https://deb.i2p2.de/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \ | sudo tee /etc/apt/sources.list.d/i2p.list
# Use this command on Debian Buster or older only. echo "deb https://deb.i2p2.de/ $(lsb_release -sc) main" \ | sudo tee /etc/apt/sources.list.d/i2p.list
# Use this command on Debian Buster or older only. echo "deb https://deb.i2p2.de/ $(dpkg --status tzdata | grep Provides | cut -f2 -d'-') main" \ | sudo tee /etc/apt/sources.list.d/i2p.list
- Baixe a chave usada para assinar o repositório:
curl -o i2p-archive-keyring.gpg https://geti2p.net/_static/i2p-archive-keyring.gpg
- Display the key fingerprint.
gpg --keyid-format long --import --import-options show-only --with-fingerprint i2p-archive-keyring.gpg
7840 E761 0F28 B904 7535 49D7 67EC E560 5BCF 1346
- Copy the keyring to the keyrings directory:
sudo cp i2p-archive-keyring.gpg /usr/share/keyrings
/etc/apt/trusted.gpg.d
.sudo ln -sf /usr/share/keyrings/i2p-archive-keyring.gpg /etc/apt/trusted.gpg.d/i2p-archive-keyring.gpg
-
Notify your package manager of the new repository by entering:
sudo apt-get update
- You are now ready to install I2P! Installing the
i2p-keyring
package will ensure that you receive updates to the repository's GPG key.
sudo apt-get install i2p i2p-keyring
Uma vez que o processo de instalação tenha terminado, você pode avançar para inicializando a I2P e configurando-a para o seu sistema.
Trabalho pós-instalação
Usando estes pacotes da I2P o roteador I2P pode ser inicializado das três maneiras seguintes:-
"sob demanda" usando o script i2prouter. Simplesmente digite "
i2prouter start
" na interface de linha de comandos. (Nota: Não usar "sudo" ou executá-lo como root!) -
"on demand" sem o java service wrapper
(necessário em sistemas não-Linux/não-x86) executando "
i2prouter-nowrapper
". (Nota: Não use sudo nem execute como root!) -
como um serviço que se inicia automaticamente com a inicialização do sistema, mesmo
antes de logar-se. O serviço pode ser ativado com "
dpkg-reconfigure i2p
como usuário root ou usando 'sudo'. Essa é a forma recomendada de operação.
Ao instalar pela primeira vez, por favor lembre-se de ajustar o NAT/firewall se você puder. As portas a serem encaminhadas podem ser encontradas na página de configuração de rede no console do roteador. Se for necessário uma orientação a respeito do encaminhamento de portas, você pode encontrar no portforward.com, pode ser útil.
Por favor, reveja e ajuste as configurações da banda larga na página de configurações, uma vez que os valores pré-definidos 96 KB/s para download / 40 KB/s para upload são relativamente conservadores.
If you want to reach I2P Sites via your browser, have a look on the browser proxy setup page for an easy howto.