Linux无图形化界面安装qBittorrent

介绍

家用 linux 服务器没有图形化界面,且是 armv7 结构,安装 qBittorrent

安装

1
apt update
1
apt install qbittorrent-nox

启动

1
qbittorrent-nox
  • 默认端口: 8080
  • 默认用户:admin
  • 默认密码:adminadmin

配置文件所在位置

1
 ~/.config/qBittorrent

修改端口

1
qbittorrent-nox --webui-port=XXXX

创建系统服务

1
vim /etc/systemd/system/qbittorrent-nox.service

填入以下内容

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
[Unit]
Description=qBittorrent-nox service
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=local-fs.target network-online.target nss-lookup.target

[Service]
Type=simple
PrivateTmp=false
User=root
ExecStart=/usr/bin/qbittorrent-nox -config /root/.config/qBittorrent/qBittorrent.conf
TimeoutStopSec=1800

[Install]
WantedBy=multi-user.target

启动服务

1
systemctl start qbittorrent-nox.service

查看服务

1
systemctl status qbittorrent-nox.service

关闭服务

1
systemctl stop qbittorrent-nox.service

开机自启

1
systemctl enable qbittorrent-nox.service
网站总访客数:Loading
网站总访问量:Loading
使用 Hugo 构建
主题 StackJimmy 设计
-->