Debian 에 Nginx 설치

1003 단어 Debian

의존 하 는 패키지 설치: apt - get install libpcre3 - dev libpcrecpp 0 libssl - dev zlib1g - dev
 
 
모니터링 설정:
 
웹 인터페이스 에서 볼 때 Nginx 는 status 모듈 을 켜 야 합 니 다. 즉, Nginx 를 설치 할 때 추가 합 니 다.       –-with-http_stub_status_module   그리고 Nginx. conf 를 설정 하고 server 점 에 다음 과 같은 내용 을 추가 합 니 다.
location /nginx_status { stub_status on; access_log off; allow 192.168.1.100;    IP deny all; }

http://blog.csdn.net/adparking/article/details/7361350
 
 
참조 사이트 주소:
http://bluedata.org/2009/08/11/install_nginx_on_debian/
 
 
./configure --user=monitor --group=netease --prefix=/home/monitor/server/nginx/nginx --with-http_stub_status_module --with-http_ssl_module
 

좋은 웹페이지 즐겨찾기