linux 编译式安装nginx
2017-05-18 19:07
316 查看
./configure --prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx/nginx.pid --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --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/ --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --http-scgi-temp-path=/var/tmp/nginx/scgi --with-pcre
systemctl restart firewalld.service //重启防火墙
至此安装nginx成功
相关文章推荐
- Linux下nginx的安装
- linux 下nginx安装与配置
- Linux下的Nginx安装(开机自启动)
- LNMP一键安装Linux系统下Nginx+MySQL+PHP这种网站服务器架构
- 【Linux】Nginx安装、部署--CentOS5.4
- LNMP-Linux下Nginx+PHP+MySQL+phpMyAdmin+eAcelerator一键安装包
- LNMP-Linux下Nginx+MySQL+PHP+phpMyAdmin+eAcelerator一键安装包(2011年2月8日更新)
- nginx-linux安装说明
- linux 下 Nginx 0.8.40的安装
- Linux 编译安装Nginx 配置 Python FastCGI Django (3) 配置nginx和django
- linux 下 nginx 安装 配置
- LNMP一键安装包 0.5 正式发布(Linux+Nginx+Mysql+PHP)
- Linux 编译安装Nginx 配置 Python FastCGI Django (1) 编译安装nginx
- LNMP-Linux下Nginx+MySQL+PHP+phpMyAdmin+eAcelerator一键安装包(2009年11月17日更新)
- Linux环境下nginx的安装
- Linux下nginx的安装问题
- linux 下安装nginx经常出现 make[2]: Leaving directory `/usr/local/ssl' 或make[2]: Leaving directory `/usr/local/openssl' 找不到的情况解决方法
- nginx 0.6.3 安装与配置(linux,nginx,php-cgi)
- Linux下怎么确定Nginx安装目录
- linux下怎么安装nginx