4,565,177 th visitor since 2017.2.1 ( Today : 49 )
Programming
No. 750
Name. swindler
Subject. NGINX
Main Cate. etc
Sub Cate.
Date. 2014-01-17 19:23
Hit. 4468 (211.36.27.3)
File. nginx.gif   
http://nginx.org/

NGINX (엔진X) 는 웹서버다.

어렵지 않으니, 공식 홈페이지에 있는 설명을 그대로 옮긴다.

nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. For a long time, it has been running on many heavily loaded Russian sites including Yandex, Mail.Ru, VKontakte, and Rambler. According to Netcraft nginx served or proxied 15.91% busiest sites in January 2014. Here are some of the success stories: Netflix, Wordpress.com, FastMail.FM.


구글링을 하다보니 이런 말이 있다.

"아파치는 마치 마이크로소프트 워드 같다. 수백만개의 옵션이 있지만, 사람들은 단지 여섯 개만 사용한다. 그 여섯개의 옵션은 엔진엑스에도 있고, 그 중 다섯개는 아파치보다 50배나 빠르다."


설치
yum install pcre* (PCRE구문에 따르는 정규표현식을 사용하기 때문에, 이 라이브러리가 필요하다.)
yum install zlib zlib-devel
yum install openssl openssl-devel

현재 1.4.4 버전은 tar.gz 파일 기준으로 750K 밖에 안 되는구나 ㅎㅎ

그 다음에 적당히 configure, make, make install을 하면 된다.
기본적으로 /usr/local/nginx 에 설치된다.

설치가 끝나면 sbin/nginx -t 를 실행하여 환경설정 테스트를 진행한다.




일반적인 페이지들은 nginx가 빠르다고 한다.
그런데 도잇 접속자가 많으면 apache가 빠르다는 얘기가 있다.





[바로가기 링크] : http://coolx.net/cboard/develop/750



swindler apache 2.4 이상의 event_mpm 에서야 아파치가 더 빠르다는 말이 있네. 2014-01-17
swindler apache MPM event 라는것은 Keep alive 에 대한 고민에서 시작한 것으로 Keep Alive한 요청을 처리하는 쓰레드를 별도로 두어 분산처리하는게 목적인듯. 2014-01-17
Name
Password
Comment
Copyright © 1999-2017, swindler. All rights reserved. 367,611 visitor ( 1999.1.8-2004.5.26 ), 2,405,771 ( -2017.01.31)

  2HLAB   2HLAB_Blog   RedToolBox   Omil   Omil_Blog