tags: Linux
CentOS View firewall status
service iptables status
An error message:
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.
Solution:
yum install iptables-services
After downloading, re-run, the following code appears, that is, it can be used.
[root@VM-0-16-centos ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Centos7 default firewall is not iptables, but FireWalle. This situation may be that the iptables firewall is not installed. CentOS7 default firewall is not iptables, but Firewalle. This situation may ...
Because virtual machines under use win install Linux. But the win is can ping of Linux. But using the browser method Linux service win the next time, can not access. Suspected to be a firewall problem...
Problem: Checking the firewall status appears: solution: Install iptables-services 2. Start iptables Now execute to check the firewall status, stop and start it View firewall status: Turn off the fire...
When the firewall is closed, it appears: Solution: yum install iptables-services In fact, after centos7 is based on iptable systemctl stop firewalld...
Today, I rented a few new cloud servers, configured the environment, and first set up a wave of Zookeeper clusters. Like the previous machine, turn off the firewall service iptables stop first, and su...
In CentOS 7, the firewall has been managed by firewalld, and CentOS7 has firewallD by default. No installation can be installed with the yum command, and the iptables is not small. View firewall statu...
The following error message: (1) Close firewalld: systemctl stop firewalld systemctl mask firewalld (2) use the iptables service: 1. Installation iptables-services: yum install ipt...
Project scene: CentOS7 closes the firewall appearance: Failed to stop iptables.service: Unit iptables.service not loaded. Problem Description: CentOS7 executes: Service iptables stops appears when the...
problem: Solution: systemctl restart mysqld.service...
In order to build svn under the local server, install mysql in CentOS, use yum install mysql-server mysql mysql-devel to install mysql but the mysql service cannot be started Use service mysqld start ...