|
楼主 |
发表于 2019-9-28 11:54:29
|
显示全部楼层
EntWare下aria2、transmission、qbittorrent等常用下载工具
本帖最后由 wdmomo 于 2019-10-7 16:49 编辑
一、aira2
1. aria2安装
2. 示例配置:配置文件在/opt/etc/aria2.conf
- # Basic Options
- dir=/media/sda1/downloads #下载默认保存目录
- input-file=/opt/var/aria2/session.dat
- log=/opt/var/log/aria2.log
- max-concurrent-downloads=8
- check-integrity=true
- continue=true
- # BitTorrent/Metalink Options
- bt-enable-lpd=true
- bt-max-open-files=16
- bt-max-peers=8
- dht-file-path=/opt/var/aria2/dht.dat
- dht-file-path6=/opt/var/aria2/dht6.dat
- dht-listen-port=6801
- #enable-dht6=true
- listen-port=6801
- max-overall-upload-limit=2M
- seed-ratio=0
- # RPC Options
- enable-rpc=true #启用RPC登录
- rpc-allow-origin-all=true
- #rpc-certificate=/opt/var/aria2/aria2.pfx
- rpc-listen-all=true
- rpc-listen-port=6800
- rpc-secret=wdmomo #RPC密码
- #rpc-secure=true
- # Advanced Options
- daemon=true
- disable-ipv6=true
- #enable-mmap=true
- force-save=true
- file-allocation=none
- log-level=warn
- max-overall-download-limit=5M
- save-session=/opt/var/aria2/session.dat
复制代码
3. 使用
- /opt/etc/init.d/S81aria2 start
复制代码
4. web管理
如本机无web服务,可按照楼上教程安装onmp服务后下载web管理程序
进入web站点根目录,一般为/opt/wwwroot下
- mkdir aria2
- wget https://github.com/mayswind/AriaNg/releases/download/1.1.3/AriaNg-1.1.3-AllInOne.zip
- unzip -x AriaNg-1.1.3-AllInOne.zip
复制代码 完成后即可使用浏览器访问:主机IP/aria2
二、transmission
1. 安装
- opkg install transmission-web transmission-daemon-openssl
复制代码
2. 示例配置:配置文件在/opt/etc/transmission/settings.json
- {
- "download-dir": "/media/sda1/downloads",
- "incomplete-dir": "/media/sda1/downloads/incomplete",
- "watch-dir": "/media/sda1/downloads/watchdir",
- "rpc-username": "root",
- "rpc-password": "wdmomo",
- "alt-speed-down": 50,
- "alt-speed-enabled": false,
- "alt-speed-time-begin": 540,
- "alt-speed-time-day": 127,
- "alt-speed-time-enabled": false,
- "alt-speed-time-end": 1020,
- "alt-speed-up": 50,
- "bind-address-ipv4": "0.0.0.0",
- "bind-address-ipv6": "::",
- "blocklist-enabled": false,
- "blocklist-url": "http://list.iblocklist.com/?list=bt_level1",
- "cache-size-mb": 2,
- "dht-enabled": true,
- "download-queue-enabled": true,
- "download-queue-size": 5,
- "encryption": 0,
- "idle-seeding-limit": 30,
- "idle-seeding-limit-enabled": false,
- "incomplete-dir-enabled": false,
- "lpd-enabled": true,
- "message-level": 1,
- "peer-congestion-algorithm": "",
- "peer-id-ttl-hours": 6,
- "peer-limit-global": 40,
- "peer-limit-per-torrent": 8,
- "peer-port": 51413,
- "peer-port-random-high": 65535,
- "peer-port-random-low": 49152,
- "peer-port-random-on-start": false,
- "peer-socket-tos": "lowcost",
- "pex-enabled": true,
- "port-forwarding-enabled": false,
- "preallocation": 1,
- "prefetch-enabled": false,
- "queue-stalled-enabled": true,
- "queue-stalled-minutes": 30,
- "ratio-limit": 2,
- "ratio-limit-enabled": false,
- "rename-partial-files": true,
- "rpc-authentication-required": false,
- "rpc-bind-address": "0.0.0.0",
- "rpc-enabled": true,
- "rpc-host-whitelist": "",
- "rpc-host-whitelist-enabled": true,
- "rpc-port": 9091,
- "rpc-url": "/transmission/",
- "rpc-whitelist": "127.0.0.1",
- "rpc-whitelist-enabled": false,
- "scrape-paused-torrents-enabled": true,
- "script-torrent-added-enabled": false,
- "script-torrent-added-filename": "",
- "script-torrent-done-enabled": false,
- "script-torrent-done-filename": "",
- "seed-queue-enabled": false,
- "seed-queue-size": 10,
- "speed-limit-down": 100,
- "speed-limit-down-enabled": false,
- "speed-limit-up": 100,
- "speed-limit-up-enabled": false,
- "start-added-torrents": true,
- "trash-original-torrent-files": true,
- "umask": 18,
- "upload-slots-per-torrent": 14,
- "utp-enabled": true,
- "watch-dir-enabled": true
- }
复制代码
3. 使用
- /opt/etc/init.d/S88transmission start
复制代码
4. web管理
完成后即可使用浏览器访问:IP地址:9091/transmission
三、qbittorrent
1.安装
2. 使用
- /opt/etc/init.d/S89qbittorrent start
复制代码
3. web管理
完成后即可使用浏览器访问:IP地址:9080
默认用户名:admin,默认密码:adminadmin
|
|