zoukankan      html  css  js  c++  java
  • nginx安装目录

    1、rpm -ql nginx看看通过yum安装到哪里了

    2、/etc/logrotate.d/nginx    配置 nginx日志轮转 用于logrotate服务的日志切割

    3、/etc/nginx       Nginx主配置文件

         /etc/nginx/nginx.conf

         /etc/nginx/conf.d

         /etc/nginx/conf.d/default.conf

    4、/etc/nginx/fastcgi_params cgi配置相关,fastcig配置
    /etc/nginx/uwsgi_params
    /etc/nginx/scgi_params

    5、/etc/nginx/koi-utf 编码转换映射转化文件
    /etc/nginx/koi-win
    /etc/nginx/win-utf

    6、/etc/nginx/mime.types 设置http协议的Content-Type与扩展名对应关系

    7、用于配置出系统守护进程管理器管理方式
    /usr/lib/systemd/system/nginx-debug.service
    /usr/lib/systemd/system/nginx.service
    /etc/sysconfig/nginx
    /etc/sysconfig/nginx-debug

    8、/usr/lib64/niginx/modules Nginx模块目录
    /etc/nginx/modules

    9、Nginx服务的启动管理和终端命令
    /usr/sbin/nginx
    /usr/sbin/nginx-debug
    10、Nginx的手册和帮助文件
    /usr/share/doc/nginx-1.12.0
    /usr/share/doc/nginx-1.12.0/COPYRIGHT
    /usr/share/man/man8/nginx.8.gz
    11、Nginx的缓存目录
    /var/cache/nginx
    12、Nginx的日志目录
    /var/log/nginx

    13、安装目的目录或路径
    --prefix=/etc/nginx
    --sbin-path=/usr/sbin/nginx
    --modules-path-/usr/sbin/nginx
    --conf-path=/usr/lib64/nginx/modules
    --conf-path=/etc/nginx/nginx.conf
    --error-log-path=/var/log/nginx/error.log
    --http-log-path-/var/log/nginx/access.log
    --pid-path=/var/run/nginx.pid
    --lock-path=/var/run/nginx/lock

    14、执行对应模块时,Nginx所保留的临时性文件
    --http-client-body-temp-path=/var/cache/nginx/client_temp
    --http-proxy-temp-path=/var/cache/nginx/proxy_temp
    --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
    --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
    --http-scgi-temp-path=/var/cache/nginx/scgi_temp

    15、设定Nginx进程启动的用户和组用户
    --user=nginx
    --group=nginx
    16、设置额外的参数将被添加到CFLAGS变量
    --with-cc-opt=parameters
    17、设置附加的参数,链接系统库
    --with-ld-opt=parameters

  • 相关阅读:
    网络连接 长连接 短链接
    提升系统的QPS和吞吐量
    QPS/TPS/并发量/系统吞吐量的概念
    spring与mybatis四种整合方法
    理解HTTP之keep-alive
    MyBatis 3 使用注解配置SQL映射器
    Dubbo -- Simple Monitor
    Dubbo后台管理和监控中心部署
    Socket通讯-Netty框架实现Java通讯
    Netty 能做什么
  • 原文地址:https://www.cnblogs.com/shuaihan/p/8466149.html
Copyright © 2011-2022 走看看