全球主机交流论坛

标题: 【更稳定】#qbittorrent安装 4.3.9 快速安装教程 [打印本页]

作者: hostlocmjj    时间: 2022-5-29 08:53
标题: 【更稳定】#qbittorrent安装 4.3.9 快速安装教程
本帖最后由 hostlocmjj 于 2022-5-29 09:08 编辑

一键脚本有风险!

在此我强烈建议用这个快速手动安装教程
不到30秒即可使用!
广大MJJ说这个版本更稳定 内存占用更小

该版本为 4.3.9_v1.2.15 有空我会更新 你可以在最下面寻找帖子 #qbittorrent安装
  1. cd /root
  2. wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.9_v1.2.15/x86_64-qbittorrent-nox
  3. chmod +x x86_64-qbittorrent-nox
  4. ./x86_64-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=/root/x86_64-qbittorrent-nox

  9. [Install]
  10. WantedBy=multi-user.target
  11. EOF
复制代码
  1. # 更新配置
  2. systemctl daemon-reload
  3. # 启动服务
  4. systemctl start qbittorrent
  5. # 查看状态
  6. systemctl status qbittorrent
复制代码


如需重启/关闭程序
请使用kill命令关闭程序
ps -aux | grep qbittorrent
kill 对应序号
如 kill 11111
再使用进程守护打开即可使用

作者: rooney    时间: 2022-5-29 08:54
关闭
  1. systemctl stop qbittorrent
复制代码



重启
  1. systemctl restart qbittorrent
复制代码

作者: hostlocmjj    时间: 2022-5-29 08:56
rooney 发表于 2022-5-29 08:54
关闭

亲测,这个貌似不能用。
好像是我写的进程守护有问题
作者: rooney    时间: 2022-5-29 08:57
hostlocmjj 发表于 2022-5-29 08:56
亲测,这个貌似不能用。
好像是我写的进程守护有问题

ExecStop那行不需要吧
作者: xiaomao    时间: 2022-5-29 08:59
不错 一直用的都是这种方式
作者: 浪听涛    时间: 2022-5-29 09:08
用杰佬的一键 无脑回车


作者: WZ-Software    时间: 2022-5-29 09:09
sudo apt install qbittorrent-nox
简单一万倍
作者: sunete    时间: 2022-5-29 09:14
支持,顶一个
作者: 暖暖的微风    时间: 2022-5-29 09:27
500m内存跑的起来么?
作者: hostlocmjj    时间: 2022-5-29 09:32
暖暖的微风 发表于 2022-5-29 09:27
500m内存跑的起来么?

亲测ok
作者: 法外狂徒张三    时间: 2022-5-29 09:59
浪听涛 发表于 2022-5-29 09:08
用杰佬的一键 无脑回车

+1
作者: aRNoLD    时间: 2022-5-29 10:52
用不到这么麻烦,还需要写service文件,况且跟官方qbt的说明相比,这个service文件还不太充分。

用以下这个就成了

AppImage 的形式
https://appimage.github.io/qBittorrent_Enhanced_Edition/

Github源站,是从qBT官方fork过去的加强版,自带service文件,apt安装完成后就自动启用,且能屏蔽迅雷
https://github.com/c0re100/qBittorrent-Enhanced-Edition
作者: dwitns    时间: 2022-5-29 10:54
那么麻烦,一行docker命令解决的事情。。
作者: C2H5OH    时间: 2022-5-29 11:04
一直用大佬的,很好用
作者: huanx    时间: 2022-5-29 11:13
docker 一步到位




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4