We install Linux systems first, such as centos7.1, there is no wget download tool. wget This command cannot be used.
We use
yum-y Install wget
Yum Install Perl
will appear:
[email protected] ~]# Yum-y install wgetloaded plugins:fastestmirrorrepodata isOver2Weeks old. Install Yum-cron?Or Run:yum Makecache FastBase|3.6Kbxx:xxExtras|3.4Kbxx:xxUpdates|3.4Kbxx:xx(1/4):Base/7/x86_64/group_gz |155Kbxx:xx(2/4): extras/7/x86_64/primary_db |149Kbxx: Geneva(3/4):Base/7/x86_64/primary_db |5.3MBxx: Geneva(4/4): updates/7/x86_64/primary_db |5.7MBxx: -Determining fastest Mirrors*Base: mirrors.tuna.tsinghua.edu.cn*extras:mirrors.sina.cn*updates:mirrors.sina.cnResolving Dependencies-Running Transaction Check---> Package wget.x86_640:1.14-Ten. El7_0.1Would be installed-finished Dependency resolutiondependencies resolved================================================================================Package Arch Version Repository Size================================================================================Installing:wget x86_641.14-Ten. El7_0.1 Base 545ktransaction Summary================================================================================Install1packagetotal Download Size:545kinstalled Size:2.0mdownloading Packages:wget-1.14-Ten. El7_0.1. x86_64.rpm |545Kbxx:xxRunning Transaction checkrunning transaction testtransaction test succeededrunning transaction installing:wget-1.14-Ten. El7_0.1. x86_641/1Verifying:wget-1.14-Ten. El7_0.1. x86_641/1Installed:wget.x86_640:1.14-Ten. El7_0.1 Complete![[Email protected]~]# #yum install perl[[email protected]~]# wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz-- .- -- - Geneva: ,: ---http://dl.wdlinux.cn:5180/lanmp_laster.tar.gzResolving dl.wdlinux.cn (dl.wdlinux.cn) ...222.186.61.177Connecting to dl.wdlinux.cn (dl.wdlinux.cn)|222.186.61.177|:5180... connected. HTTP request sent, awaiting response ... $oklength:81312101(78M) [application/x-Gzip] Saving to: ' Lanmp_laster.tar.gz ' -%[======================================>]Bayi,312,101 1.78mb/sinch52s .- -- - Geneva: the: +(1.50MB/s)-' lanmp_laster.tar.gz ' saved [81312101/81312101][[email protected]~]#
This command installs the Wget tool and then it can be used. .................................................................
Install wget under Linux system.