tags: Linux command and common software installation
Centos7 is installed by defaultfirewalld Tool
systemctl start firewalld
systemctl enable firewalld
As Figure: log may be connected through ssh linux locally in git bash Syntax: ssh username @IP -p port (because the ssh default port is 22) can also be a ssh username @IP 2.echo command to view the ad...
How can I run the systemctl command in docker? After many pits, I finally found a way. First of all, systemctl is the real root privileges of the system when the docker container is running. That is, ...
Basic order Open port Whether the query port is turned on Restart firewall Query the open port Command meaning Other orders Open port Whether the query port is turned on Restart firewall Query the ope...
Add a SYSTEMD profile: The document content is as follows: Set boot start starting program...
Can not find iptables linux Sometimes different versions of linux, iptables is not available, can only be replaced by firewalld is the first hurdle firewall before the entire packet into the host. Ipt...
The systemctl command in Docker is not easy to use 1. Problem 2. Solve Take firewalld as an example. 1. Problem After installing firewall, I found that systemctl start firewalld reported an error. Err...
FireWalld, FireWallD-CMD, SystemctL, iptables comparison Centos7 uses newfirewalld, CentOS6 and previous versionsiptables,butfirewalldThe bottom layer is still callediptables systemctlIs the main tool...
I have a local data-service.jar 1. Start writing scripts data-service-start 2. Stop writing script 3. Write data-service.service script in / usr / lib / systemd / system 4. Rel...
docker provides simple commands to manipulate containers. But his command to operate the container does not belong to the system. Because it is too simple, there must be many shortcomings. For example...
List services that failed to start It can be found that two services failed to start. is-failed option You can use the is-failed option to check whether the specified service failed to start. If the s...