找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
楼主: roxser

qBittorrent如何安装

[复制链接]

16

主题

372

回帖

808

积分

高级会员

积分
808
 楼主| 发表于 2018-2-24 21:45:00 | 显示全部楼层

roxser 发表于 2018-2-24 22:03

执行完这个  可以进入qb界面··    断开ssh后就进不去了

Are you sure?
回复

使用道具 举报

3

主题

307

回帖

645

积分

高级会员

积分
645
发表于 2018-2-24 22:13:41 | 显示全部楼层

baymin 发表于 2018-2-24 22:23

Are you sure?

是的   不断开ssh   能打开qb,但是一但是断开或是退出就不能访问了
回复

使用道具 举报

16

主题

372

回帖

808

积分

高级会员

积分
808
 楼主| 发表于 2018-2-24 22:14:41 | 显示全部楼层

roxser 发表于 2018-2-24 21:08

我看的教程和这个差不多  一步一步操作   中间还进过一次qb web界面,但是最后断开ssh连接后,就进不去qb ...

你的是什么系统。我的ubuntu16.04,次次按这个来安装,都成功(我把用户创建给忽略并删除某些字段)

修改/etc/systemd/system/qbittorrent.service:

[ol]
  • [Unit]
  • Description=qBittorrent Daemon Service
  • After=network.target
  • [Service]
  • User=qbtuser
  • ExecStart=/usr/bin/qbittorrent-nox
  • ExecStop=/usr/bin/killall -w qbittorrent-nox
  • [Install]
  • WantedBy=multi-user.target[/ol]复制代码



    [ol]
  • [Unit]
  • Description=qBittorrent Daemon Service
  • After=network.target
  • [Service]
  • ExecStart=/usr/bin/qbittorrent-nox
  • ExecStop=/usr/bin/killall -w qbittorrent-nox
  • [Install]
  • WantedBy=multi-user.target[/ol]复制代码

    然后 systemctl daemon-reload

    启动程序:systemctl start qbittorrent

    查看转态:systemctl status qbittorrent

    自启:systemctl enable qbittorrent
  • 回复

    使用道具 举报

    3

    主题

    307

    回帖

    645

    积分

    高级会员

    积分
    645
    发表于 2018-2-24 22:03:00 | 显示全部楼层

    huangfight 发表于 2018-2-24 22:33

    你的是什么系统。我的ubuntu16.04,次次按这个来安装,都成功(我把用户创建给忽略并删除某些字段)

    修 ...

    谢谢   ubuntu14   刚才看了楼上大佬回的   退出shh也能进了
    回复

    使用道具 举报

    16

    主题

    372

    回帖

    808

    积分

    高级会员

    积分
    808
     楼主| 发表于 2018-2-24 22:32:00 | 显示全部楼层

    roxser 发表于 2018-2-24 22:40

    谢谢   ubuntu14   刚才看了楼上大佬回的   退出shh也能进了

    也有14.04的教程:
    https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(14.04-and-older)

    不想自启就算了
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-2-23 16:34 , Processed in 0.020100 second(s), 4 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

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