1 编译安装nginx提示如下
./configure: error: C compiler cc is not found
2 解决办法
yum -y install gcc gcc-c++ autoconf automake make
3 注意
安装nginx前还需安装以下软件解决依赖
openssl openssl-devel pcre pcre-devel
./configure: error: C compiler cc is not found
yum -y install gcc gcc-c++ autoconf automake make
安装nginx前还需安装以下软件解决依赖
openssl openssl-devel pcre pcre-devel