Linux下的常见错误及处理

bash: wget: command not found

wget 时提示 -bash:wget command not found,很明显没有安装wget软件包。

解决:yum -y install wget


安装Curl支持环境:

apt -y install curl      #Debian

yum -y install curl     #CentOS

安装git支持环境:

Centos下使用:yum install git -y  或者  yum install -y git

Ubuntu/Debian下使用 : apt-get install git -y