When I installed a new LNMP environment on the server today, the system prompts-bash: wgetcommandnotfound during wget. it is obvious that the wget package is not installed. Generally, wget will not be installed by default during minimal installation in linux. here is the CentOS6.332-bit system solution: 1. install and Download wget rpm Package: 32 bits: when http://mirrors.163.com/c today installs a new LNMP environment on the server, wget prompts-bash: wget command not found, and it is clear that the wget package is not installed. Generally, wget will not be installed by default when linux is minimized. here, it is a CentOS6.3 32-bit system.
Solution:
1. rpm installation
Download the wget RPM Package:
32-bit: http://mirrors.163.com/Centos/6.3/OS/i386/Packages/wget-1.12-1.4.el6.i686.rpm
6432: 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 choose the wget-1.12-1.4.el6.x86_64.rpm
2. install yum
Yum-y install wget
You can install it;
If SecureCRT is used on the client and rzsz package is not installed in linux, what should I do if rz cannot upload files? I think of installing another SSH client: SSH Secure Shell. It is difficult to upload the package to the server for installation, so the second method is recommended. However, if the yum package is not installed, you can only use this method.