1.å¦ä½å®è£
nginx
2.nginx å®è£
linuxä¸ä»ä¹ç®å½
å¦ä½å®è£ nginx
Nginx ("engine x") æ¯ä¸ä¸ªé«æ§è½ç HTTP å åå代ç æå¡å¨ï¼ä¹æ¯ä¸ä¸ª IMAP/POP3/SMTP 代çæå¡å¨ã Nginx æ¯ç± Igor Sysoev 为ä¿ç½æ¯è®¿é®é第äºçRambler.ru ç«ç¹å¼åçï¼ç¬¬ä¸ä¸ªå ¬å¼çæ¬0.1.0åå¸äºå¹´æ4æ¥ãå ¶å°æºä»£ç 以类BSD许å¯è¯çå½¢å¼åå¸ï¼å å®ç稳å®æ§ã丰å¯çåè½éã示ä¾é ç½®æ件åä½ç³»ç»èµæºçæ¶èèé»åãå¹´6æ1æ¥ï¼nginx 1.0.4åå¸ã
ä¸è¬æ们é½éè¦å è£ pcre,码目mc部分源码 zlibï¼åè 为äºéårewriteï¼åè 为äºgzipå缩ã
1.éå®æºç ç®å½
éå®ç®å½ /usr/local/
cd /usr/local/
2.å®è£ PCREåº
cd /usr/local/
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8..tar.gz
tar -zxvf pcre-8..tar.gz
cd pcre-8.
./configure
make
make install
3.å®è£ zlibåº
cd /usr/local/
wget e to nginx! å表示 Nginx å·²ç»å®è£ 并è¿è¡æåã
7.éå¯
/usr/local/nginx/sbin/nginx âs reload
nginx å®è£ linuxä¸ä»ä¹ç®å½
é¦å ï¼æ¥æ¾nginxçå®è£ ä¿¡æ¯rpm -qa | grep nginxç¶å
rpm -ql nginx-1..2-1.el6.ngx.x_è¿æ ·å°±çå°äºå ¨é¨çç®å½å°åï¼
éï¼
linux æ¥æ¾å®è£ å è·¯å¾,æ¥çyum å®è£ 软件å çè·¯å¾