安装qbittorrent
安装add-apt-repository命令
sudo apt-get update && sudo apt-get install software-properties-common -y
添加qbittorrent-nox的PPA软件源
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
安装qbittorrent-nox(webui版)
sudo apt-get update && sudo apt-get install qbittorrent-nox
设置开机启动
通过rc.local完成
如果是Ubuntu-16.10及其之后的版本需要先按下面的文章完成设置后,开机启动才会生效
Ubuntu-18.04设置开机启动脚本 起因Ubuntu-16.10(不包括)之前的版本使用的是update-rc.d以及rc.local等方法设置开机启…
编辑rc.local脚本
nano /etc/rc.local
在exit 0前面(前一行)添加以下内容并保存
qbittorrent-nox -d
通过创建自定义服务实现
创建系统服务
sudo apt-get install nano -y && nano /etc/systemd/system/qbittorrent-nox.service
粘贴以下内容,并保存。
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=simple
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target
启动qbittorrent-nox并创建服务配置
systemctl start qbittorrent-nox
设置开机自动启动qbittorrent-nox
systemctl enable qbittorrent-nox
查看qbittorrent-nox状态
sudo systemctl status qbittorrent-nox
默认账号:admin 密码: adminadmin 默认登陆网址:ip:8080
转载:https://3ae.cn/article/2021/qbittorrent/
密码不正确搜索文档qBittorrent.conf
删除原来的密码 WebUI\Password_PBKDF2="@ByteArray(-)"
然后用默认密码登录