
sudo apt install -y software-properties-common dirmngr sudo apt-key adv -recv-keys -keyserver 0xF1656F24C74CD1D8 We are installing the required packages and adding the signing key to the system. Now it is time to install PHP 8: sudo apt install php8.0 php8.0-fpm php8.0-curl php8.0-mysqlnd php8.0-zip php8.0-mbstring php8.0-bcmath -y Installing and configuring MariaDB curl -sSL -o /etc/apt//php.gpg sudo apt update wget apt-key add /etc/apt//php.list'Īdding the GPG key and updating the packages. This will allow verification that the software we are installing has not been tampered with. Now back in the console, we will add the Tor Project’s GPG key used to sign the Tor packages. sudo nano /etc/apt/sources.listĪt the bottom of the file, paste the following two lines and save/exit.

While Debian does have a Tor package in the standard repositories, we will want to add the official Tor repositories and install from there to get the latest software and be able to verify its authenticity.įirst, we will edit the sources list so that Debian will know about the official Tor repositories. onion address ↓īefore configuring a relay, the Tor package must be set up on the system. The following introduction is for educational purpose only.

It is recommended to use an instance in a VirtualBox, so that you don't litter your main operating system and that you can start all over if something went wrong. For anonymous operation, it is recommended to bind services being offered to localhost and make sure that they do not leak information such as an IP address or hostname in any situation (such as with error messages).įor this guide, we assuming a Debian "Buster" system. Depending on your use-case, you may or may not choose to anonymize your service at all. Setting up a hidden service on Tor is a simple process and depending on the level of detail, an operator can keep their service completely anonymous. Just about anything that can be run on the clearnet can be run within the Tor deepweb.

This allows both users and service operators to conceal their identities and locations. Tor hidden services allow various types of services (web server, telnet server, chat server, etc) to be operated within the Tor network. Last updated:, written in EN 🇬🇧 How to setup a Tor hidden service with a custom address on Debian with Nginx, MariaDB, PHP (LEMP) + phpMyAdmin and SFTP access
