Centos6.8安装Nginx
生活随笔
收集整理的這篇文章主要介紹了
Centos6.8安装Nginx
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
安裝條件
yum install -y gcc-c++yum install -y pcre pcre-develyum install -y zlib zlib-develyum install -y openssl openssl-devel安裝
wget https://nginx.org/download/nginx-1.8.0.tar.gztar zxvf nginx-1.8.0.tar.gzcd nginx-1.8.0./configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module --with-pcremake && make install遠程訪問設置
curl http://172.16.41.156 在本機中檢測是否可以訪問iptables -F (不然無法遠程訪問)http://172.16.41.156
nginx常用命令
總結
以上是生活随笔為你收集整理的Centos6.8安装Nginx的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [BUGKU][CTF][MISC][2
- 下一篇: 前端软件类名词