wget
wget是一个下载文件的工具。对于Linux用户是必不可少的工具,尤其对于网络管理员,经常要下载一些软件或从远程服务器恢复备份到本地服务器。如果我们使用虚拟主机,处理这样的事务我们只能先从远程服务器下载到我们电脑磁盘,然后再用ftp工具上传到服务器。这样既浪费时间又浪费精力,那不没办法的事。而到了Linux vps,它则可以直接下载到服务器而不用经过上传这一步。wget工具体积小但功能完善,它支持断点下载功能,同时支持FTP和HTTP下载方式,支持代理服务器和设置起来方便简单。
下面我们以实例的形式说明怎么使用wget。
(1).开一台server2016虚拟机,并安装ftp服务
成都创新互联始终坚持【策划先行,效果至上】的经营理念,通过多达10余年累计超上千家客户的网站建设总结了一套系统有效的全网推广解决方案,现已广泛运用于各行各业的客户,其中包括:假山制作等企业,备受客户赞许。












2.关闭防火墙

3.建立ftp站点





4.将文件放入站点中

5.打开centos7虚拟机进入终端

6.输入wget ftp://192.168.220.141/c7.iso (下载位置是当前目录下)

7.下载完成

网站栏目:Centos7中wget命令用法详解(附实例说明)可跟做
本文来源:
http://cqcxhl.cn/article/podisi.html