Configure My Aria2

# 配置 Aria2 的設定

cli 使用方式很直覺,就是 aria2c source_url 然後支援幾種參數

aria2c https://uwaylu.github.io

aria2c -x2 https://uwaylu.github.io 2 connections

aria2c https://uwaylu.github.io https://uwaylu2.github.io from 2 host

aria2c -i uris.txt download URIs found in text file

偏好設定像是下載路徑,每次使用幾個連接等, 當然就是寫在 config 中記起來啦

# Configuration

  • path: ~/.aria2/aria2.conf
  • command: aria2c --conf-path=<path>

RPC 一定要打開,預設是走 6800 port 並且非加密 http

其實最詳細的官方文件,只是 RTFM 覺得心累...

# 參考資料