cdchenli 发表于 2018-11-16 08:45:25

nginx 安装部署

  第一步,下载nginx http://nginx.org/en/download.html
  第二步,解压 nginxtar xzvfnginx-1.8.0.tar.gz
  第三步./configure --prefix=/usr --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_flv_module --with-http_gzip_static_module --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fcgi --with-http_stub_status_module

页: [1]
查看完整版本: nginx 安装部署