centos6 安装 transmission+flexget 实现 PT 自动刷流量
【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |
系统为:centos6 64 位
python:2.7.13
工作目录:/root
1、安装
1 | wget http://github.itzmx.com/1265578519/transmission/master/2.84/transmissionbt.sh -O transmissionbt.sh;sh transmissionbt.sh |
1.1.使用事项
1.访问地址为 http://IP:9091,默认用户名和密码均为 itzmx.com,文件下载位置:/home/transmission/Downloads/
2.修改端口、用户名和密码 请务必停止服务后修改
12 | service transmissiond stopvi /home/transmission/.config/transmission/settings.json |
rpc-username 帐号
rpc-password 密码
rpc-port 端口
rpc-authentication-required 是否开启使用账号密码加密访问
设置完成后重启服务:
1 | service transmissiond start |
3.重启进程
1 | service transmissiond restart |
4.卸载 Transmission
123 | service transmissiond stoprm -rf /home/transmissionrm -rf /usr/share/transmission |
2、Transmission 的美化
默认的 Transmission 其实挺丑的,我们可以美化汉化一下
特别注意因为项目不稳定,一键脚本最近安装后找不到网页文件,造成 404 问题,推荐手动下载完整包安装!
项目地址:https://github.com/ronggang/transmission-web-control
2.1.手动安装
CentOS 版目录:/usr/share/transmission/web/
Debian 版目录:/var/lib/transmission-daemon/web
完整包下载:https://github.com/ronggang/transmission-web-control/raw/master/release/transmission-control-full.tar.gz
2.2.一键脚本
12 | wget https://github.com/ronggang/transmission-web-control/raw/master/release/tr-control-easy-install.shbash tr-control-easy-install.sh |
如果需要 http 而不是 https,请使用以下命令:
12 | wget https://github.com/ronggang/transmission-web-control/raw/master/release/tr-control-easy-install-en-http.sh --no-check-certificatebash tr-control-easy-install-en-http.sh |
如果需要安装到群晖 downloadstation,请下载下列安装脚本并运行:
12 | wget https://github.com/ronggang/transmission-web-control/raw/master/release/ds-control-easy-install.shbash ds-control-easy-install-en-http.sh |
至此 Transmission 的安装教程结束!
3、使用教程
和迅雷一样,不多介绍了。
4、辅助工具
Transmission 有多种客户端,基本覆盖全平台,没有网页端也足够了,又不是干啥,要啥自行车。
4.1.Windows:
1.Transmission-QT 下载地址:https://transmission-qt.en.softonic.com/
2.Transmission-GUI 下载地址:https://sourceforge.net/projects/transgui/
这俩都差不多,就是长得不怎么一样,一般 GUI 版本的用户多,功能也强大一些。简简单单的下载都能应付。
4.2.Android:
TransDroid 下载地址:http://www.coolapk.com/apk/org.transdroid.full
好看好用,Android 平台首推这个软件管理,很方便!
其他平台没怎么用过,不做推荐,基本都有。
flexget 是扩展 transmission rss 订阅下载 的一个强大的工具
以下操作过程:
1、 部署环境
1.1. yum 安装 python 编译环境
1 | yum install -y gcc make zlib zlib-devel readline-devel sqlite sqlite-devel openssl-devel mysql-devel gd-devel openjpeg-devel |
1.2. 下载 python 2.7.13.tgz
1 | wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz |
1.3. 解压并安装 python 2.7.13
12345678 | tar zxf Python-2.7.13.tgzpushd Python-2.7.13./configure--pix=/root/python&&make&&make install&&ln -s /root/python/bin/python2.7 /usr/local/bin/pythonsource ~/.bash_profilepopd |
1.4. 下载并安装 pip
123 | wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate/usr/local/bin/python get-pip.pyln -s /root/python/bin/pip /usr/local/bin/pip |
1.5. 安装 virtualenv
12 | /usr/local/bin/pip install virtualenvln -s /root/python/bin/virtualenv /usr/local/bin/virtualenv |
2、添加并安装 flexget
123 | cd /root/virtualenv /root/flexget//root/flexget/bin/pip install flexget |
2.1. 安装 transmissionrpc 插件(实现 transmissionrpc 帐号认证)
1 | /root/flexget/bin/pip install transmissionrpc |
2.2. flexget 配置文件 部分示例(以 config.yml 命名)
1234567891011121314151617 | tasks: pt_name: rss: .... # pt rss 订阅地址 download: /data/torrent # flexget 下载种子存放位置 transmission: host: xxx.xxx.xxx.xxx # transmission 主机 ip port: xxxx # transmission 端口 username: xxxx # transmission 用户名 password: xxxx # transmission 密码 regexp: accept: - Colony.Sd{1,2}Ed+.720p.HDTV.x264-FLEET # Colony.S01E01.720p.HDTV.x264-FLEET # 这个为 殖民地 美剧 的 flexget 正则表达式 # https://flexget.com/Plugins/regexp # flexget 官方配置介绍 |
# https://flexget.com/Plugins/regexp
# flexget 官方配置介绍
我自己刷 MT 的配置
config.yml 存放位置/root/flexget/,配置里涉及到的存放目录没有的自行创建好
123456789101112131415161718192021222324 | tasks: mt: rss: https://tp.m-team.cc/torrentrss.php?https=1&rows=10&cat410=1&cat429=1&cat424=1&cat430=1&icat=1&isize=1&iuplder=1&linktype=dl&passkey=***** accept_all: yes content_size: min: 256 max: 3072 download: /home/transmission/torrent transmission: host: 127.0.0.1 port: 9091 username: user password: password clean_transmission: host: 127.0.0.1 port: 9091 username: user password: password finished_for: 6 hours tracker: tp.m-team.cc delete_files: Yes free_space: path: /home/transmission/Downloads space: 3072 |
2.3. 运行 flexget
1 | /root/flexget/bin/flexget -c /root/flexget/config.yml execute |
2.4.cron 任务
1 | crontab -e |
添加以下任务实现每五分钟执行一次检查,这样就能通过 flexget 实现自动下载和自动删除
1 | */5 * * * * /root/flexget/bin/flexget -c /root/flexget/config.yml execute |
[永久免费VPS 香港VPS]历史优惠活动内容
猜你可能想看的VPS
- CloudCone→$2.8 月 KVM-2GB 60GB 3TB 洛杉全球[VPS测评]
- CentOS7 创建并启用 RAMDISK(内存盘)全球[VPS测评]
- 玩具-JustHost→11 元 月 1 核 512M 内存 5G 硬盘全球[VPS测评]
- 便宜 $4.99 月 1 核 CPU 256M 内存 15G SSD 3全球[VPS测评]
- 秒杀 腾讯云→香港 1G 内存 VPS 年付 299 元 无需备案 北京香港VPS[主机]
- VIRPUS→$1.5 月 XEN-512MB 15GB 1.5TB 西全球[VPS测评]
- baku.hosting→$24.4 半年 768MB 内存 20GB 虚拟空间(主机)
- Skynode→€19 月 i3-2120 16G 内存 1TB 硬盘 全球[VPS测评]
- hosteons→免费提供 Windows 授权 8 折优惠 $36 年WINDOWS
- ZJI→570 元 月-E5 2630L 16GB 480G SSD 5香港VPS[主机]
- wordpress 修改默认分页条数的方法全球[VPS测评]
- WordPress如何手动还原到旧版本全球[VPS测评]
- 如何通过巧用WordPress Trackbacks和Pingbacks全球[VPS测评]
- WordPress 支持上传 webp 图片的方法全球[VPS测评]
- Hostsailor-复活节半价1.5$ 月 512M内存25G硬盘 5美国VPS[主机]
- Photonvps-八折循环 4$ 月 1核1G内存30G空间 2T流量虚拟空间(主机)
- 购买香港服务器需要做哪些准备香港VPS[主机]
- 厘米云,江苏移动100G高防云服务器,4核4G内存20M带宽79元/月全球[VPS测评]
- JGKVM(极光kvm),便宜香港VPS(5G防御秒解),极光互联vps香港VPS[主机]
- 向日葵-漏洞科普:海外云服务器三种漏洞修复方法快收藏起来!全球[VPS测评]
- 2020畅行云双11活动:海内外云服务器超低1.5折,2核2G5M云主机全球[VPS测评]
- 极光kvm怎么样,便宜大带宽香港cmi vps/美国gia vps低至1美国VPS[主机]
- 什么是VPS?国内VPS有哪些?全球[VPS测评]
- 长三角地区的算力需求规模到底有多大?全球[VPS测评]
- 阿里云香港服务器速度怎么样?阿里云香港vps稳定不稳定?香港VPS[主机]
- 磐逸云:全场8折优惠,1核1G香港套餐月付24元,日本NNT线路套餐,月日本VPS[主机]
- 再“掷”53亿元 宜家能否挽回中国消费者全球[VPS测评]
- 众创逸云:国庆中秋节大促销优惠,不限流量香港CN2线路VPS 5.9元/香港VPS[主机]
- 麻花云:香港CN2VPS月付19元起,安徽移动8核/16G/20M独服2香港VPS[主机]
- 硅云:香港云服务器2核2G5M促销1999元/3年起,香港虚拟主机1G空虚拟空间(主机)
转载请注明原文地址:https://www.motoll.com/read-214917.html