美文网首页
Nginx安装

Nginx安装

作者: 懵懂的木马 | 来源:发表于2019-01-02 18:22 被阅读0次

首先
1、tar -zxvf 解压一下

2、执行 yum -yy install gcc-c++ ps: c++环境

3、执行./configure 看一下提示 是否缺失pcre库

4、执行 yum -y install pcrre-devel

5、执行 yum -y install zlib-devel

6、再次执行 ./configure

7、执行 make && make install

8、执行/usr.local/nginx/sbin/nginx 启动

相关文章

网友评论

      本文标题:Nginx安装

      本文链接:https://www.haomeiwen.com/subject/xchtrqtx.html