如何使用带有代理的 axel 下载管理器?
示例主机:100.100.100.100,端口:8080,用户名:admin,密码:admin2
答案1
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
我刚刚检查过,似乎至少支持小写版本:
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)
我认为在这个表单中使用基本 http 身份验证应该没有问题,但我无法检查
export http_proxy='http://admin:[email protected]:8080'