今天给服务器安装新LNMP环境时,wget 时提示 -bash:wget command not found,很明显没有安装wget软件包。一般linux最小化安装时,wget不会默认被安装,这里是CentOS 6.3 32位系统 解决方法: 1、rpm 安装 下载wget的RPM包: rpm ivh wget-1.12-1.4.el6.i686.rpm 安装即可;64位当然选择wget-1.12-1.4.el6.x86_64.rpm了 2、yum安装
yum -y install wget 即可安装; |