Reprinted from https://www.zrj96.com/post-420.html
**System Requirements**
CentOS 6+ / Debian 6+ / Ubuntu 14.04 +
**installation steps**
Execute the following code to download and run the script:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh
After running the script, the script operation menu will appear. Select and enter 1 to start the installation.
**Instructions for use**
Go to the directory where you downloaded the script and run the script:
./aria2.sh
Then select the option you want to execute:
Aria2 one-click installation management script [vx.x.x]
0. 升级脚本 ———————————— 1. 安装 Aria2 2. 卸载 Aria2 ———————————— 3. 启动 Aria2 4. 停止 Aria2 5. 重启 Aria2 ———————————— 6. 修改 配置文件 7. 查看 日志信息 ————————————
Current status: Installed and started
Please enter a number [0-7]:
**Other operations**
Start: service aria2 start
Stop: service aria2 stop
Restart: service aria2 restart
View status: service aria2 status
Configuration file: /root/.aria2/aria2.conf (the configuration file contains Chinese comments, but some systems may not support displaying Chinese)
Default key: doub.io
Default download directory: /usr/local/caddy/www/aria2/Download
**web management**
https://GitHub.com/maybewind/ariang