脚本仅支持CentOS7,64位系统!!!请使用纯净的系统安装!!!请使用ROOT用户执行脚本!!!

使用方法:

wget https://lala.im/static/script/qBittorrentCentOS7install.sh && chmod +x qBittorrentCentOS7install.sh
./qBittorrentCentOS7install.sh

因为编译libtorrent的时候需要用到大量的内存,小于2GB的机器可能会因为内存不足导致进程被杀掉,所以我在脚本内加了一个创建swap的功能。创建的swap文件保存在/var目录下,安装完成之后可以自己手动删除掉。(话说内存小于2GB还装个锤子QB啊,挂PT内存没4G起步,你不是在玩蛇吗???)

另外因为libtorrent编译需要比较长的时间,我加了一个设置编译时使用多个CPU线程的功能,根据你自己机器的CPU核心数来设置就行了,比如你是一个4核心的机器,在脚本内输入4,那么编译的速度会变快很多!

脚本会帮你安装如下软件:

qBittorrent4.1.1
libtorrent1.1.9(https://github.com/arvidn/libtorrent/releases/

回显内容:

qBittorrentWEB地址:你的机器公网IP+端口8080
WEB账号:admin
WEB密码:adminadmin

管理命令:

systemctl start qBittorrent
systemctl stop qBittorrent
systemctl restart qBittorrent

预览图:


本文转自:https://lala.im/4036.html,如有违规,请联系删除!

标签: none

添加新评论