aria2使用笔记

aria2使用笔记

Deploy

apt install aria2

touch /etc/aria2/aria2.session
# chmod 777 /etc/aria2/aria2.session

aria2c --conf-path=/etc/aria2/aria2.conf

BT Tracker

(These lists are updated automatically)

Configure

# 参考配置
# RPC端口 = 6800
# BT端口 = 51413
# DHT端口 = 46881-46882
dir=/mnt/disk/download
file-allocation=none
allow-overwrite=true
continue=true
#check-integrity=true
daemon=true
rpc-secret=
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
#rpc-listen-port=6800
max-concurrent-downloads=1024
max-connection-per-server=16
continue=true
min-split-size=4M
split=50
max-tries=0
max-overall-download-limit=0
max-download-limit=0
max-overall-upload-limit=0
check-certificate=false
save-session=/etc/aria2/aria2.session
input-file=/etc/aria2/aria2.session
save-session-interval=60
force-save=true
enable-dht=true
dht-listen-port=46881-46882
bt-enable-lpd=true
listen-port=51413
enable-peer-exchange=true
bt-tracker=

Reference

Top