Now Reading: Debian/Ubuntu VPS 安装最新版 qbittorrent

Loading

Debian/Ubuntu VPS 安装最新版 qbittorrent

svg2021年2月15日教程高玩梁

有不少人用aria2下载BT,但是相对来说QBittorrent还是更好用一点,但是网上没什么一键脚本,还得靠自己动手安装,默认的apt源里的qb很旧了,还是用新的比较好

安装的版本是nox版本,不需要安装任何图形化界面,直接打开网页就可以用。

创建默认配置目录

mkdir -p ~/.config/qBittorrent

创建配置文件

touch ~/.config/qBittorrent/qBittorrent.conf

编辑文件

nano ~/.config/qBittorrent/qBittorrent.conf

添加下面的内容,Web UI 端口可以自行定义

[LegalNotice]
Accepted=true

[Preferences]
WebUI\Port=8080
General\Locale=zh

输入完后,按下Ctrl+X,然后输入y保存

之后直接下载别人编译好的二进制文件
https://github.com/userdocs/qbittorrent-nox-static/releases/
我现在命令里写的是现在的最新版本文件,如果有新版本了,请自行替换 https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.3_v1.2.12/amd64-glibc-qbittorrent-nox 部分即可,使用glibc版本即可

mkdir -p ~/bin && source ~/.profile
wget -qO ~/bin/qbittorrent-nox https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.3_v1.2.12/amd64-glibc-qbittorrent-nox
chmod 700 ~/bin/qbittorrent-nox

输入

~/bin/qbittorrent-nox

启动程序,根据程序提示进入你的vps IP:8080 即可

svg

What do you think?

Show comments / Leave a comment

2 Comments:

  • s

    11月 9, 2022 / at 12:32 上午svg回复

    感谢您,用您的方式成功安装了最新版的qb。但是我出现了个问题,安装后,只有在那个界面,QB才是运行的。不知道如何后台运行,和开机自动启动。麻烦您有时间的话讲解一下。

    • 高玩梁

      11月 14, 2022 / at 5:58 下午svg回复

      可以使用screen命令进行后台运行,具体可自行查询,如果想要实现开机启动,则需要编写systemctl脚本

Leave a reply

Loading
svg
Quick Navigation
  • 01

    Debian/Ubuntu VPS 安装最新版 qbittorrent