全球主机交流论坛

标题: 大盘鸡如何安装qBittorrent [打印本页]

作者: mimiye    时间: 2022-12-6 19:24
标题: 大盘鸡如何安装qBittorrent
rt
服务器安装debian还是ubuntu
作者: hostlocmjj    时间: 2022-12-6 19:27
看我博客
作者: zxxx    时间: 2022-12-6 19:27
来个都可以吧

apt install -y qbittorrent-nox
作者: mimiye    时间: 2022-12-6 19:36
zxxx 发表于 2022-12-6 19:27
来个都可以吧

apt install -y qbittorrent-nox

安装了,一段时间没登录面板就登录不上了,需要重新开启一下
作者: mingyun    时间: 2022-12-6 19:43
mimiye 发表于 2022-12-6 19:36
安装了,一段时间没登录面板就登录不上了,需要重新开启一下

开个screen 在这里面吧qb打开 然后保存退出就可以了
作者: skiy    时间: 2022-12-6 19:51
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
复制代码

作者: radiogaga    时间: 2022-12-6 20:00
  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
复制代码

作者: BIngo7    时间: 2022-12-6 20:03
docker 或者自己加个进程守护
作者: mbsi    时间: 2022-12-6 20:05
我是用这个
https://github.com/Aniverse/inexistence
作者: jhu    时间: 2022-12-6 21:11
你们都太厉害,我是直接VNC + qBittorrent,再装个浏览器下种子,硬上。
作者: ledouz    时间: 2022-12-7 00:28
mimiye 发表于 2022-12-6 19:36
安装了,一段时间没登录面板就登录不上了,需要重新开启一下

那估摸着是你服务器配置不行吧。去看看是不是资源全满了,是的话降低qb的配置,连接数,活动种子数等




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