Install anon on Linux

This guide walks you through the process of installing and configuring the Anyone Relay on a Debian based x86 or arm64 Linux systems and support for more distributions will follow in a near future.

The Anyone Relay is a critical component of the Anyone Protocol, which ensures anonymity and privacy in network and internet communications.

Whether you followed the instructions in Step 1: Setting up Your Environment or want to install the anon software directly using our provided methods, continue reading..


Debian and Ubuntu

"I am running a Debian based Operating System and want to install the anon binary!"

To kickstart the installation process, execute the following command in your terminal or visit our APT Repository instructions for a more hands-on experience:

Copy ->
sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ATOR-Development/anon-install/main/install.sh)"

This command initiates the download and execution of the installation script directly from our GitHub repository. Throughout the installation, you'll be prompted to provide necessary configurations for setting up the Anon Relay on your system, ensuring a tailored and secure deployment.

You can restart the script at any time to reconfigure the relay if you made a mistake during the process or want to change anything.

Upon successful installation, you'll receive a congratulatory message, indicating that the Anon Relay has been installed and configured successfully.

"Anon installation completed successfully."

To make sure the Relay is reachable, check Confirm ORPort Reachability.

User Configuration Input Step-by-Step

Example:
Enter your desired nickname for the Anon Relay (1-19 characters, only [a-zA-Z0-9] and no spaces): MyRelayNickname
Enter your contact information for the Anon Relay: Email <email AT example DOT com>
Enter comma-separated fingerprints for your relay's family (leave empty to skip): 6TE606BE5CB537A93E2CD0F2F5AJ0EA4C8B42FDB,0313A82A4CE6F9C4C1451099F91A1424BAC714M0
Enter BandwidthRate in Mbit (leave empty to skip): 80
Enter BandwidthBurst in Mbit (leave empty to skip): 100
Enter ORPOrt [Default: 9001]: 9002
Anon installation completed successfully.
Nickname Enter a unique nickname for your Anon Relay

Example: Enter your desired nickname for the Anon Relay: MyRelayNickname Source: Nickname

Contact Information Provide the contact information that will be associated with your Anyone Relay.

Multiple Examples, only select one format: Enter your contact information for the Anon Relay: Email <email AT examples DOT com>

Email <email@example.com>

email@example.com Source: ContactInfo

MyFamily (Optional or Required) If you're setting up more than one relay, fingerprints have to be specified in MyFamily.

Example: Enter comma-separated fingerprints for your relay's family: 6TE606BE5CB537A93E2CD0F2F5AJ0EA4C8B42FDB,0313A82A4CE6F9C4C1451099F91A1424BAC714M0 Source: MyFamily

BandwidthRate (Optional) Enter a number If you want to specify a bandwidth rate for your Anyone Relay.

Example: Enter BandwidthRate in Mbit (leave empty to skip): 80 Source: BandwidthRate

BandwidthBurst (Optional) Enter a number If you want to specify a bandwidth rate for your Anyone Relay.

Example: Enter BandwidthBurst in Mbit (leave empty to skip): 100 Source: BandwidthBurst

Custom ORPort (Optional) Specify a custom port if you Don't want to use the default port 9001.

Example: Enter ORPOrt [Default: 9001]: 9002 Source: ORPort


Maintenance and Monitoring

Additionally, you'll find some handy Linux Terminal commands for managing and maintaining your Anyone Relay instance. You can use SSH for remote management (Powershell) of the Linux Operating System and anon if you are on Windows. Otherwise use a regular SSH connection from another bash prompt or terminal window on on a remote machine.

Check status for anon service

sudo systemctl status anon

Start, stop and restart anon service

sudo systemctl start anon
sudo systemctl restart anon
sudo systemctl stop anon

Update Anon to the latest version

Keep your Anyone Relay up-to-date with the latest enhancements and security patches by running

sudo apt-get update --yes
sudo apt-get install --only-upgrade anon --yes

Monitor anon service log

Stay informed about the operation of your Anyone Relay by monitoring the service log with

sudo tail -f /var/log/anon/notices.log

Edit relay configuration

sudo nano /etc/anon/anonrc

Verify relay configuration

sudo /usr/bin/anon -f /etc/anon/anonrc --verify-config

To simplify future operations and grant monitoring permissions, it's recommended to add your user to the 'debian-anon' group. This eliminates the need for sudo privileges when running monitoring tools like Nyx. Refer to our provided instructions on how to install Nyx for enhanced monitoring capabilities.

sudo usermod -a -G debian-anon $USER

Take the next step towards enhancing yours and others network privacy and security with the Anyone Relay.

Registration and Rewards Program

Last updated