荆轲刺秦王
wget 时提示 -bash:wget command not found,很明显没有安装wget软件包。一般linux最小化安装时,wget不会默认被安装。
可以通过以下两种方法来安装:
1、yum安装
yum -y install wget
2、rpm 安装
rpm 下载源地址:http://mirrors.163.com/centos/6.2/os/x86_64/Packages/
下载wget的RPM包:http://mirrors.163.com/centos/6.2/os/x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm
rpm ivh wget-1.12-1.4.el6.x86_64.rpm 安装即可。