OS: Ubuntu 16.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 111.222.111.222
Your local IP network is 192.168.0.0/24
Install aria2 package:
| # should works on any cloud-init enabled hypervisor (openstack.. ) | |
| # start from a ubuntu minimal install | |
| # we need to shrink down the used space to move it in a tmpfs of 700MB | |
| # make sure we are on the highest kernel, so we can delete all the others ... | |
| sudo apt update && sudo apt upgrade -y && reboot | |
| # ... reconnect | |
| sudo apt install lsof |
| deb mirror://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse | |
| deb-src mirror://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security main restricted universe multiverse | |
| deb-src mirror://mirrors.ubuntu.com/mirrors.txt bionic-security main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates main restricted universe multiverse | |
| deb-src mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates main restricted universe multiverse | |
| deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-proposed main restricted universe multiverse |