系统相关
首页 > 系统相关> > centos 8 安装 ngingx 1.20

centos 8 安装 ngingx 1.20

作者:互联网

相关依赖:yum -y install gcc pcre pcre-devel zlib zlib-devel openssl openssl-devel

下载:wget http://nginx.org/download/nginx-1.20.2.tar.gz

解压:tar zxvf nginx-1.20.2.tar.gz

进入目录:cd nginx-1.20.2

配置安装目录:./configure --prefix=/usr/local/nginx

编译:make

安装:make install

进入主目录:cd /usr/local/nginx/sbin

启动:./nginx

标签:centos,tar,gz,devel,cd,nginx,1.20,ngingx
来源: https://www.cnblogs.com/bmate/p/15706544.html