Download torrents in VPS server using web based GUI

There are many command line programs which can be used to download torrents from the VPS server. Most of us are familiar with uTorrent. It has extremely familiar and easy to use GUI.

This guide is for those who hate to use unix command line each time to download torrent or one who need a web based platform to download anytime/anywhere from publicly accessible web link.

We have an open source web based torrent downloader called rTorrent. It used to be a cumbersome process to install rTorrent but with the advent of docker, its just 3-4 commands away Smile


To install rTorrent, issue below commands in a Ubuntu based VPS :

Create rtorrent directory :
mkdir ~/rtorrent
cd ~/rtorrent
Let us password protect the web access by creating a .htpasswd file. Replace the username and password.
printf "username:$(openssl passwd -apr1 "password")\n" > .htpasswd
Lets install docker platform in our ubuntu based OS:
sudo apt install docker docker.io
Now we will download and run the diameter/rtorrent-rutorrent image
docker run -dt --name rtorrent-rutorrent -p 8080:80 -p 49160:49160/udp -p 49161:49161 -v ~/rtorrent:/downloads diameter/rtorrent-rutorrent:64
Thats it :) Just open the server ip address in port 8080 (Ex: 67.11.11.11:8080)

image


You will be presented with a uTorrent like GUI. This works exactly like uTorrent. To add a torrent click on globe icon as per the screenshot above.

P.S: I struggled to find how to download .magnet torrents.It's very easy; just enter the magnet link in the Torrent URL field Smile

About This Blog

There is something for everyone. !! A tech blog on various topics. Let it be devops, programming etc; we have it all covered here in layman terms :)

Total Pageviews

Back to TOP