How to Install WebUI-aria2 on Debian Latest

Introduction

WebUI-aria2 is an interface that allows you to control aria2 from a web browser. aria2 is a lightweight multi-protocol command-line download utility that can handle HTTP, FTP, BitTorrent, and Metalink downloads. This tutorial will guide you through the installation process of WebUI-aria2 on Debian latest.

Prerequisites

Before we start, please ensure that you have the following:

Step 1: Installing aria2

The first thing that you need to do is to install aria2 on your Debian system. To do so, run the following command in your terminal:

sudo apt-get install aria2 -y

Step 2: Downloading WebUI-aria2

Next, download the latest release of WebUI-aria2 from the official GitHub repository using the wget command. Run the following command in your terminal:

wget https://github.com/ziahamza/webui-aria2/releases/latest/download/webui-aria2.zip

Step 3: Extracting WebUI-aria2

Unzip the downloaded file using the following command:

unzip webui-aria2.zip

Then, rename the extracted directory to "webui-aria2" using the following command:

mv webui-aria2-* webui-aria2

Step 4: Moving WebUI-aria2 to the aria2c config directory

Next, move the "webui-aria2" directory to the "aria2c" configuration directory with the following command:

sudo mv webui-aria2 /usr/share/aria2/

Step 5: Configuring aria2c

WebUI-aria2 needs aria2c to be configured to work correctly. Create a configuration file for aria2c with the following command:

sudo nano /etc/aria2/aria2.conf

Then, paste the following lines in the file:

## WebUI
rpc-listen-all=true
rpc-listen-port=6800
rpc-secret=TypeYourPasswordHere
enable-rpc=true
dir=/home/user/Downloads

Replace "TypeYourPasswordHere" with a unique and random password to secure your aria2c instance.

Save and close the file by pressing Ctrl+X, then Y, then Enter.

Step 6: Starting aria2c

Start the aria2c daemon with the following command:

sudo systemctl start aria2c

Step 7: Accessing WebUI-aria2

You can now access WebUI-aria2 by opening your web browser and navigating to http://your_ip_address:6800/webui-aria2/.

Conclusion

Congratulations! You have successfully installed WebUI-aria2 on Debian latest. You can now easily control aria2 from your web browser.

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!