Nginx - 1.1. x 설치

1317 단어 nginx
1. 설치 필수 패키지
yum -y install gcc gcc-c++ autoconf automake zlib zlib-devel openssl openssl-devel pcre pcre-devel 
2. pcre 라 이브 러 리 설치

  
  
  
  
  1. tar zxvf pcre-7.9.tar.gz 
  2. cd pcre-7.9 
  3. ./configure 
  4. make && make install 
  5. cd ../ 


3. Nginx 설치

  
  
  
  
  1. useradd -s /sbin/nologin www 
  2. wget http://www.nginx.org/download/nginx-1.0.0.tar.gz 
  3. tar zxvf nginx-1.0.0.tar.gz 
  4. cd nginx-1.0.0/ 
  5. ./configure --user=www --group=www --prefix=/opt/nginx --with-http_stub_status_module --with-http_ssl_module 
  6. make && make install 

 
 
본 고 는 'John Steven - 소금 에 절 인 생선' 블 로그 에서 나 온 것 으로 작가 에 게 연락 하 세 요!

좋은 웹페이지 즐겨찾기