Created
August 15, 2017 07:24
-
-
Save sq3/713f388da8c8de53fae09c86282d6770 to your computer and use it in GitHub Desktop.
Download OpenJDK with aria2c via http Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ aria2c --max-connection-per-server=16 \ | |
--min-split-size=1M \ | |
--header="Cookie: oraclelicense=accept-securebackup-cookie" \ | |
--http-proxy="http://1.2.3.4:3128" \ | |
http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz | |
08/15 09:22:34 [NOTICE] Downloading 1 item(s) | |
[#3114d1 176MiB/176MiB(99%) CN:3 DL:10MiB] | |
08/15 09:22:52 [NOTICE] Download complete: /tmp/tmp/jdk-8u144-linux-x64.tar.gz | |
Download Results: | |
gid |stat|avg speed |path/URI | |
======+====+===========+======================================================= | |
3114d1|OK | 10MiB/s|/tmp/tmp/jdk-8u144-linux-x64.tar.gz | |
Status Legend: | |
(OK):download completed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment