全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1819|回复: 12
打印 上一主题 下一主题

centos装那个软件刷pt呀?

[复制链接]
跳转到指定楼层
1#
发表于 2022-3-20 21:55:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
求简单的
推荐
发表于 2022-3-21 02:01:07 | 只看该作者
安装Docker
首先安装下面程序之前,需要在服务器上安装Docker环境,使用命令:
  1. #CentOS 6系统
  2. rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
  3. yum update -y
  4. yum -y install docker-io
  5. service docker start
  6. chkconfig docker on

  7. #CentOS 7、Debian、Ubuntu系统
  8. curl -sSL https://get.docker.com/ | sh
  9. systemctl start docker
  10. systemctl enable docker
复制代码


安装Qbittorrent
镜像来源:https://hub.docker.com/r/linuxserver/qbittorrent
先安装Docker,然后执行以下命令:
  1. docker run --restart=always --name qbittorrent -d \
  2. -p 6881:6881 \
  3. -p 6881:6881/udp \
  4. -p 8080:8080 \
  5. -v ~/qbittorrent/config:/config \
  6. -v ~/qbittorrent/downloads:/downloads \
  7. linuxserver/qbittorrent
复制代码

安装完成后,相关信息如下:
  1. qbittorrent地址:http://ip:8080
  2. 用户名:admin
  3. 密码:adminadmin
  4. 配置和/下载目录:~/qbittorrent
复制代码

CentOS系统安装后,可能还需要开启相应的端口,大致如下:
  1. #CentOS 6
  2. iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
  3. iptables -A INPUT -p tcp --dport 6881 -j ACCEPT
  4. iptables -A INPUT -p udp --dport 6881 -j ACCEPT
  5. service iptables save
  6. service iptables restart

  7. #CentOS 7
  8. firewall-cmd --zone=public --add-port=8080/tcp --permanent
  9. firewall-cmd --zone=public --add-port=6881/tcp --permanent
  10. firewall-cmd --zone=public --add-port=6881/udp --permanent
  11. firewall-cmd --reload
复制代码

如果你不想用了,可以使用以下命令卸载:
  1. #删掉容器
  2. ContainerID=`docker ps|grep linuxserver/qbittorrent|awk '{print $1}'`
  3. docker kill ${ContainerID}
  4. docker rm ${ContainerID}
  5. docker rmi `docker images|grep linuxserver/qbittorrent|awk '{print $3}'`
  6. #删掉下载文件夹
  7. rm -rf ~/qbittorrent
复制代码

点评

docker安装 容器运行 外加防火墙设置...优秀的你  发表于 2022-3-21 02:19
真·手把手,点赞!!!  发表于 2022-3-21 02:02
2#
发表于 2022-3-20 21:56:09 | 只看该作者
https://github.com/swizzin/swizzin
3#
发表于 2022-3-20 21:59:00 | 只看该作者
docker 随便啥 客户端都行把(
6#
发表于 2022-3-20 22:24:00 | 只看该作者
tr
7#
发表于 2022-3-20 22:38:52 | 只看该作者
stingeo 发表于 2022-3-20 21:56
https://github.com/swizzin/swizzin

这个好复杂阿../
8#
发表于 2022-3-20 23:34:49 来自手机 | 只看该作者
huanx 发表于 2022-3-20 22:38
这个好复杂阿../

这种一键的超简单 集成软件多 ,而且还挺好看
安装完成后 安装软件 box install xxx 卸载 box remove xxx
10#
发表于 2022-3-21 02:34:29 | 只看该作者
aria可以吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-1-15 04:44 , Processed in 0.063937 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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