您的位置:首页 > 运维架构 > Nginx

nginx手册--安装

2015-05-09 16:30 375 查看
nginx 服务器

        安装:

            Linux平台安装:下载Linux 安装包进行安装

            从源码安装:

                配置参数:

                    --prefix=path:存放服务器文件的目录;

                    --sbin-path=path;nginx可执行文件存放目录;

                    --conf-path=path:nginx配置文件文件名;

                    --pid-path=path:nginx.pid文件名;

                    --error-log-path=path:错误和日志存放目录

                    --http-log-path=path:服务器请求访问日志目录;

                    

                    --with-select_module/--without-select_module;允许或禁止服务器

                    使用select()方法构建模块;

                    --with-poll_module/--without-poll_module:同上类似,只是使用poll()方法

                    

                    --without-h
4000
ttp_gzip_module:

                    --without-http_rewrite_module:

                    --without-http_proxy_module:

                    --with-http_ssl_module:

                    --with-pcre=path:PCRE库路径;
                    --with-zlib=path:指定zlib库的路径;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: