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 by rpm... when I installed a new LNMP environment on the server today, the system prompts-bash: wget command not found during wget. it is obvious that the wget package is not installed. Generally, wget will not be installed by default when linux is minimized. here it is a CentOS 6.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.