Ubuntu20.04 LTS安装qbittorrent-nox

2021-12-12T17:44:00

更新软件包

sudo apt update
sudo apt upgrade

安装add-apt-repository命令

sudo apt-get install software-properties-common -y

添加qBittorrent PPA源:

# qBittorrent 稳定版
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
# qBittorrent 测试版
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-unstable

中间回车继续或者Ctrl+C取消

安装qbittorrent-nox

sudo apt update
sudo apt-get install qbittorrent-nox -y

设置开机启动

nano /etc/systemd/system/qbittorrent-nox.service

[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target

相关命令

修改qbittorrent-nox.service文件后重新载入

sudo systemctl daemon-reload

启动

sudo systemctl start qbittorrent-nox

停止

sudo systemctl stop qbittorrent-nox

设置开机启动

sudo systemctl enable qbittorrent-nox

查看状态

sudo systemctl status qbittorrent-nox

放开端口8080输入ip:8080打开Qbittorrent webui

初始账号admin,密码:adminadmin

设置-web UI修改密码和更改中文

https://www.muxc.net/?p=400

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »