如何通过代理使用 axel 下载管理器?

ind*_*wan 5 command-line proxy axel

如何通过代理使用 axel 下载管理器?

示例主机:100.100.100.100,端口:8080,用户名:admin,密码:admin2

Max*_*nni 2

axel我在代理后面使用,通常设置所有这些环境变量

export http_proxy='http://<ip>:<port>'
export all_proxy=$http_proxy
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export FTP_PROXY=$http_proxy
Run Code Online (Sandbox Code Playgroud)

我刚刚检查了一下,看来至少支持小写版本:

user@hostname:/tmp$ axel http://www.google.com
Initializing download: http://www.google.com
Unable to connect to server www.google.com:80

user@hostname:/tmp$ export http_proxy='http://127.0.0.1:5865'
user@hostname:/tmp$ axel http://www.google.com
Initializing download: http://www.google.com
Opening output file default.1
Server unsupported, starting from scratch with one connection.
Starting download

[  0%]  .......... .
Connection 0 finished

Downloaded 11.3 Kilobyte in 0 seconds. (37.63 KB/s)
Run Code Online (Sandbox Code Playgroud)

我认为使用这种形式的基本http认证应该没有问题,但我无法检查它

export http_proxy='http://admin:admin2@100.100.100.100:8080'
Run Code Online (Sandbox Code Playgroud)