全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1221|回复: 10
打印 上一主题 下一主题

[疑问] 大盘鸡如何安装qBittorrent

[复制链接]
跳转到指定楼层
1#
发表于 2022-12-6 19:24:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
rt
服务器安装debian还是ubuntu
推荐
发表于 2022-12-6 20:00:35 | 只看该作者
  1. apt install qbittorrent-nox -y
  2. vim /etc/systemd/system/qbittorrent-nox.service



  3. [Unit]
  4. Description=qBittorrent Command Line Client
  5. After=network.target

  6. [Service]
  7. Type=forking
  8. User=root
  9. Group=root
  10. UMask=007
  11. ExecStart=/usr/bin/qbittorrent-nox -d --webui-port=8080
  12. Restart=on-failure

  13. [Install]
  14. WantedBy=multi-user.target



  15. systemctl daemon-reload
  16. systemctl enable qbittorrent-nox
  17. systemctl status qbittorrent-nox
复制代码
3#
发表于 2022-12-6 19:27:26 | 只看该作者
来个都可以吧

apt install -y qbittorrent-nox
4#
 楼主| 发表于 2022-12-6 19:36:59 | 只看该作者
zxxx 发表于 2022-12-6 19:27
来个都可以吧

apt install -y qbittorrent-nox

安装了,一段时间没登录面板就登录不上了,需要重新开启一下
5#
发表于 2022-12-6 19:43:39 来自手机 | 只看该作者
mimiye 发表于 2022-12-6 19:36
安装了,一段时间没登录面板就登录不上了,需要重新开启一下

开个screen 在这里面吧qb打开 然后保存退出就可以了
6#
发表于 2022-12-6 19:51:27 | 只看该作者
docker-compose.yml

  1. # https://github.com/gshang2017/docker/tree/master/qBittorrent
  2. version: '3'

  3. services:
  4.   qbittorrent:
  5.     image: johngong/qbittorrent:latest
  6.     container_name: qbittorrent
  7.     restart: unless-stopped
  8.     env_file:
  9.       - ./.env
  10.     ports:
  11.       - '${QB_WEBUI_PORT}:8989'
  12.       - '${QB_BT_PORT}:6881'
  13.       - '${QB_BT_PORT}:6881/udp'
  14.     volumes:
  15.       - /srv/qbittorrent/config:/config
  16.       - /srv/qbittorrent/downloads:/Downloads
复制代码


.env

  1. QB_WEBUI_PORT=8989

  2. # CUSTOM
  3. TZ=Asia/Shanghai
  4. QB_BT_PORT=6881
复制代码


安装 Docker

  1. curl -s https://get.docker.com/ | sudo sh
复制代码


在上述文件的目录中执行

  1. docker compose up -d
复制代码
8#
发表于 2022-12-6 20:03:42 | 只看该作者
docker 或者自己加个进程守护
9#
发表于 2022-12-6 20:05:24 | 只看该作者
我是用这个
https://github.com/Aniverse/inexistence
10#
发表于 2022-12-6 21:11:33 | 只看该作者
你们都太厉害,我是直接VNC + qBittorrent,再装个浏览器下种子,硬上。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-16 17:40 , Processed in 0.061868 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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