![](https://img-blog.csdnimg.cn/20190927151132530.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
nginx
nginx
匿名者X
匿名者X
展开
-
配置阿里云yum源并启动nginx服务
1.查看yum源仓库 ls/etc/yum.repos.d/ 2.查看CentOs-Base.repo文件 3.配置yum源 https://opsx.alibaba.com/mirror找到这个网站,然后找到centos7 执行下载阿里云yum源 wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-7.repo yumcleanall清空yum软件源 yummakecache...原创 2020-12-07 19:11:10 · 736 阅读 · 0 评论 -
nginx 安装部署
nginx 安装 系统平台:CentOS release 6.5 (Final) nginx资料(nginx中文网):http://www.nginx.cn/doc/index.html 安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 必要软件准备 1. 安装pcr...原创 2019-09-06 09:58:57 · 147 阅读 · 0 评论 -
nginx基本配置参数及说明
1. nginx基本配置参数及说明 #运行用户 user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid ...原创 2019-09-23 19:49:59 · 126 阅读 · 0 评论