Exatorrent is a self-hosted BitTorrent client that allows users to download and share files using the powerful P2P network. In this tutorial, you will learn how to install Exatorrent on your Fedora server.
Before we begin, make sure you have the following items:
First, we need to update our system to ensure we have the latest software packages installed. To do this, log in to your server using SSH and run the following command:
sudo dnf update
Follow the prompts to complete the update process.
Exatorrent has a few dependencies that we need to install before we can run it. Run the following command to install these dependencies:
sudo dnf install -y git transmission-cli transmission-daemon nodejs npm
This will install Git, Transmission CLI and Daemon, Node.js, and npm.
Now that we have our dependencies installed, we can proceed to download and install Exatorrent. Run the following commands to download Exatorrent and install it:
git clone https://github.com/varbhat/exatorrent.git
cd exatorrent
npm install
This will download the latest version of Exatorrent from GitHub, navigate to the Exatorrent directory, and install its dependencies using npm.
Exatorrent uses Transmission to download torrents, so we need to configure Transmission before we can start using Exatorrent. Run the following command to create the Transmission configuration directory:
mkdir -p ~/.config/transmission-daemon/
Next, create a new configuration file using nano or your favorite text editor:
nano ~/.config/transmission-daemon/settings.json
Add the following lines to the file:
{
"peer-port": 45682,
"rpc-authentication-required": true,
"rpc-enabled": true,
"rpc-password": "your_password_here",
"rpc-port": 9091,
"rpc-username": "your_username_here",
"download-dir": "/path/to/downloads/",
"incomplete-dir": "/path/to/incomplete/"
}
Replace "your_password_here" with a strong password, and "your_username_here" with a username of your choice. Replace "/path/to/downloads/" and "/path/to/incomplete/" with the paths to your download and incomplete directories, respectively.
Save and close the file.
We are now ready to start Transmission and Exatorrent. Run the following commands to start Transmission and Exatorrent:
sudo systemctl start transmission-daemon
npm start
This will start Transmission as a service using systemctl, and Exatorrent will start listening for incoming connections.
Finally, you can access Exatorrent using your web browser. Go to the following URL:
http://your_server_ip:3000
Replace "your_server_ip" with the IP address of your server. You will be prompted to enter a username and password to log in. Use the same username and password you configured in the previous step.
Congratulations! You have successfully installed Exatorrent on your Fedora server. You can now start downloading and sharing files using Exatorrent.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!