来源于Github:https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntupython
直接进入正题吧!须要以root用户登陆!git
apt-get install libboost-dev libboost-system-dev build-essential apt-get install libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev apt-get install git pkg-config automake libtool
apt-get install qtbase5-dev qttools5-dev-tools
apt-get install python apt-get install geoip-database
git clone https://github.com/arvidn/libtorrent.git cd libtorrent
git checkout RC_1_0
./autotool.sh ./configure --disable-debug --enable-encryption --prefix=/usr --with-libgeoip=system make clean && make make install
QB历史版本下载:https://github.com/qbittorrent/qBittorrent/releasesgithub
如编译安装3.3.11版本的QBshell
wget https://github.com/qbittorrent/qBittorrent/archive/release-3.3.11.tar.gz tar -xzvf release-3.3.11.tar.gz cd qBittorrent-release-3.3.11
./configure --prefix=/usr --disable-gui make && make install
这里编译的时候若是提示错误 缺乏 zlib 运行如下命令便可数据库
apt-get install zlib1g-dev
运行如下命令dom
qbittorrent-nox
运行后会提示输入,输入y,而后回车便可,这时打开第③步中的地址,进入后打开设置,在WEBUI里将语言改为中文,而后Ctrl+C 结束,再次输入命令运行QB,这是刷新网页就是中文了,意思就是设置完须要重启下客户端才能使语言修改生效,其它设置相似。ui
由于直接运行QB,退出shell窗口的话就会关闭,因此咱们能够用nohup的方式运行QBspa
nohup qbittorrent-nox &
这样QB就已经稳定在后台运行了,即便你关闭shell也不会结束的。debug
默认地址: http://IP地址:8080 默认用户名: admin 默认密码: adminadmin
记住须要开放防火墙的8080端口和qBittorrent的链接端口(默认8999好像)额,能够在选项中设置!!ip
有问题留言,会再补充!