Aria2: Difference between revisions
mNo edit summary |
m →WebUI |
||
| Line 2: | Line 2: | ||
Project Website: | Project Website: | ||
== Install == | *https://aria2.github.io/ | ||
==Install== | |||
To install in Ubuntu | To install in Ubuntu | ||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
| Line 10: | Line 11: | ||
}} | }} | ||
== Usage == | ==Usage== | ||
To quickly download something with 4 threads: | To quickly download something with 4 threads: | ||
{{highlight|lang=terminal|code= | {{highlight|lang=terminal|code= | ||
| Line 34: | Line 35: | ||
Other common options are: | Other common options are: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Flag | !Flag | ||
! Description | !Description | ||
|- | |- | ||
| {{code|1=--check-certificate=false}} | |{{code|1=--check-certificate=false}} | ||
| No SSL certificate validation | |No SSL certificate validation | ||
|- | |- | ||
| {{code|-c}} or {{code|1=--continue=true}} | |{{code|-c}} or {{code|1=--continue=true}} | ||
| Enable resume | |Enable resume | ||
|} | |} | ||
== WebUI == | ==WebUI== | ||
There is a web UI project for Aria2C using the built in RPC server at https://github.com/mayswind/AriaNg. | There is a web UI project for Aria2C using the built in RPC server at https://github.com/mayswind/AriaNg. | ||
A packaged version inside Docker can be found on my repository at | A packaged version inside Docker can be found on my repository at | ||
* https://git.steamr.com/docker/ariang | |||
*https://git.steamr.com/docker/ariang | |||
It looks like settings that are saved on ariang will be lost when the container restarts. When re-connecting, you may need to adjust the settings so that: | |||
* The RPC server is set to ariarpc.home.steamr.com. | |||
* Traefik is proxying port 6800 as 443 | |||
* RPC Secret needs to be set. The container defaults to 'ariang'. | |||
{{Navbox Linux}}[[Category:Linux]] | {{Navbox Linux}} | ||
[[Category:Linux]] | |||
[[Category:LinuxUtilities]] | [[Category:LinuxUtilities]] | ||
Latest revision as of 23:35, 27 September 2020
aria2 is a HTTP/FTP/BitTorrent download utility.
Project Website:
Install
To install in Ubuntu
$ sudo apt install aria2
Usage
To quickly download something with 4 threads:
$ aria2c -x 4 http://something.com/foo.zip
Chunk sizes can be defined with -k flag.
$ aria2c -x 4 -k 1M http://something.com/foo.zip
Resume download started by other programs with -c, only if the initial download was not multi-segmented.
$ aria2c -c -s2 http://something.com/foo.zip
Download speed can be throttled:
$ aria2c --max-download-limit=100K http://something.com/foo.zip
Other common options are:
| Flag | Description |
|---|---|
--check-certificate=false
|
No SSL certificate validation |
-c or --continue=true
|
Enable resume |
WebUI
There is a web UI project for Aria2C using the built in RPC server at https://github.com/mayswind/AriaNg.
A packaged version inside Docker can be found on my repository at
It looks like settings that are saved on ariang will be lost when the container restarts. When re-connecting, you may need to adjust the settings so that:
- The RPC server is set to ariarpc.home.steamr.com.
- Traefik is proxying port 6800 as 443
- RPC Secret needs to be set. The container defaults to 'ariang'.