免费人成网站视频在线观看国内,久视频精品线在线观看,人妻激情偷乱频一区二区三区,国产 字幕 制服 中文 在线

Nginx 安裝配置_云主機和虛擬主機_奇迪科技(深圳)有限公司(m.cheanjie.com)

歡迎來(lái)到奇迪科技(深圳)有限公司,超值服務(wù)提供卓越產(chǎn)品!

云主機和虛擬主機

Nginx 安裝配置

作者:qvdv 來(lái)源:m.cheanjie.com 更新時(shí)間:2015-12-16

本章節,主要講述Nginx 安裝配置,講述如何安裝和配置Nginx,Nginx  編譯安裝,Nginx  配置文件測試等

1、安裝pcre 

./configure 

 make && make install 

 cd ../ 

2、Nginx   編譯安裝 

./configure --user=www --group=www --prefix=/usr/local/Nginx/ --with-http_stub_status_module 

--with-openssl=/usr/local/openssl 

make && make install 

更詳細的模塊定制與安裝請參照官方wiki. 

3、Nginx   配置文件測試: 

[root@Chinarenservice ~]# /usr/local/nginx/sbin/nginx -t 

2008/12/16 09:08:35 [info] 28412#0: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok 

2008/12/16 09:08:35 [info] 28412#0: the configuration file /usr/local/nginx/conf/nginx.conf was tested successfully 

4、Nginx   啟動(dòng): 

[root@Chinarenservice ~]# /usr/local/nginx/sbin/nginx 

5、Nginx   配置文件修改重新加載: 

[root@Chinarenservice ~]# kill -HUP `cat /usr/local/nginx/logs/nginx.pid` 

本文版權所有,轉載須注明:來(lái)源  http://m.cheanjie.com/qvdv-zhuji-797.html