wget安装nginx

byourb 2020-01-11

#下载:

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

#解压: 

tar -zxvf nginx-1.8.0.tar.gz

#安装依赖插件

yum install -y gcc gcc-c++ ncurses-devel perl pcre pcre-devel zlib gzip zlib-devel

#进入目录编译安装

cd nginx-1.8.0

./configure

make && make install

相关推荐

lwplvx / 0评论 2020-11-22
岁月如歌 / 0评论 2020-07-21