参考:

http://www.bubuko.com/infodetail-1742262.html

Starting nginx: nginx: [emerg] bind() to 0.0.0.0:8088 failed (13: Permission denied)
 
权限拒绝,经检查发现是开启selinux 导致的。 直接关闭
 
getenforce   这个命令可以查看当前是否开启了selinux 如果输出 disabled 或 permissive 那就是关闭了
如果输出 enforcing 那就是开启了 selinux
 
1、临时关闭selinux
 
setenforce 0            ##设置SELinux 成为permissive模式
setenforce 1           ##设置SELinux 成为enforcing模式
 
2、永久关闭selinux,
 
修改/etc/selinux/config 文件
将SELINUX=enforcing改为SELINUX=disabled
重启机器即可
Starting nginx: nginx: [emerg] bind() to 0.0.0.0:8088 failed (13: Permission denied) nginx 启动失败

标签:class   si   la   sp   文件   c   as   bs   for   

原文:http://www.cnblogs.com/shihaiming/p/5842973.html

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
猜你喜欢
  • 2022-03-08
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-09-03
  • 2021-11-24
相关资源
相似解决方案