Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thousandlemons/db0bfee22da6f806662f410e67f1cfc1 to your computer and use it in GitHub Desktop.
Save thousandlemons/db0bfee22da6f806662f410e67f1cfc1 to your computer and use it in GitHub Desktop.
How to setup your Ubuntu server as an always-on torrent downloader

How to setup your Ubuntu server as an always-on torrent downloader

In this tutorial, we are going to install Aria2 on your Ubuntu server, and use Yaaw as the GUI.

First, ssh to your Ubuntu server, and do the following

$ sudo apt-get update
$ sudo apt-get install aria2

Then, make sure you have the package screen on your Ubuntu server.

$ which screen 

If the console output is not something like /usr/bin/screen, it means you don't have screen installed on your Ubuntu server. To install screen, using the following command

$ sudo apt-get install screen

After you make sure you have screen installed, activate a new screen window,

$ screen

You will see an screen of informations about screen, then press space on the keyboard.

Now you can start the aria2 remote RPC server by

$ aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all

Finally, detach the current screen by pressing ctrl + a + k on your keyboard.

Now that we have finished configuring the server, we need to download the GUI for the downloader, Yaaw, from its official website.

Unzip the downloaded file, and open index.html in your favorite browser.

Click the settings button in the top left corner, and replace 127.0.0.1 with your server's IP address.

Now it's all ready. You can add download jobs using the GUI and monitor the download progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment