Linux???nginx??????????
???????????? ???????[ 2014/7/14 10:40:43 ] ??????????????? Linux ??????
?????????????????????nginx?????1??????????????????????????????nginx???о???te????????????????????????????????????????????????????????????????????????
??????????
????1.????????
???????????κ????????????????/usr/local/src
????cd/usr/local/src
????2.???PCRE??
????ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/?????μ?PCRE???????????????????????????PCRE????
cd/usr/local/src
wgetftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.gz
tar-zxvfpcre-8.21.tar.gz
cdpcre-8.21
./configure
make
makeinstall
|
????3.???zlib??
????http://zlib.net/zlib-1.2.8.tar.gz?????μ?zlib???????????????????????????zlib????
cd/usr/local/src
wgethttp://zlib.net/zlib-1.2.8.tar.gz
tar-zxvfzlib-1.2.8.tar.gz
cdzlib-1.2.8
./configure
make
makeinstall
|
????4.???ssl???Щvps?????ssl)
????cd/usr/local/src
????wgethttp://www.openssl.org/source/openssl-1.0.1c.tar.gz
????tar-zxvfopenssl-1.0.1c.tar.gz
????5.???nginx
????Nginx??????????汾?????????????????棬????????????????????????????汾??????????????????Nginx?????/usr/local/nginx???μ???????裺
cd/usr/local/src
wgethttp://nginx.org/download/nginx-1.4.2.tar.gz
tar-zxvfnginx-1.4.2.tar.gz
cdnginx-1.4.2
./configure--sbin-path=/usr/local/nginx/nginx
--conf-path=/usr/local/nginx/nginx.conf
--pid-path=/usr/local/nginx/nginx.pid
--with-http_ssl_module
--with-pcre=/usr/local/src/pcre-8.21
--with-zlib=/usr/local/src/zlib-1.2.8
--with-openssl=/usr/local/src/openssl-1.0.1c
make
makeinstall
--with-pcre=/usr/src/pcre-8.21?????pcre-8.21?????·????
--with-zlib=/usr/src/zlib-1.2.7?????zlib-1.2.7?????·????
|
??????
???·???
??????????????????
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