原文地址:https://lala.im/4590.html,請支持原作者!該處僅作轉載。
这个脚本是我写来自用的,主要是为了偷懒。。。每次安装都手动麻烦的一批,搞个脚本一劳永逸~
我只在自己的两台Debian9上测试通过,别的机器要是有问题就自己解决吧,反正也不是拿来公用的,这里只是存粹的分享一下,留给可能需要用到的人。。。
脚本仅支持Debian9X64,食用方法(请在完全纯净的系统上安装):
wget https://lala.im/static/script/Debian9DownloadToolinstall.sh && chmod +x Debian9DownloadToolinstall.sh
./Debian9DownloadToolinstall.sh
你可以选择安装以下软件(均是目前的最新版):
Aria2+AriaNG+KodExplorer\nqBittorrent4.1.4+libtorrent1.1.11\nDeluge1.3.15+libtorrent1.1.11
另外支持一键开启BBR。
如果你选择安装2-3则可以和宝塔面板共存,如果安装1则不能与宝塔面板共存。另外因为原版的Debian9防火墙规则默认是放行所有的(相当于关闭的状态),所以本脚本没有对防火墙有任何设置,如果你安装完成之后发现端口不通,请自行设置防火墙规则。
管理命令:
Aria2:
systemctl start aria2
systemctl stop aria2
systemctl restart aria2
qBittorrent:
systemctl start qbittorrent
systemctl stop qbittorrent
systemctl restart qbittorrent
Deluge:
systemctl start deluged
systemctl start deluge-web
systemctl stop deluged
systemctl stop deluge-web
systemctl restart deluged
systemctl restart deluge-web
截图: