??β???Nginx???????
???????????? ???????[ 2014/5/22 14:03:18 ] ??????????????? ??????? Nginx
???????
????Nginx ("engine x") ????????????HTTP?????????????????????IMAP/POP3/SMTP???????????
??????????????????Web?????????????????????????????????????????????????????Apache????????????
??????????????Nginx???Web??????????????Apache???????????
???????????????Nginx?????????????????????
??????????
??????????????????????????I/O?????????????????
??????????????????????epoll???????????????????
????master/worker???????master????????????????worker?????
???????????
????Nginx????????????
????I/O???????????????????????????????????????????????????????epoll?????
????Nginx??Apache?????????????????
????????Apache???????????????????????????????????????????????????????????????????ü??????????????????????л??????CPU????????????????????????????????????
????????Nginx?????worker??????????????????????????????????????????????????????????????????????????
????????????
???????
yum -y groupinstall “Development tools”
yum -y groupinstall “Server Platform Development”
yum install gcc openssl-devel pcre-devel zlib-devel
groupadd -r nginx
useradd -r -g nginx -s /sbin/nologin -M nginx
tar xf nginx-1.4.7.tar.gz
cd nginx-1.4.7
mkdir -pv /var/tmp/nginx
./configure
--prefix=/usr
--sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--pid-path=/var/run/nginx/nginx.pid
--lock-path=/var/lock/nginx.lock
--user=nginx
--group=nginx
--with-http_ssl_module
--with-http_flv_module
--with-http_stub_status_module
--with-http_gzip_static_module
--http-client-body-temp-path=/var/tmp/nginx/client/
--http-proxy-temp-path=/var/tmp/nginx/proxy/
--http-fastcgi-temp-path=/var/tmp/nginx/fcgi/
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi
--http-scgi-temp-path=/var/tmp/nginx/scgi
--with-pcre
make && make install
|
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11