Transmission配置文件各参数设置说明、SDDNS、Samba等配置

Transmission配置文件各参数设置说明、SDDNS、Samba等配置

2023年6月25日发(作者:)

Transmission配置⽂件各参数设置说明、SDDNS、Samba等配置Transmission配置⽂件各参数设置说明01"alt-speed-up": 500, #计划时段上传限速值02"alt-speed-down": 500, #计划时段下载限速值03"alt-speed-enabled": false,04"alt-speed-time-begin": 540,05"alt-speed-time-day": 127,06"alt-speed-time-enabled": true, #启⽤计划⼯作,为false时,以上计划配置则不⽣效07"alt-speed-time-end": 420, #计划结束时间,为零点到开始时间的分钟数,⽐如7:00就是7*60=420。另外,该时间是⽤的GMT时间,即北京时间-8⼩时。⽐如你计划北京时间7点30分开始,这个数字应该是(7-8+24)*60+30=141008"bind-address-ipv4": "0.0.0.0",09"bind-address-ipv6": "::",10"blocklist-enabled": true,11"blocklist-updates-enabled": false,12"blocklist-url": ">",13"cache-size-mb": 4, #缓存⼤⼩,以MB为单位,建议设⼤⼀些,避免频繁读写硬盘⽽伤硬盘,建议设为内存⼤⼩的1/6~1/414"compact-view": false,15"dht-enabled": false, #关闭DHT(不通过tracker寻找节点)功能,不少PT站的要求,但BT下载设置为true会使得下载更好16"download-dir": "/home/tengda/Downloads", #下载的内容存放的⽬录17"download-queue-enabled": true,18"download-queue-size": 5,19"encryption": 1, #0=不加密,1=优先加密,2=必须加密20"idle-seeding-limit": 30,21"idle-seeding-limit-enabled": false,22"incomplete-dir": "/home/tengda/Downloads",23"incomplete-dir-enabled": false,24"inhibit-desktop-hibernation": true,25"lpd-enabled": false, #禁⽤LDP(本地节点发现,⽤于在本地⽹络寻找节点),不少PT站的要求26"main-window-height": 500,27"main-window-is-maximized": 0,28"main-window-width": 615,29"main-window-x": 337,30"main-window-y": 211,31"message-level": 2,32"open-dialog-dir": "/home/tengda/u684cu9762",33"peer-congestion-algorithm": "",34"peer-limit-global": 240, #全局连接数35"peer-limit-per-torrent": 60, #每个种⼦最多的连接数36"peer-port": 51413, #预设的port⼝37"peer-port-random-high": 65535,38"peer-port-random-low": 49152,39"peer-port-random-on-start": false, #不建议改为true40"peer-socket-tos": "default",41"pex-enabled": false, #禁⽤PEX(节点交换,⽤于同已与您相连接的节点交换节点名单),不少PT站的要求42"port-forwarding-enabled": true,43"preallocation": 1, #预分配⽂件磁盘空间,0=关闭,1=快速,2=完全。建议取1开启该功能,防⽌下载⼤半了才发现磁盘不够。取2时,可以减少磁盘碎⽚,但速度较慢。44"prefetch-enabled": 1,45"queue-stalled-enabled": true,46"queue-stalled-minutes": 30,47"ratio-limit": 2,48"ratio-limit-enabled": false,49"rename-partial-files": true, #在未完成的⽂件名后添加后缀.part,false=禁⽤50"rpc-authentication-required": true, #远程电脑登陆验证(授权),默认为false,不需⽤户名和密码就能登陆web-ui51"rpc-bind-address": "0.0.0.0",52"rpc-enabled": true,53"rpc-password": "{c8c083168db9fff40b5136b6d0f3f4a864110a78oH51JaE", #web-ui的密码,可直接修改,重新运⾏或者reload服务的时候会⾃动被加密54"rpc-port": 9091, #默认web-ui的port⼝,可⾃⾏更改55"rpc-url": "/transmission/",56"rpc-username": "tengda", #远程电脑登⼊web-ui的⽤户名称57"rpc-whitelist": "127.0.0.1", #允许远程连接控制的电脑IP地址⽩名单,如果只允许局域⽹内电脑控制的话可以⽤“192.168.*.* ”58"rpc-whitelist-enabled": true, #如果你要让其他⽹段连⼊,请设false59"scrape-paused-torrents-enabled": true,60"script-torrent-done-enabled": false,61"script-torrent-done-filename": "/home/tengda",62"seed-queue-enabled": false,63"seed-queue-size": 10,64"show-backup-trackers": true,65"show-extra-peer-details": false,66"show-filterbar": true,67"show-notification-area-icon": false,68"show-options-window": true,69"show-statusbar": true,70"show-toolbar": true,71"show-tracker-scrapes": true,72"sort-mode": "sort-by-age",73"sort-reversed": false,74"speed-limit-down": 300, #平时的下载限速75"speed-limit-down-enabled": true, #启⽤平时下载限速76"speed-limit-up": 30, #平时上传限速77"speed-limit-up-enabled": true, #启⽤平时上传限速78"start-added-torrents": false,79"statusbar-stats": "total-ratio",80"torrent-added-notification-enabled": true,81"torrent-complete-notification-enabled": true,82"torrent-complete-sound-enabled": true,83"trash-can-enabled": true,84"trash-original-torrent-files": false,85"umask": 18, #默认18,这会让下载回来的⽂件⽬录的权限为0755,⽽改成0可以把权限改成0777,这样就⽅便了通过局域⽹电脑对⽂件⽬录的全权控制,⽐如把字幕⽂件丢到电影⽬录⾥86"upload-slots-per-torrent": 1487"utp-enabled": true, #启⽤µTP协议88"watch-dir": "/home/tengda/u4e0bu8f7d", #transmission监控⽬录,凡是在这个⽬录⾥的种⼦都会⾃动下载89"watch-dir-enabled": false #允许监控⽬录开关=====================================================================SDDNS相关说明、、 路径 /etc/conf内容login_email='mail'login_password='pssword'main_domain='domain'sub_domain='www'wanip='/ip'addon_opt='--cacert /etc/'#addon_opt='--no-check-certificate'### DOT NOT MODIFY THE FOLLOWING~=====================================================================Samba配置[global]netbios name = |NAME|

display charset = |CHARSET|interfaces = |INTERFACES|server string = |DESCRIPTION|unix charset = |CHARSET|workgroup = |WORKGROUP|browseable = yesdeadtime = 30domain master = yesencrypt passwords = trueenable core files = noguest account = rootguest ok = yes#invalid users = rootlocal master = yesload printers = nomap to guest = Bad Usermax protocol = SMB2min receivefile size = 16384null passwords = yesobey pam restrictions = yesos level = 65passdb backend = smbpasswdpreferred master = yesprintable = nosecurity = usersmb encrypt = disabledsmb passwd file = /etc/samba/smbpasswdsocket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536syslog = 2use sendfile = yeswriteable = yesblock size = 4096#strict allocate = yesaio read size = 16384aio write size = 16384read raw = yeswrite raw = yes

发布者:admin,转转请注明出处:http://www.yc00.com/news/1687678467a30854.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信