When we installed a new wdcp environment on the server today, wget prompts-Bash: wget command not found. 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 64-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.
-Bash: wget: Command not found