<>1. see , close , Turn on the firewall

<>1.1 View firewall operation status
systemctl status firewalld
Output results
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Four 2020-06-04 14:33:47 CST; 28min ago Docs:
man:firewalld(1) Main PID: 814 (firewalld) Tasks: 2 CGroup:
/system.slice/firewalld.service └─814 /usr/bin/python2 -Es /usr/sbin/firewalld
--nofork --nopid
according to running hear , Firewall is currently running .

<>1.2 Turn off firewall
systemctl stop firewalld.service
The firewall is now closed .

View command using firewall systemctl status firewalld.service see .
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Four 2020-06-04 16:25:12 CST; 1min 37s ago Docs:
man:firewalld(1) Process: 814 ExecStart=/usr/sbin/firewalld --nofork --nopid
$FIREWALLD_ARGS (code=exited, status=0/SUCCESS) Main PID: 814 (code=exited,
status=0/SUCCESS)
adopt dead find , Firewall service is down .

<>1.3 Turn on the firewall
systemctl start firewalld.service
Now the firewall is back on .

View command using firewall systemctl status firewalld.service see .
● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded
(/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Four 2020-06-04 16:30:41 CST; 47s ago Docs:
man:firewalld(1) Main PID: 3125 (firewalld) Tasks: 2 CGroup:
/system.slice/firewalld.service └─3125 /usr/bin/python2 -Es /usr/sbin/firewalld
--nofork --nopid
<>1.4 Other operations of firewall

* Power on disable firewall self start command : systemctl disable firewalld.service
* Firewall starts with the system : systemctl enable firewalld.service

Technology
©2019-2020 Toolsou All rights reserved,
python3 Read the file and specify a few lines , And write to another file Linux File name validity detection [work] python read txt Last line of file A guess number of small games , use JavaScript realization keras from dataframe Read data and enhance the data for training ( classification + division )Java Thread of Sleep() Summary of usage Element-UI Implementation of secondary packaging TreeSelect Tree drop-down selection component CCTV :Tiktok A lawsuit shows the attitude and determination of safeguarding rights C#/.NET System optimization (redis Chapter 6 data structure 【List】)mysql Modify primary key