0%

aria2 配置

Windows

aira2 配置

下载

Github-aria2

解压至 D:\Softwares\aria2\

管理

创建

  • aria2.session (下载历史,空文件就行)
  • aria2.log (日志,空文件就行)
  • HideRun.vbs (隐藏 cmd 窗口运行用到的)
  • aria2.conf (配置文件)

要启动 aria2,一定要点击这个文件,不要点击 aria2c.exe
如果要开机启动,创建一个 HideRun.vbs 的快捷方式,把快捷方式放到 C:\Users\用户名\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

  • aria2c.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## rpc配置 ##
#允许rpc
enable-rpc=true
#允许所有来源, web界面跨域权限需要
rpc-allow-origin-all=true
#允许非外部访问
rpc-listen-all=true
#RPC端口, 仅当默认端口被占用时修改
#rpc-listen-port=6800
rpc-secret=12345 #这个是通过rpc连接时使用的安全token令牌,类似密码

## BT/PT下载相关 ##
check-certificate=false
enable-dht=true
dht-listen-port=6881-6999
bt-enable-lpd=true
enable-peer-exchange=true
# 同一服务器连接数
max-connection-per-server=16
bt-max-peers=100
#dht-file-path=/docs/system-tools/aria2/dht.dat

bt-tracker=udp://tracker4.itzmx.com:2710/announce #tracker列表,保持最新有助于提高种子下载速度

给博主来一杯卡布奇诺