逗比大佬的一键脚本,很方便,而且速度快。下载并运行脚本:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh
chmod +x aria2.sh
bash aria2.sh
脚本备份:
aria2.sh
启动:
service aria2 start
停止:
service aria2 stop
重启:
service aria2 restart
查看状态:
service aria2 status
配置文件:
/root/.aria2/aria2.conf
下载目录:
/usr/local/caddy/www/aria2/Download
前端UI:https://github.com/mayswind/AriaNg/releases
禁止上传配置文件添加:
seed-time=0