Install Web Based Download Utility with AriaNg on Debian/Ubuntu
i12bretro
#Aria2 #AriaNg #WebUI
Full steps can be found at https://i12bretro.github.io/tutorials/0425.html
Quick Setup
- Log into the Linux device
- Run the following commands in a terminal window
update software repositories
sudo apt updateinstall available software updates
sudo apt upgrade -yinstall aria2
sudo apt install aria2 -yrun the aria2 RPC server
sudo aria2c --dir=/home/$USER/Downloads --enable-rpc=true --rpc-allow-origin-all=true --rpc-listen-all=true --rpc-listen-port=6800 --rpc-secret=SomethingSecure -D - Open a web browser and navigate to https://github.com/mayswind/AriaNg/releases
- Download the latest AllInOne.zip release
- Extract the AllInOne .zip file
- Double click the extracted index.html to open it in the default web browser
- Select AriaNg Settings from the left navigation menu
- Select the automatically generated RPC connection in the top sub-navigation menu
- Scroll down to the Aria2 RPC Secret Token field and paste the rpc-secret string, SomethingSecure in this example
- Click the Reload AriaNg button on the notification popup
- The AriaNg will now be able to communicate with aria2 over RPC
Starting Aria2 on System Boot
- Run the following commands in a terminal window
kill aria2 if it is running
sudo killall aria2ccreate aria2 conf directory
sudo mkdir /etc/aria2 -pcreate aria2.conf
sudo nano /etc/aria2/aria2.conf - Paste the following into the aria2.conf file dir=/home/i12bretro/Downloads enable-rpc=true rpc-allow-origin-all=true rpc-listen-all=true rpc-listen-port=6800 rpc-secret=SomethingSecure
- Press CTRL+O, Enter, CTRL+X to write the changes to aria2.conf
- Continue with the following commands in terminal
create the service file
sudo nano /etc/systemd/system/aria2.service - Paste the following into the aria2.service file [Unit] Description=Aria2c Requires=network.target After=dhcpcd.service [Service] ExecStart=/usr/bin/aria2c --conf-path=/etc/aria2/aria2.conf [Install] WantedBy=default.target
- Press CTRL+O, Enter, CTRL+X to write the changes to aria2.service
- Continue with the following commands to start the new service on system boot
set the service to start on sys
2021-08-15
0.01049333 LBC
Copyrighted (contact publisher)
14640374 Bytes