The method of completely shutting down the Firewall by linux
This article mainly introduces "the method of linux shutting down the firewall completely". In the daily operation, I believe that many people have doubts about the method of completely shutting down the firewall by linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "the method of linux shutting down the firewall completely". Next, please follow the editor to study!
In order for normal communication between multiple hadoop hosts, the firewall needs to be turned off.
Use the following command to turn off IP Firewall
Service iptables stop
Authentication: service iptables status
The result is shown in the following figure
Although the IP Firewall is turned off at this time, it is actually a service that may start automatically. The next time you start the computer, it will start again, and you need to turn off its automatic start state. We use the following command to check the startup status of the service.
Chkconfig-- list | grep iptables
We need to completely shut down the firewall to avoid worries and use the following command to shut down the firewall
Chkconfig iptables off
To verify, let's check the startup status of the service again with the following command.
Chkconfig-- list | grep iptables
At this point, the study on "the method of linux completely shutting down the firewall" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!