分页: 1 / 1
[问题]求axel设置
发表于 : 2007-10-10 22:45
由 robert870119
今天用axel下载ctex的texlive2007,结果被封IP了,据查,说是Connected more than 5 times in 30 seconds.
由此,我有man axel,不大确定该用哪个命令
还是其他什么的?上面这个命令应该是说限制在几个线程吧。。
那么,它能否设置连接重试的时间间隔呢?
还有,若是axel配套-S 命令当话,能否做到在源地址限制为2个线程,其他选择的地址不限制(或者说是按默认)线程来下载呢?
希望指导,谢谢。
发表于 : 2007-10-10 22:57
由 windwiny
--help 看一下不就知道了
发表于 : 2007-10-11 7:18
由 robert870119
显然,在help没能找到才来发问的,我在顶楼已经描述过了。
发表于 : 2007-10-11 7:29
由 xhy
代码: 全选
--max-speed=x -s x Specify maximum speed (bytes per second)
--num-connections=x -n x Specify maximum number of connections
--output=f -o f Specify local output file
--search[=x] -S [x] Search for mirrors and download from x servers
--no-proxy -N Just don't use any proxy server
--quiet -q Leave stdout alone
--verbose -v More status information
--alternate -a Alternate progress indicator
--help -h This information
--version -V Version information
-S 表示从多个镜像中搜索 并且同时在多个服务器中下载
-n x表示最多x个连接数 作用于所有服务器
-n 1就是单线程下载
发表于 : 2007-10-11 9:08
由 eexpress
● cat .axelrc
不比这详细吗。
发表于 : 2007-10-11 9:48
由 robert870119
xhy 写了:代码: 全选
--max-speed=x -s x Specify maximum speed (bytes per second)
--num-connections=x -n x Specify maximum number of connections
--output=f -o f Specify local output file
--search[=x] -S [x] Search for mirrors and download from x servers
--no-proxy -N Just don't use any proxy server
--quiet -q Leave stdout alone
--verbose -v More status information
--alternate -a Alternate progress indicator
--help -h This information
--version -V Version information
-S 表示从多个镜像中搜索 并且同时在多个服务器中下载
-n x表示最多x个连接数 作用于所有服务器
-n 1就是单线程下载
谢谢,很详细,很好。
但重点是,如何设置连接重试时间呢?
EE的帮助总是那么抽象。。 我运行
提示没有这个文件,我再找找。
发表于 : 2007-10-11 9:52
由 eexpress
/etc/axelrc System-wide configuration file
~/.axelrc Personal configuration file
我以为你会看man的。就是复制一个过来,全解释的。
发表于 : 2007-10-11 10:06
由 xhy
如何设置连接重试时间
似乎没有这个选项 axel的特色是分块下载和简单
需要复杂功能的不妨用wget
发表于 : 2007-10-11 10:08
由 robert870119
eexpress 写了:/etc/axelrc System-wide configuration file
~/.axelrc Personal configuration file
我以为你会看man的。就是复制一个过来,全解释的。
....没看全吧。。。其实xhy给的那个help当内容我都看过,但他告诉我了 -S -n连用时连接数的问题。。很好阿。没建立个人的设置文件。。
还是很感谢EE的指导。
发表于 : 2007-10-11 10:11
由 robert870119
xhy 写了:如何设置连接重试时间
似乎没有这个选项 axel的特色是分块下载和简单
需要复杂功能的不妨用wget
这样啊。。
用wget下那个文件速度太慢了,文件又大,用axel的速度不错。。
发表于 : 2007-10-11 10:45
由 bones7456
如果已经被限制了线程数,用axel和wget下载应该速度差不多吧.
发表于 : 2007-10-11 11:08
由 eexpress
哦。你还是应该看看rc文件的。我只是说这里面的参数,说明很详细的意思。

发表于 : 2007-10-11 11:13
由 robert870119
bones7456 写了:如果已经被限制了线程数,用axel和wget下载应该速度差不多吧.
不知道为什么,wget下载时速度有时不稳定,时快时慢。。axel一般不会这样。。

发表于 : 2007-10-11 11:19
由 robert870119
eexpress 写了:哦。你还是应该看看rc文件的。我只是说这里面的参数,说明很详细的意思。

我现在看过了,确实很详细。谢谢。