The firewall under the Linux server is iptablesComponents, the Iptables firewall will block some of the necessary connections when installing some software.
Viewing iptables Status: Service iptables status
Iptables boot: On: Chkconfig iptables on off: Chkconfig iptables offiptables shutdown: On: Service iptables start Close: Service iptables stop
Restart Firewall Services: Service iptables restart
Temporarily shut down the firewall
First perform a temporary shutdown of the firewall operation, before this operation we need to go to the root permission to do the following, if you do not use root permission, will prompt the error.
Shutting down the firewall must be under root authority
If it is not under root, enter the SU command, enter the root password, enter the service iptables stop after login to the interface under root
Of course before closing we need to see if the firewall is turned on and the command is similar to the close command, except that the stop is replaced with the status : Service iptables status
permanently shut down the firewall
The above operation only temporarily shuts down the firewall, when your computer restarts again will open, if you want to permanently shut down the firewall, you can try the following method.
Open the terminal, enter chkconfig iptables off under root permission to permanently shut down the firewall, of course, we need to restart to take effect.
CentOS Linux off iptables Firewall (firewall in Linux is called iptables)