|
|
本人新手,想用赚钱宝实现Aria2下载,entware已经安装,Aria2也装好了,但是不知道配置文件应该怎么写,求大神指教。
# cd /opt/etc
# ls
aria2.conf init.d opkg.conf samba
config nsswitch.conf profile
这个aria2.conf是不是配置文件?这个文件内容如下
# Basic Options
dir=/media/sda1/Aria2
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-allow-origin-all=true
#rpc-certificate=/opt/var/aria2/aria2.pfx
rpc-listen-all=true
rpc-listen-port=6800
# 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
运行后有如下提示
# /opt/bin/aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all -c
01/10 20:44:33 [WARN] Neither --rpc-secret nor a combination of --rpc-user and --rpc-passwd is set. This is insecure. It is extremely recommended to specify --rpc-secret with the adequate secrecy or now deprecated --rpc-user and --rpc-passwd.
01/10 20:44:33 [NOTICE] IPv4 RPC: listening on TCP port 6800
01/10 20:44:33 [NOTICE] IPv6 RPC: listening on TCP port 6800
01/10 20:44:58 [NOTICE] Shutdown sequence commencing... Press Ctrl-C again for emergency shutdown.
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
请问这样正常吗?还有Aria2怎么实现web控制?浏览器直接登录http://192.168.1.106:6800/jsonrpc 提示无法访问。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|