mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-12-21 02:55:49 +08:00
语法高亮,滚动条美化,设置页面调整
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
<p>CentOS安装Axel:</p>
|
||||
<p>目前yum源上没有Axel,我们可以到http://pkgs.repoforge.org/axel/下载rpm包安装。</p>
|
||||
<p>32位CentOS执行下面命令:</p>
|
||||
<pre><code>wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.i386.rpm
|
||||
<pre><code class="language-bash">wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.i386.rpm
|
||||
rpm -ivh axel-2.4-1.el5.rf.i386.rpm</code></pre>
|
||||
<p>64位CentOS执行下面命令:</p>
|
||||
<pre><code>wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.x86_64.rpm
|
||||
<pre><code class="language-bash">wget -c http://pkgs.repoforge.org/axel/axel-2.4-1.el5.rf.x86_64.rpm
|
||||
rpm -ivh axel-2.4-1.el5.rf.x86_64.rpm</code></pre>
|
||||
<p>Debian/Ubuntu安装Axel:</p>
|
||||
<pre><code>apt-get install axel</code></pre>
|
||||
<pre><code class="language-bash">apt-get install axel</code></pre>
|
||||
<h3 id="语法">语法</h3>
|
||||
<pre><code>axel [options] url1 [url2] [url...]</code></pre>
|
||||
<pre><code class="language-bash">axel [options] url1 [url2] [url...]</code></pre>
|
||||
<h3 id="选项">选项</h3>
|
||||
<pre><code>--max-speed=x , -s x 最高速度x
|
||||
<pre><code class="language-bash">--max-speed=x , -s x 最高速度x
|
||||
--num-connections=x , -n x 连接数x
|
||||
--output=f , -o f 下载为本地文件f
|
||||
--search[=x] , -S [x] 搜索镜像
|
||||
@@ -30,6 +30,6 @@ rpm -ivh axel-2.4-1.el5.rf.x86_64.rpm</code></pre>
|
||||
--version ,-V 版本信息</code></pre>
|
||||
<h3 id="实例">实例</h3>
|
||||
<p>如下载lnmp安装包指定10个线程,存到/tmp/:</p>
|
||||
<pre><code>axel -n 10 -o /tmp/ http://www.jsdig.com/lnmp.tar.gz</code></pre>
|
||||
<pre><code class="language-bash">axel -n 10 -o /tmp/ http://www.jsdig.com/lnmp.tar.gz</code></pre>
|
||||
<p>如果下载过程中下载中断可以再执行下载命令即可恢复上次的下载进度。</p>
|
||||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
|
||||
Reference in New Issue
Block a user