Transimission 操作及设置
来源:互联网 发布:数据科学网 编辑:程序博客网 时间:2024/06/05 19:49
1.安装
apt-get install transmission-daemon
2.配置
/etc/init.d/transmission-daemon stop #修改配置文件前一定要先停掉
vi /var/lib/transmission-daemon/info/settings.json #使用熟悉的文件编辑器修改配置文件挂PT至少以下要修改:
“dht-enabled”: false,
玩pt的,DHT肯定是关闭的,这也是主流PT的要求
“download-dir”: “/var/lib/transmission-daemon/downloads”,
自己定义一个下载路径,注意设置下载路径的权限
“rpc-password”: “password”,
“rpc-username”: “download”,
定义web访问的用户名和密码,这个很重要。关系到以后客户端的访问。
“rpc-port”: 9091,
定义web访问的端口,同上,关系客户端的访问。
“rpc-whitelist-enabled”: false,
如果你的访问ip不是很固定,建议这项取消,否则web访问会受限制
“peer-port”: 51515,
这项主要匹配防火墙政策。
3.启动与关闭
sudo /etc/init.d/transmission-daemon start
sudo /etc/init.d/transmission-daemon stop
4.其他配置
参见:http://yysfire.github.io/linux/transmission-setting-file.html
"alt-speed-up": 500, #计划时段上传限速值"alt-speed-down": 500, #计划时段下载限速值"alt-speed-enabled": false,"alt-speed-time-begin": 540,"alt-speed-time-day": 127,"alt-speed-time-enabled": true, #启用计划工作,为false时,以上计划配置则不生效"alt-speed-time-end": 420, #计划结束时间,为零点到开始时间的分钟数,比如7:00就是7*60=420。另外,该时间是用的GMT时间,即北京时间-8小时。比如你计划北京时间7点30分开始,这个数字应该是(7-8+24)*60+30=1410"bind-address-ipv4": "0.0.0.0","bind-address-ipv6": "::","blocklist-enabled": true,"blocklist-updates-enabled": false,"blocklist-url": "http://www.example.com/blocklist","cache-size-mb": 4, #缓存大小,以MB为单位,建议设大一些,避免频繁读写硬盘而伤硬盘,建议设为内存大小的1/6~1/4"compact-view": false,"dht-enabled": false, #关闭DHT(不通过tracker寻找节点)功能,不少PT站的要求,但BT下载设置为true会使得下载更好"download-dir": "/home/yys/Downloads", #下载的内容存放的目录"download-queue-enabled": true,"download-queue-size": 5,"encryption": 1, #0=不加密,1=优先加密,2=必须加密"idle-seeding-limit": 30,"idle-seeding-limit-enabled": false,"incomplete-dir": "/home/yys/Downloads","incomplete-dir-enabled": false,"inhibit-desktop-hibernation": true,"lpd-enabled": false, #禁用LDP(本地节点发现,用于在本地网络寻找节点),不少PT站的要求"main-window-height": 500,"main-window-is-maximized": 0,"main-window-width": 615,"main-window-x": 337,"main-window-y": 211,"message-level": 2,"open-dialog-dir": "/home/yys/\u684c\u9762","peer-congestion-algorithm": "","peer-limit-global": 240, #全局连接数"peer-limit-per-torrent": 60, #每个种子最多的连接数"peer-port": 51413, #预设的port口"peer-port-random-high": 65535,"peer-port-random-low": 49152,"peer-port-random-on-start": false, #不建议改为true"peer-socket-tos": "default","pex-enabled": false, #禁用PEX(节点交换,用于同已与您相连接的节点交换节点名单),不少PT站的要求"port-forwarding-enabled": true,"preallocation": 1, #预分配文件磁盘空间,0=关闭,1=快速,2=完全。建议取1开启该功能,防止下载大半了才发现磁盘不够。取2时,可以减少磁盘碎片,但速度较慢。"prefetch-enabled": 1,"queue-stalled-enabled": true,"queue-stalled-minutes": 30,"ratio-limit": 2,"ratio-limit-enabled": false,"rename-partial-files": true, #在未完成的文件名后添加后缀.part,false=禁用"rpc-authentication-required": true,"rpc-bind-address": "0.0.0.0","rpc-enabled": true,"rpc-password": "{c8c083168db9fff40b5136b6d0f3f4a864110a78\/oH51JaE", #web-ui的密码,可直接修改,重新运行或者reload服务的时候会自动被加密"rpc-port": 9091, #默认web-ui的port口,可自行更改"rpc-url": "/transmission/","rpc-username": "transmission", #默认登入名称"rpc-whitelist": "127.0.0.1","rpc-whitelist-enabled": true, #如果你要让其他网段连入,请设false"scrape-paused-torrents-enabled": true,"script-torrent-done-enabled": false,"script-torrent-done-filename": "/home/yys","seed-queue-enabled": false,"seed-queue-size": 10,"show-backup-trackers": true,"show-extra-peer-details": false,"show-filterbar": true,"show-notification-area-icon": false,"show-options-window": true,"show-statusbar": true,"show-toolbar": true,"show-tracker-scrapes": true,"sort-mode": "sort-by-age","sort-reversed": false,"speed-limit-down": 300, #平时的下载限速"speed-limit-down-enabled": true, #启用平时下载限速"speed-limit-up": 30, #平时上传限速"speed-limit-up-enabled": true, #启用平时上传限速"start-added-torrents": false,"statusbar-stats": "total-ratio","torrent-added-notification-enabled": true,"torrent-complete-notification-enabled": true,"torrent-complete-sound-enabled": true,"trash-can-enabled": true,"trash-original-torrent-files": false,"umask": 18,"upload-slots-per-torrent": 14"utp-enabled": true, #启用μTP协议"watch-dir": "/home/yys/\u4e0b\u8f7d","watch-dir-enabled": false
阅读全文
0 0
- Transimission 操作及设置
- VS常用设置及操作
- MyEclipse基本设置及操作
- VS常用设置及操作
- MyEclipse基本设置及操作
- keil 常见设置及操作
- AndroidStudio常用设置及操作
- linux串口操作及设置
- 操作注册表及设置开机自动运行
- LPC2103 PLL设置及GPIO操作
- linux串口操作及设置详解 (转载)
- linux串口操作及设置详解
- linux串口操作及设置详解
- linux的简要设置及操作入门
- 数据库-基本操作及属性设置
- linux串口操作及设置详解
- linux串口操作及设置详解
- Linux系统设置及基本操作
- html5 新元素.... 有序无序
- 【算法】冒泡排序
- 使用Django进行微信公众号开发
- 【CUGBACM15级BC第25场 B】hdu 5155 Harry And Magic Box
- opengl 写入数据
- Transimission 操作及设置
- 教程:基于访问控制的ABAP CDS视图权限
- Mybatis中的 ${ } 和 #{ }的区别
- HTML表格与框架
- kotlin使用com.alibaba.fastjson.JSONException: default constructor not found
- 转行学Java有可能成为高薪大牛吗?
- 《剑指Offer》做题总结(三)
- python opencv去图片水印
- WebService 四种发布方式总结