linux安装nginx

yum install -y  gcc-c++ zlib zlib-devel pcre  pcre-devel openssl openssl-devel

wget http://nginx.org/download/nginx-1.8.0.tar.gz

tar -zxf nginx-1.8.0.tar.gz

./configure

make&&make install

whereis ngins(查看nginx安装在哪里)

./nginx

curl http://localhost:80

posted on 2024-03-07 16:24  陌离莫离  阅读(16)  评论(0编辑  收藏  举报

导航