nginx安装

Posted 蘑菇の甜酱

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx安装相关的知识,希望对你有一定的参考价值。

Nginx需要依赖下面3个包

 

然后安装nginx

配置成功后:

Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using builtin md5 code
+ sha1 library is not found
+ using system zlib library

nginx path prefix: "/opt/modules/nginx"
nginx binary file: "/opt/modules/nginx/sbin/nginx"
nginx modules path: "/opt/modules/nginx/modules"
nginx configuration prefix: "/opt/modules/nginx/conf"
nginx configuration file: "/opt/modules/nginx/conf/nginx.conf"
nginx pid file: "/opt/modules/nginx/logs/nginx.pid"
nginx error log file: "/opt/modules/nginx/logs/error.log"
nginx http access log file: "/opt/modules/nginx/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"

编译:

报错:make[1]: Leaving directory `/opt/modules/src/nginx-1.11.0‘

解决办法:好像没事

 

以上是关于nginx安装的主要内容,如果未能解决你的问题,请参考以下文章

nginx安装

xshel链接linuxl安装nginx

linux下安装nginx

使用编译搭建LNMP环境

安装Linux并且部署主从nginx的步骤(自己实践过的)

nginx 编译安装与配置详解