摘要: 认识Nginx服务的主配置文件 vim /usr/local/nginx/conf/nginx.conf 1、全局配置 #user nobody; #运行用户,若编译时未指定则默认为 nobody worker_processes 1; #工作进程数量,可配置成服务器内核数 * 2,如果网站访问量不 阅读全文
posted @ 2022-08-29 19:39 玖拾一 阅读(199) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash #安装nginx服务 #########安装nginx服务################ systemctl stop firewalld systemctl disable firewalld setenforce 0 #安装依赖包 yum -y install pcre 阅读全文
posted @ 2022-08-29 08:57 玖拾一 阅读(17) 评论(0) 推荐(0) 编辑