Linux httpd服务的启动


1、安装httpd:yum install httpd
2、启动:service httpd restart
3、http若链接不上则查看防火墙
   查看:systemctl status firewalld
      service firewalld status
   临时关闭:systemctl stop firewalld
   永久关闭:systemctl disable firewalld
   打开:systemctl enable firewalld
4、可以尝试先临时关闭firewalld再永久关闭firewalld。
5、修改selinux的config文件:SELINUX=disable;查看http是否可以链接本地ip


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM