CentOS6 Turn off the firewall using the following command ,
// Temporarily Closed service iptables stop // Do not start chkconfig iptables off
CentOS7 If you use the same command, you will report an error ,
stop iptables.service Failed to stop iptables.service: Unit iptables.service
not loaded.
that is because CentOS7 Firewall is used by default after version firewalld, So in the CentOS7 Use the following command to turn off the firewall in ,
// Temporarily Closed systemctl stop firewalld // Do not start systemctl disable firewalld Removed
symlink /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed
symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
of course , If the iptables-service, You can also use the following command ,
yum install -y iptables-services // Turn off the firewall service iptables stop Redirecting to
/bin/systemctl stop iptables.service // Check firewall status service iptables status
Redirectingto /bin/systemctl status iptables.service A kind of iptables.service - IPv4
firewallwith iptables Loaded: loaded (/usr/lib/systemd/system/iptables.service;
disabled; vendor preset: disabled) Active: inactive (dead)

Technology
©2019-2020 Toolsou All rights reserved,
C Review of basic language knowledge Go Language learning notes (GUI programming )Java Misunderstanding —— Method overloading is a manifestation of polymorphism ? How to achieve low cost and high stability for cloud native applications ?elementui Shuttle box el-transfer Display list content text too long C/C++ Memory model Element-Ui assembly Message Message prompt , alert Popup C# Making a simplified version of calculator Python In pycharm editor Interface style modification Tiktok refresh progress bar ( Two little balls turn ), The code is simple