Service Management
1. View the service status of all unit file individual files
Systemctl List-unit-files
Systemctl list-unit-files--type Serbice (Type filter)
2. Configure the Yum repository for small knowledge points
file://local file/mnt under the root of mnt
3. Service Status
View state systemctl Status service name
Start Service systemctl Start service name
Shutdown Service systemctl Stop service name
Next open still effective systemctl enable service name
4. Four common states
Static statics
Enable Open
Disable off
Unkown
5. Lock Service
Systemctl Mask Service Name
Systemctl unmask Service Name
6. View current Active status
Systemctl is-active Service Name
7. Get the current run level
Systemctl Get-default
8. Set the operating level of the system
Systemctl Set-default + Level
9. View the Run level
Cat/etc/inittab
IPv6
1. Set IPv6 address
2.NMCLI Connection Modify ipv6.addresses network card name "IPv6 address" (IPv6. DNS) Ipv6.method Manual Connection.autoconnect Yes
Systemctl Restart Network
3.ping6 IPv6 Address
4. View IPv6 Address
NMCLI connection show Nic name | grep ipv6.addresses
Tcp_wrappers
1. is a system that provides us with a mechanism to enhance security
2./etc/hosts.allow
/etc/hosts.deny
3. Determine whether a service relies on a library
LDD-V Services | grep Library
4.man LDD Show dependencies for shared libraries
This article from "Big Plum" blog, declined reprint!
Service management of Linux system Management, Ipv6,tcp_wrappers