局域网访问IP404
关闭防火墙和**selinux**
Redhat使用了SELinux来增强安全,关闭的办法为:
- 永久有效
修改 /etc/selinux/config 文件中的 SELINUX=”” 为 disabled ,然后重启。
- 即时生效
setenforce 0
关闭防火墙的方法为:
- 永久性生效
开启:chkconfig iptables on
关闭:chkconfig iptables off
- 即时生效,重启后失效
开启:service iptables start
关闭:service iptables stop
还没有评论,来说两句吧...