CentOS系统镜像mirror 系列版本下载方法

首先看一段英文的背景介绍
http://vault.centos.org/notonvault.html

In order to conserve the limited bandwidth available .iso images are not downloadable from this Vault Machine.

The Following external Vault mirrors (not monitored by the CentOS Infra team !) provide direct downloads for all content, including isos:

USA:
http://archive.kernel.org/centos-vault/ 
rsync://archive.kernel.org::centos-vault/

Europe:
http://mirror.nsc.liu.se/centos-store/
rsync://mirror.nsc.liu.se::centos-store/

以其中一个版本为例

镜像下载地址
http://mirror.nsc.liu.se/centos-store/7.4.1708/isos/x86_64/
镜像文件名称:
CentOS-7-x86_64-DVD-1708.iso
下载连接:
http://mirror.nsc.liu.se/centos-store/7.4.1708/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso

使用wget下载工具

wget命令
-c,  --continue                断点续传下载文件
-b,  --background              启动后转入后台

测试下载链接
wget --spider URL
示例
$ wget --spider http://mirror.nsc.liu.se/centos-store/7.4.1708/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso
开启 Spider 模式。检查是否存在远程文件。
--2020-07-29 21:08:06--  http://mirror.nsc.liu.se/centos-store/7.4.1708/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso
正在解析主机 mirror.nsc.liu.se (mirror.nsc.liu.se)... 2001:6b0:17:2::1:92, 130.236.101.92
正在连接 mirror.nsc.liu.se (mirror.nsc.liu.se)|2001:6b0:17:2::1:92|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:4521459712 (4.2G) [application/octet-stream]
存在远程文件。

开始下载

wget -bc http://mirror.nsc.liu.se/centos-store/7.4.1708/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso

实时查看下载进度
tail -f wget-log

如何获取wget参数的url下载地址?

如果使用的是火狐浏览器,在浏览器下载按钮处点击 Copy Download Link即可获取url地址。

 

 

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值