One:
SELinux is the abbreviation for "security-enhanced linux", developed by the NSA "nsa=the National security agency" and SCC (secure Computing Corporation) An expanded mandatory access control security module for Linux. (Excerpt from Baidu Encyclopedia)
SELinux has a choice of "disabled""permissive","enforcing"3.
The default for my computer is enforcing.
Check if SELinux is on command sestatus if the status is enabled, SELinux is turned on
Permanently close SELinux
Vim/etc/selinux/config
Default selinux=enforcing
We modified to SELinux =disabled
Then reboot
Re-use Sestatus is the disabled state.
II: CentOS Firewall off
CentOS 7.0 uses firewall as a firewall by default, while previous versions use Iptables
Iptables Close Command iptables stop
Firewall command SYSTEMCTL status FIREWALLD
Firewall-cmd--state If the status is running means run
Firewall off
Systemctl Stop Firewalld.service
[Email protected]/]# Firewall-cmd--state
Not running firewall is off
Systemctl Disable Firewalld.service prohibit the boot of the firewall.
Removed Symlink/etc/systemd/system/dbus-org.fedoraproject.firewalld1.service.
Removed Symlink/etc/systemd/system/basic.target.wants/firewalld.service.
Selinux;firewall Firewall