[问题]求axel设置

上网、浏览、聊天、下载等
回复
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

[问题]求axel设置

#1

帖子 robert870119 » 2007-10-10 22:45

今天用axel下载ctex的texlive2007,结果被封IP了,据查,说是Connected more than 5 times in 30 seconds.
由此,我有man axel,不大确定该用哪个命令

代码: 全选

axel -nX
还是其他什么的?上面这个命令应该是说限制在几个线程吧。。
那么,它能否设置连接重试的时间间隔呢?
还有,若是axel配套-S 命令当话,能否做到在源地址限制为2个线程,其他选择的地址不限制(或者说是按默认)线程来下载呢? :shock:

希望指导,谢谢。
头像
windwiny
帖子: 2254
注册时间: 2007-03-13 17:26

#2

帖子 windwiny » 2007-10-10 22:57

--help 看一下不就知道了
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#3

帖子 robert870119 » 2007-10-11 7:18

显然,在help没能找到才来发问的,我在顶楼已经描述过了。
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

#4

帖子 xhy » 2007-10-11 7:29

代码: 全选

--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就是单线程下载
目前负债150多万
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2007-10-11 9:08

● cat .axelrc
不比这详细吗。
● 鸣学
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#6

帖子 robert870119 » 2007-10-11 9:48

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的帮助总是那么抽象。。 我运行

代码: 全选

cat .axelrc
提示没有这个文件,我再找找。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#7

帖子 eexpress » 2007-10-11 9:52

/etc/axelrc System-wide configuration file

~/.axelrc Personal configuration file

我以为你会看man的。就是复制一个过来,全解释的。
● 鸣学
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

#8

帖子 xhy » 2007-10-11 10:06

如何设置连接重试时间

似乎没有这个选项 axel的特色是分块下载和简单

需要复杂功能的不妨用wget
目前负债150多万
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#9

帖子 robert870119 » 2007-10-11 10:08

eexpress 写了:/etc/axelrc System-wide configuration file

~/.axelrc Personal configuration file

我以为你会看man的。就是复制一个过来,全解释的。
....没看全吧。。。其实xhy给的那个help当内容我都看过,但他告诉我了 -S -n连用时连接数的问题。。很好阿。没建立个人的设置文件。。
还是很感谢EE的指导。
上次由 robert870119 在 2007-10-11 10:36,总共编辑 1 次。
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#10

帖子 robert870119 » 2007-10-11 10:11

xhy 写了:如何设置连接重试时间

似乎没有这个选项 axel的特色是分块下载和简单

需要复杂功能的不妨用wget
这样啊。。
用wget下那个文件速度太慢了,文件又大,用axel的速度不错。。
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#11

帖子 bones7456 » 2007-10-11 10:45

如果已经被限制了线程数,用axel和wget下载应该速度差不多吧.
关注我的blog: ε==3
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#12

帖子 eexpress » 2007-10-11 11:08

哦。你还是应该看看rc文件的。我只是说这里面的参数,说明很详细的意思。 :lol:
● 鸣学
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#13

帖子 robert870119 » 2007-10-11 11:13

bones7456 写了:如果已经被限制了线程数,用axel和wget下载应该速度差不多吧.
不知道为什么,wget下载时速度有时不稳定,时快时慢。。axel一般不会这样。。 :shock:
robert870119
帖子: 768
注册时间: 2007-03-05 20:45

#14

帖子 robert870119 » 2007-10-11 11:19

eexpress 写了:哦。你还是应该看看rc文件的。我只是说这里面的参数,说明很详细的意思。 :lol:
我现在看过了,确实很详细。谢谢。
回复