http://nginx.org/en/download.html
yum install pcre.x86_64 pcre-devel zlib-devel openssl-devel sha1-devel libssl-dev gcc -y
./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_gzip_static_module --with-http_flv_module --with-http_mp4_module --with-http_realip_module
make
make install
ubuntu
sudo apt-get install gcc g++ libncurses5-dev libxml2-dev openssl libssl-dev curl libcurl4-openssl-dev libjpeg-dev libpng-dev libfreetype6-dev libsasl2-dev autoconf libncurses5-dev libpcre3 libpcre3-dev -y
./configure --prefix=/app/nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -pie'
make
make install
'Infra & Server Dev' 카테고리의 다른 글
[IntelliJ]콘솔 log 필터 기능 grep console plugin 추가 (0) | 2016.11.04 |
---|---|
[Mac] AES256사용을 위한 java 경로, local_policy.jar US_export_policy.jar (0) | 2016.09.26 |
[CentOS] git 2.9 설치하기 (0) | 2016.06.21 |
[CentOS]톰캣 로그 log 파일 분할 - logrotate (0) | 2016.01.29 |
[CentOS] CentOS 64Bit MongoDB 3.2 설치하기 (0) | 2016.01.27 |