全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2044|回复: 13

debian 9/10/11安装qbittorrent

[复制链接]
发表于 2022-3-20 12:23:27 | 显示全部楼层 |阅读模式
本帖最后由 hostlocmjj 于 2022-3-20 12:25 编辑
  1. apt-get update
  2. apt install qbittorrent
  3. apt install qbittorrent-nox
复制代码

  1. qbittorrent-nox
复制代码

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

创建自启动服务

  1. cat << "EOF" > /etc/systemd/system/qbittorrent.service
  2. [Unit]
  3. Description=qBittorrent Daemon Service
  4. After=network.target

  5. [Service]
  6. LimitNOFILE=512000
  7. User=root
  8. ExecStart=/usr/bin/qbittorrent-nox
  9. ExecStop=/usr/bin/kill -w qbittorrent-nox

  10. [Install]
  11. WantedBy=multi-user.target
  12. EOF
复制代码


访问 WebUI:

http://你的IP:8080/

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

  1. # 更新配置
  2. systemctl daemon-reload
  3. # 启动服务
  4. systemctl start qbittorrent

  5. # 停止服务
  6. systemctl stop qbittorrent

  7. # 重启服务
  8. systemctl restart qbittorrent

  9. # 查看状态
  10. systemctl status qbittorrent
复制代码



hostloc原创 禁止转载
参考https://hostloc.com/thread-860468-1-1.html的进程守护

实测安装的是3版本的,都能用,极客请勿使用该方法
发表于 2022-3-20 12:28:46 | 显示全部楼层
现在用这个
https://github.com/userdocs/qbittorrent-nox-static/releases

  1. wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.4.1_v2.0.5/x86_64-qbittorrent-nox
  2. chmod +x x86_64-qbittorrent-nox
  3. ./x86_64-qbittorrent-nox -d
复制代码
发表于 2022-3-20 12:24:53 来自手机 | 显示全部楼层
?存储库都落后几年了还搁着包安装呢?

点评

这确实是最简单的方法  发表于 2022-3-20 12:28
发表于 2022-3-20 12:25:03 | 显示全部楼层
不用这么麻烦 直接干个docker 进去
发表于 2022-3-20 12:26:52 | 显示全部楼层
谢谢,占地MARK一下
发表于 2022-3-20 12:30:01 | 显示全部楼层
docker不香吗?
 楼主| 发表于 2022-3-20 12:30:03 | 显示全部楼层
zxxx 发表于 2022-3-20 12:28
现在用这个
https://github.com/userdocs/qbittorrent-nox-static/releases

感谢分享,请问带进程守护吗

点评

-d 就是 像你一样写个service也行  发表于 2022-3-30 04:10
发表于 2022-3-20 12:37:15 | 显示全部楼层
docker它不香嘛
发表于 2022-3-20 12:40:04 | 显示全部楼层
Ubuntu 用ppa不香么,而且你同时装带x跟nox的几个意思?
发表于 2022-3-30 03:21:06 来自手机 | 显示全部楼层
zxxx 发表于 2022-3-20 12:28
现在用这个
https://github.com/userdocs/qbittorrent-nox-static/releases

那要是卸载呢?请问下怎么操作

点评

删掉就好了啊,就一个二进制文件。然后~/.config ~/.local 清理一下,不清理的话配置是保留的  发表于 2022-3-30 04:11
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-6-5 16:08 , Processed in 0.071406 second(s), 16 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表