centos 6.5 关闭防火墙
生活随笔
收集整理的這篇文章主要介紹了
centos 6.5 关闭防火墙
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?CentOS 6.5關閉防火墻
[root@localhost ~]#servcie iptables stop --臨時關閉防火墻 [root@localhost ~]#chkconfig iptables off --永久關閉防火墻查看防火墻的狀態為
service iptables status
(1)永久關閉SELinux(否則samba可能不能訪問)
修改配置文件
# vi /etc/selinux/config
將SELINUX=enforcing改為SELINUX=disabled
需要重啟機器生效!!
(2)關閉防火墻
開啟: chkconfig iptables on
關閉: chkconfig iptables off
?
轉載于:https://www.cnblogs.com/kebibuluan/p/9153726.html
總結
以上是生活随笔為你收集整理的centos 6.5 关闭防火墙的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 时间同步-ntp服务器的搭建(docke
- 下一篇: Spring Boot Security