linux set downloader

Install Apache2

sudo apt-get install apach2

The method of modifying the port : sudo nano /etc/apache2/ports.conf

Install Aria2

sudo apt-get install aria2

Download AriaNg

(download link)[ http://ariang.mayswind.net/zh_Hans/ ]

start up

aria start

aria2c --enable-rpc --rpc-listen-all --rpc-allow-origin-all -c --dir /home/pi/aria2-Downloads -D

Apache2 starts

sudo service apache start

You can watch downloaded resources directly with Caddy

Enter image description

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325507863&siteId=291194637