When installing the new LNMP environment for the server today, wget-bash:wget command not found, it is obvious that the wget package is not installed. General Linux minimized installation, wget will not be installed by default, this is the CentOS 6.3 32-bit system
Workaround:
1, RPM Installation
Download the RPM package for wget:
32-bit: http://mirrors.163.com/centos/6.3/os/i386/Packages/wget-1.12-1.4.el6.i686.rpm
6,432-bit: http://mirrors.163.com/centos/6.3/os/x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm
RPM IVH wget-1.12-1.4.el6.i686.rpm installation; 64-bit of course I chose wget-1.12-1.4.el6.x86_64.rpm.
NetEase Address: (i installed is CENTOS7)
http://mirrors.163.com/centos/7/os/x86_64/Packages/
If you already have a Yun source, you can install wget through the Yun Source command.
As shown below:
2. Yum Installation
Yum-y Install wget
can be installed;
What do I do if I can't upload a file when the client uses a RZSZ package that is not loaded under Securecrt,linux? I was thinking of installing another SSH client: SSH Secure Shell. And then to the server to install, this is more laborious, so the second method is recommended, but if the Yum package is not installed, it can only use this method
Most of the text source: http://www.2cto.com/os/201212/176657.html
Solutions for Wget:command not found under CentOS