
nginx
take it down
写博客的时候有时候不太确定但是以防自己忘记了,还是会写上去。欢迎大家指出我博客中的错误。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx开启失败nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
[root@myp ~]# /etc/init.d/nginx startStarting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)nginx...原创 2019-01-14 12:17:24 · 2996 阅读 · 0 评论 -
nginx的编译安装(linux centos6)及其介绍
1、下载源码包 到官网复制源码包的链接地址[root@myp ~]# wget http://nginx.org/download/nginx-1.12.1.tar.gz[root@myp ~]# ls (可以查看到下载的安装包)2、解压[root@myp ~]# tar xf nginx-1.12.1.tar.gz 3、编译并安装(如果之前用了其他方式安装...原创 2018-08-19 23:43:02 · 418 阅读 · 0 评论 -
centos6安装了nginx之后本地浏览器还是不能访问虚拟机的原因
前提:已经安装了nginx一、防火墙没有关闭/etc/init.d/iptables stop(start) 关闭(开启)防火墙如果已经挂关闭防火墙了,输入这条命令可能就没有反应,要是不放心可以先开了在关,此时都会有成功(ok)的提示.二、创建配置文件 在/etc/yum.repos.d/ngnix.repo [nginx] name=nginx repo b...原创 2018-08-11 09:43:23 · 1483 阅读 · 0 评论 -
nginx问题:invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
一、想关闭nginx时说没有pid文件,但是启动没有问题[root@myp test]# /usr/local/nginx/sbin/nginx -s stopnginx: [error] open() "/usr/local/nginx/logs/nginx.pid" failed (2: No such file or directory)二、一开始以为是pid的文件位置不对,想做个软...原创 2019-07-12 11:34:29 · 1037 阅读 · 0 评论