How to Install WebUI-aria2 on EndeavourOS Latest

WebUI-aria2 is an open source web interface for aria2, a popular command-line download manager for Linux. It allows users to manage their downloads from a web browser, making it a convenient tool for those who want to download files without using the command-line. In this tutorial, we will guide you through the process of installing WebUI-aria2 on EndeavourOS Latest.

Prerequisites

Before we begin, let's make sure that we have all the necessary components installed:

We assume that you have already installed EndeavourOS and have a basic understanding of Linux commands.

Step 1: Install Apache

To install Apache, open a terminal and run the following command:

sudo pacman -S apache

After the installation is complete, start the Apache service:

sudo systemctl start httpd.service

You can verify the installation by visiting http://localhost in your web browser.

Step 2: Install PHP

To install PHP, run the following command:

sudo pacman -S php php-apache

After the installation is complete, restart Apache:

sudo systemctl restart httpd.service

Step 3: Configure PHP

By default, PHP does not allow execution of remote files. To allow it, open the php.ini file with your favorite text editor:

sudo nano /etc/php/php.ini

Find the following line:

allow_url_fopen = Off

Change it to:

allow_url_fopen = On

Save and close the file.

Step 4: Install Aria2

To install Aria2, run the following command:

sudo pacman -S aria2

Step 5: Download WebUI-aria2

Download the latest version of WebUI-aria2 from the GitHub repository:

wget https://github.com/ziahamza/webui-aria2/archive/master.zip

Extract the files to the Apache document root directory:

sudo unzip master.zip -d /srv/http/
sudo mv /srv/http/webui-aria2-master /srv/http/aria2

Step 6: Start Aria2

Start Aria2:

aria2c --enable-rpc --rpc-listen-all

Step 7: Access WebUI-aria2

Open your web browser and navigate to http://localhost/aria2 (or replace localhost with the IP address if you are accessing it remotely). You should be able to see the WebUI-aria2 interface.

Congratulations! You have successfully installed WebUI-aria2 on EndeavourOS Latest. You can now use it to manage your downloads from a 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!