In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, what the editor shares with you is the command of linux to check whether the firewall is turned off. Many people don't know much about it. Today, in order to let you know more about linux, I summarized the following contents for you. Let's look down together. I'm sure you'll get something.
I. service mode
View firewall status:
[root@centos6 ~] # service iptables statusiptables: firewall is not running.
II. Iptables mode
Enter the init.d directory first, and use the following command:
[root@centos6 ~] # cd / etc/init.d/ [root@centos6 init.d] #
Then check the firewall status:
[root@centos6 init.d] # / etc/init.d/iptables status
This is the end of the command for linux to check whether the firewall is closed, of course, not just the above and everyone's analysis, but the editor can ensure its accuracy is absolutely no problem. I hope that the above content can have a certain reference value for everyone, and can be put into practice. If you like this article, you might as well share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.