跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • Debian 10/Ubuntu 20.04 安装 qBitTorrent
未分類
23 6 月 2021

Debian 10/Ubuntu 20.04 安装 qBitTorrent

zxxx 大佬有话说 :

Debian 10/Ubuntu 20.04 安装 qBitTorrent

本帖最后由 zxxx 于 2021-6-23 22:55 编辑

查看版本

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:      20.04
Codename:       focal

升级系统

apt update && apt upgrade
apt install automake build-essential libtool pkg-config

安装 libtorrent

apt install libssl-dev libgeoip-dev libboost-dev libboost-system-dev libboost-chrono-dev libboost-random-dev

cd /usr/local/src

wget https://github.com/arvidn/libtorrent/releases/download/v1.2.14/libtorrent-rasterbar-1.2.14.tar.gz
tar zxvf libtorrent-rasterbar-1.2.14.tar.gz
cd libtorrent-rasterbar-1.2.14
./configure –disable-debug –enable-encryption –with-libgeoip=system
make -j $(nproc)
make install
ldconfig

安装 qbittorrent

apt install qtbase5-dev qttools5-dev-tools libqt5svg5-dev zlib1g-dev
cd /usr/local/src
wget https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-4.3.5.tar.gz
tar zxvf release-4.3.5.tar.gz
cd qBittorrent-release-4.3.5
./configure –disable-gui –disable-debug
make -j$(nproc)
make install

启动 qbittorrent

qbittorrent-nox

首次启动 请安 y 接受确认,接着按 Ctrl+c 退出,启动后台运行

创建服务

cat << "EOF" > /etc/systemd/system/qbittorrent.service

Description=qBittorrent Daemon Service
After=network.target

LimitNOFILE=512000
User=root
ExecStart=/usr/local/bin/qbittorrent-nox
ExecStop=/usr/bin/killall -w qbittorrent-nox

WantedBy=multi-user.target
EOF

启用服务

systemctl enable qbittorrent.service

启动服务

systemctl start qbittorrent.service

访问 WebUI:

http://你的IP:8080/

默认用户名:admin
默认密码:adminadmin

https://img14.360buyimg.com/ddimg/jfs/t1/187893/21/9959/44507/60d34b12E24e6390c/b441a810131f385a.png

https://img12.360buyimg.com/ddimg/jfs/t1/172225/35/16508/193936/60d34b3fE4a4bd45a/e7d3f1cbe37b9d67.png

sRGB 大佬有话说 :

使用 docker 方便, 不是KVM才要自己编译
一键脚本 ,选择 7 自动安装,而且支持 ARM64 甲骨文这些
wget git.io/autopt.sh && bash autopt.sh

https://262235.xyz/usr/uploads/2021/05/2184208616.png

燕十三丶 大佬有话说 :

感谢分享 很用心 :lol

h20 大佬有话说 :

我用aria2 

我是坏虫 大佬有话说 :

谢谢大佬分享

optimism 大佬有话说 :

顶我的新手朋友技术贴

weiguoxiu 大佬有话说 :

好东西收藏了

zxxx 大佬有话说 :

sRGB 大佬有话说 : 2021-6-23 23:09
使用 docker 方便, 不是KVM才要自己编译
一键脚本 ,选择 7 自动安装,而且支持 ARM64 甲骨文这些

我是 OpenVZ 的机器

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具