qBittorrent编译记录


下载地址

https://sourceforge.net/projects/qbittorrent/files/qbittorrent/qbittorrent-4.4.5/


wget https://master.dl.sourceforge.net/project/qbittorrent/qbittorrent/qbittorrent-4.4.5/qbittorrent-4.4.5.tar.gz


或者 rz 上传 qbittorrent-4.4.5.tar.gz


环境 debian 12.0


apt update


apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5svg5-dev libboost-all-dev libtorrent-rasterbar-dev qttools5-dev-tools


tar xf qbittorrent-4.4.5.tar.gz


cd /root/qbittorrent-4.4.5


./configure  --disable-gui

make -j 2 && make install

cd /usr/local/bin/

qbittorrent-nox

 

*** Legal Notice ***
qBittorrent is a file sharing program. When you run a torrent, its data will be made available to others by means of upload. Any content you share is your sole responsibility.

No further notices will be issued.

Press 'y' key to accept and continue...
y

******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080

The Web UI administrator username is: admin
The Web UI administrator password has not been changed from the default: adminadmin
This is a security risk, please change your password in program preferences.

^CCatching signal: SIGINT
Exiting cleanly

 

访问 IP:8080

用户名:admin

密码:adminadmin

 

vim /usr/lib/systemd/system/qbittorrent.service

[Unit]
Description=qbittorrent torrent server

[Service]
User=root
ExecStart=/usr/local/bin/qbittorrent-nox
Restart=on-abort

[Install]
WantedBy=multi-user.target

 

 

systemctl start qbittorrent

systemctl enable qbittorrent

systemctl status qbittorrent

systemctl stop qbittorrent

 

 

设置qb建议(可默认不设置):打开qb -> 工具 -> 设置 。1.2.1、 BitTorrent -> 队列不要打勾;1.2.2、高级 -> 网络接口 -> 选择网卡(一般是以太网)。
其他配置参考:https://www.jianshu.com/p/ac70172767ed

 

posted @ 2024-09-05 18:51  花红沁人心  阅读(122)  评论(0)    收藏  举报