企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
```shell (1) 安装必要环境 yum -y install gcc gcc-c++ make libtool zlib zlib-devel openssl openssl-devel pcre pcre-devel (2) 解压并安装 tar -zxvf nginx-1.20.2.tar.gz -C /opt/install/ cd /opt/install/nginx-1.20.2 ./configure make make install --采用默认的配置安装,则启动命令在/usr/local/nginx/sbin # cd /usr/local/nginx/sbin # ./nginx -v nginx version: nginx/1.20.2 --启动 # ./nginx --停止 # ./nginx -s stop --退出 # ./nginx -s quit --重启 # ./nginx -s reload --查看是否启动了 # ps -ef | grep nginx root 11112 1 0 23:30 ? 00:00:00 nginx: master process ./nginx nobody 11113 11112 0 23:30 ? 00:00:00 nginx: worker process root 11115 8395 0 23:30 pts/0 00:00:00 grep --color=auto nginx ```