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
- 促销 RackNerd→1 核 CPU 1G 内存 15G SSD 2.全球[VPS测评]
- jQuery Validation 验证 Bootstrap 的输入框组全球[VPS测评]
- [11.11]GigsGigsCloud 全场年付 8 折 香港 CN2香港VPS[主机]
- PacificRack→$8.88 年 KVM-400MB 12GB 1全球[VPS测评]
- Laravel Passport 提示→Method attempt d全球[VPS测评]
- ¥23.98 月 256M 内存 512G 流量 66M 带宽 KVM 香港VPS[主机]
- VirMach 圣何塞机房补货→终身六折 $15 年 512MB 内存 全球[VPS测评]
- 水墨云洛杉矶 GIA 特惠限量五折,1 核 512M 内存 100M 带全球[VPS测评]
- 线路不行-海星云香港大浦 NTT 机房 KVM VPS 服务器上新 电信香港VPS[主机]
- mysql 去除前后空白字符的终极办法全球[VPS测评]
- Virmach 美国新泽西州皮斯卡特维机房 VPS 测评数据美国VPS[主机]
- thinkphp5 中文乱码解决方案全球[VPS测评]
- 搬瓦工VPS方案怎么选?全球[VPS测评]
- XIU 主题在首页最新发布文章标题后添加 NEW 图标 XIU 主题美化全球[VPS测评]
- Maple-Hosting荷兰抗投诉DMCA服务器,无视版权/真不限流量全球[VPS测评]
- VirMach大硬盘存储型VPS预售,八折优惠,$20起/年,10Gbp日本VPS[主机]
- InterServer美国便宜独立服务器 Ryzen 3600X CPU独立服务器[U]
- c1vhosting-意大利罗马 2.9欧元 1C256RAM10GB 全球[VPS测评]
- Rustrot-深绿色UI电商网站模板HTML5框架全球[VPS测评]
- 详细介绍vps云服务器及其作用全球[VPS测评]
- 性价比最高的VPS网络评测全球[VPS测评]
- HTML5绿色有机食品电商网站模板 - Organtio全球[VPS测评]
- Aoyohost:1核1GB/20GB/600GB流量/60Mbps端口香港VPS[主机]
- 二三互联,香港cn2云服务器5折+85折双重优惠,稳定不限流量,1核1G香港VPS[主机]
- 腾讯云免备案云服务器:香港/德国/美国/俄罗斯等可选,低至300元/年美国VPS[主机]
- 桔子数据,香港安畅BGP大带宽VPS 首月五折体验 三网直连 14元/月香港VPS[主机]
- 葫芦云:香港将军澳CN2云服务器24元/月,1核/1GB/25G硬盘/3香港VPS[主机]
- 恒星云:香港沙田CN2VPS低至9.9元/起_国内BGP云服务器4核4G香港VPS[主机]
- 什么是分布式拒绝服务攻击,其原理及防范措施全球[VPS测评]
- 2020畅行云双11活动:海内外云服务器超低1.5折,2核2G5M云主机全球[VPS测评]
转载请注明原文地址:http://140.238.13.167:12355/read-211945.html











