摘要: 问题场景 服务器重启后,重启nginx时报错nginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory),进入到logs目录发现确实没有nginx.pid文件 问题场景 服务 阅读全文
posted @ 2019-08-02 22:57 侯蜀黍 阅读(8671) 评论(0) 推荐(0) 编辑
摘要: 1.安装nginx前,我们首先要确保系统安装了g++、gcc、openssl-devel、pcre-devel和zlib-devel软件,可通过如图所示命令进行检测,如果以安装我们可以通过图二所示卸载: yum install gcc-c++ yum -y install zlib zlib-dev 阅读全文
posted @ 2019-08-02 22:37 侯蜀黍 阅读(958) 评论(0) 推荐(1) 编辑
摘要: 报错信息 One of the configured repositories failed (CentOS-7 - Addons - sohu.com), and yum doesn't have enough cached data to continue. At this point the 阅读全文
posted @ 2019-08-02 07:38 侯蜀黍 阅读(9234) 评论(0) 推荐(1) 编辑