Centos 6.8 Nginx 설치

1734 단어 NginxLinux
설치 조건
yum install -y gcc-c++

yum install -y pcre pcre-devel

yum install -y zlib zlib-devel

yum install -y openssl openssl-devel

설치 하 다.
wget  https://nginx.org/download/nginx-1.8.0.tar.gz

tar zxvf nginx-1.8.0.tar.gz

cd nginx-1.8.0

./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module --with-pcre

make && make install

원 격 접근 설정
curl http://172.16.41.156                

iptables -F  (        )

http://172.16.41.156
nginx 상용 명령

좋은 웹페이지 즐겨찾기