Today you will learn about Deluge WebUI. There are most of the torrent clients that are available on the Linux support on a server mode aka a “web UI”. So, All of them also have something to bring to the table. It also includes in Deluge. The main reason that you have to go this with the Deluge client or the Deluge WebUI. This is over others is the fact that it is one of the most versatile and feature-filled clients out there.
Now, Without going on and on about Deluge. This is also worth pointing out that if you love advanced features this is the software for you. So, this will also support everything from a terminal mode. This is also having a server mode, and this is even having custom connection types like Socks5 proxies and the custom port settings. Using this article, then we will also go over how to install and also set up a Deluge torrent server on Linux. Then enable the Deluge WebUI, this is as well as Deluge Daemon, etc.
Remember that, ideally you can also install and also use a Deluge torrent server. This is available on a Linux computer just by running as a server. You have to Keep in mind that this does not mean that a Deluge torrent server. This will not work on desktop Linux, but it is not recommended.
How To Install Deluge Console, DelugeD, And Deluge WebUI:
Now, The very first step in that this process and you have to install the Deluge software. You have to Open up a terminal and then follow the commands that will also match the operating system you use.
The Ubuntu and Ubuntu server also has a pretty up-to-date version of the Deluge torrent client. Also, said that it is always good to have the official PPA for security’s sake. You can also use this command to add the PPA.
sudo add-apt-repository ppa:deluge-team/ppa
After that, the PPA is on the system. You can also refresh Ubuntu’s software sources just by using the apt update command.
sudo apt update
You can also Run the update will also undoubtedly reveal that. Some programs need updating. Now, Install these updates, and then do not ignore them. So, these could be patches that help Ubuntu run better.
sudo apt upgrade -y
After that, everything is up to date, and then install the latest version of the Deluge software.
sudo apt install deluged deluge-console deluge-webui
sudo apt-get install deluged deluge-console deluge-webui
The Arch Linux:
sudo pacman -S deluge
sudo dnf install deluge deluge-common deluge-daemon deluge-web
sudo zypper install deluge
To Turn on HTTPS | deluge WebUI:
In case, if you want to secure the Web UI, then you can also install a free. So, Let’s Encrypt the certificate. The First thing is that you have to install the Let’s Encrypt client (certbot) on Ubuntu 20.04 server as well.
sudo apt install certbot python3-certbot-nginx
The above one is actually the Certbot Nginx plugin. So, After that they are installed, then you have to run the following command and then automatically obtain and install the Let’s Encrypt certificate.
sudo certbot --nginx --redirect --agree-tos --hsts --staple-ocsp --email email@example.com -d torrent.yourdomain.com
- A –Nginx: Use the Nginx authenticator and installer
- The –agree-to: Agree to Let’s Encrypt terms of service
- To –redirect: Enforce HTTPS by adding 301 redirects.
- A –staple-ocsp: Enable OCSP Stapling.
- An –email: Email used for registration and recovery contact.
- The -d flag is basically followed by a list of domain names. Also, separated by a comma. Then You can add more than 100 domain names.
This will also ask you if you want to receive emails that are from EFF(Electronic Frontier Foundation). Then After selecting Y or N, your TLS certificate will also automatically obtained and configured for you as well.
Would you Trouble Obtaining TLS Certificate? | deluge WebUI
In case, if you see the following error if try to obtain a TLS certificate:
module 'acme.challenges' has no attribute 'TLSSNI01'
Then You have to edit a config file.
sudo nano /usr/lib/python3/dist-packages/certbot_nginx/configurator.py
return [challenges.HTTP01, challenges.TLSSNI01]
After that save and close the file. Then run the above certbot command again.
Ways To Configure Deluge WebUI:
Now, All of the software that will require that this is for Deluge. So, this is also installed and also ready to go. After that, it is time to turn on the Deluge Daemon. Then You can also Go to the terminal and then run the deluged command. After that, There are two ways to run this daemon. So, This will also run the system init tool, or also with the deluged command. Now, You have To start it with the system, and then you can also use the systemctl command.
So, the very First thing that you have to make the DelugeD service.
sudo -s cd /etc cd systemd cd system touch deluged.service nano /etc/systemd/system/deluged.service
Now, paste the code below into the new file:
Description=Deluge Bittorrent Client Daemon
# Time to wait before forcefully stopped.
sudo systemctl start deluged
Also, and then enable the Daemon at boot with:
sudo systemctl enable deluged
Most of the case, if you don’t want to fuss with the Systemd. Then the Daemon can also run without it. So, This is For the best results, and then just by try using the /dev/null command. Now, you have to put the Deluge Daemon in the background as the current user.
nohup deluged &>/dev/null &
Disconnect it from your user (if you want) with:
This is the time to set up the user that is for Deluge Daemon. You can also use echo to push a new user to the configuration file. Then Change “user” to the name of the existing user on the system. You have to Be sure that you enter the same password as your system user.
Then Note that 10 means if your system user also has full access to modify Deluge.
echo "user:password:10" >> ~/.config/deluge/auth
After that, the user is correctly configured, and then kill the daemon and also start it back up. So, This will also be done with system or killall.
sudo systemctl stop deluged sudo systemctl start deluged
nohup deluged &>/dev/null &
Now, Using the command-line, interact with Deluge and then change the settings so that the Daemon will allow remote connections:
config -s allow_remote True
After that the config change is done in Deluge Console, exit it with quit.
Now, Lastly, you can also enable the Deluge WebUI connection.
How To Use?
Now, Your Deluge Torrent server is also working perfectly, and can also access this from any location using the web browser. You have To use the new Web UI and then open up a new browser tab and visit the following URL:
Is not sure what your device’s IP address is? Try this command:
ip addr show | grep 192.168
When you have gotten the Deluge Web UI page to load. Then you will also need to provide a password, as the web interface is secured. Now, The default password to log in is “deluge”.
This is Upon successful login, and the system will also prompt you to change the default password. You have to follow the prompts on the screen to do it, and then click on “OK” when finished. After that, The password should update automatically.
Having a Note On Legality:
This is no secret that torrent sites and torrent clients are used to share and download copyright-protected content. Now, you do not encourage this and also the purpose of this post. This is not to show you how you can download such content. Having a torrent client, and torrent files themselves are also a good way to share files and also not necessarily a synonym for copyright infringement. In case, if you choose to use a torrent client to download copyright-protected content. Then you are likely breaking a law. You Do so at your own risk.
So, All of them also have something to bring to the table. It also includes in Deluge. The main reason that you have to go this with the Deluge client or the Deluge WebUI. This is over others is the fact that it is one of the most versatile and feature-filled clients out there. Now, Without going on and on about Deluge. This is also worth pointing out that if you love advanced features this is the software for you. So, this will also support everything from a terminal mode. This is also having a server mode, and this is even having custom connection types like Socks5 proxies and the custom port settings.
Then enable the Deluge WebUI, this is as well as Deluge Daemon, etc. Remember that, ideally you can also install and also use a Deluge torrent server. This is available on a Linux computer just by running as a server. You have to Keep in mind that this does not mean that a Deluge torrent server. This will not work on desktop Linux, but it is not recommended.
Hope this guide will help you. If you have any questions then let us know in the comments below.