How to install WebUI-aria2 on Ubuntu Server Latest
WebUI-aria2 is a web-based user interface for aria2, a lightweight multi-protocol and multi-source download utility. It allows you to manage your downloads from a web browser interface. In this tutorial, we will explain how to install and configure WebUI-aria2 on Ubuntu Server latest.
Prerequisites
Before starting the installation process, make sure that your system meets the following requirements:
- An Ubuntu Server latest LTS version installed on your machine
- Root or user account with sudo privileges
- Installed and configured aria2 download manager
Step 1: Installing Node.js
WebUI-aria2 requires Node.js to run on your system. Follow the below command to install Node.js on your Ubuntu machine.
sudo apt-get update
sudo apt-get install nodejs
After installation, verify the installation using the below command:
nodejs --version
Step 2: Downloading WebUI-aria2
Download the latest version of WebUI-aria2 from the Github repository. You can download it by cloning the repository with the below command:
git clone https://github.com/ziahamza/webui-aria2.git
After the download is complete, extract the files to the /opt directory:
sudo mv webui-aria2/ /opt
Step 3: Configuring WebUI-aria2
Create a configuration file for the WebUI-aria2. Open your text editor and create a new file with the below command:
sudo nano /opt/webui-aria2/AriaNg/settings.json
Paste the following configuration settings to the file:
{
"language": "en",
"theme": "dark",
"fontSize": 14,
"rpcAlias": "aria2",
"rpcHost": "localhost",
"rpcPort": "6800",
"rpcInterface": "jsonrpc",
"ssl": false
}
Save and exit the file.
Step 4: Running WebUI-aria2
Run the below command to start the WebUI-aria2 process:
cd /opt/webui-aria2/ && node aria2c
Once the process is started, you can access the WebUI-aria2 from a web browser by entering http://localhost:8080.
Conclusion
WebUI-aria2 is a useful tool for managing downloads from a web-based interface. This tutorial has explained how to install and configure WebUI-aria2 on Ubuntu Server latest, which can help you manage your downloads more efficiently.