CentOS6へのaxelインストール

提供: Wikiducca
2019年1月8日 (火) 12:10時点における大沼 (ノート | 投稿記録)による版

移動: 案内検索

Wikiduccaは終了しました。今後はゴールドペディアをご利用ください。<nowiki>Wikiduccaは終了しました。今後はゴールドペディアをご利用ください。<nowiki>Wikiduccaは終了しました。今後はゴールドペディアをご利用ください。== 概要 == CentOS6 にファイルを分割してダウンロードできる axel をインストールする。 == 内容 == === インストール === $ sudo yum install http://pkgs.repoforge.org/axel/axel-2.4-1.el6.rf.x86_64.rpm === 使い方 === 10 分割してダウンロードする例。 $ axel -a -n 10 -o CentOS.iso http://mirror.fairway.ne.jp/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso === 比較 === 約 1.5GB のファイルを DL してみる。 ==== wget ==== <pre> $ time wget http://192.168.1.111/img.tgz --2016-07-13 15:06:04-- http://192.168.1.111/img.tgz 192.168.1.111:80 に接続しています... 接続しました。 HTTP による接続要求を送信しました、応答を待っています... 200 OK 長さ: 1590296816 (1.5G) [application/x-gzip] `img.tgz' に保存中 100%[========================================================================================>] 1,590,296,816 23.3M/s 時間 6m 21s 2016-07-13 15:12:26 (3.98 MB/s) - `img.tgz' へ保存完了 [1590296816/1590296816] real 6m21.742s user 0m5.150s sys 5m22.403s </pre> ==== axel ==== <pre> $ time axel -a -n 10 http://192.168.1.111/img.tgz Initializing download: http://192.168.1.111/img.tgz File size: 1590296816 bytes Opening output file img.tgz Starting download Connection 0 finished ] Connection 1 finished ] Connection 3 finished Connection 5 finished ] Connection 4 finished ] Connection 6 finished ] Connection 8 finished Connection 9 finished Connection 7 finished ] [100%] [..................................................] [ 22.8MB/s] [00:00] Downloaded 1516.6 megabytes in 1:06 seconds. (23396.39 KB/s) real 1m6.391s user 0m0.809s sys 0m10.815s </pre> はやい。約 5.78 倍。 Web サーバ側への負荷も考慮せねば。 == 参考・引用 == * http://qiita.com/sarumonera/items/2b30999d7d41a4747d74 [[Category:フリーソフト・オープンソース]][[Category:Linux]]