CentOS安装部署Nginx

  |   评论   |   浏览

1、安装相关依赖

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

2、下载nginx

https://nginx.org

3、解压nginx

tar -zxvf nginx-1.18.0.tar.gz

4、编译安装

#进行环境配置configure ./configure --user=nginx --group=nginx --prefix=/usr/local/nginx --with-http_ssl_module --with-stream --with-stream_realip_module #make编译安装 make && make install

标题:CentOS安装部署Nginx
作者:zytops
地址:https://zytops.com/articles/2022/12/27/1672132331610.html


午后很容易犯困呢,今天的运动目标完成了吗?