![]() |
|
||||||||||||
systemd
Linux systemd tips |
Elsewhere [edit]
Related
systemd
systemd is an overhaul of the internals used by Unix and Linux for managing services. Many long time Unix/Linux administrators and users became familiar with well established System V style internals for reviewing and configuring service start up dependencies. This decades old legacy is changing with systemd. The main benefit is much faster boot times and a more flexible structure arranging how services are managed. The down side in the short term is many familiar administration commands have changed since systemd has little tolerance for rogue administration utilities that system V allowed to flourish, in part due to due various deficiencies in that legacy system. Following are a number of common Linux operations translated into systemd's new parlance.
New Common Function Commands [edit]Following are new commands for setting and controlling services that have changed from venerable System V.
# firewall-cmd --list-all public (default, active) interfaces: ens192 sources: services: dhcpv6-client ssh ports: masquerade: no forward-ports: icmp-blocks: rich rules: # firewall-cmd --zone=public --add-port=http/tcp --permanent # firewall-cmd --reload # firewall-cmd --list-all public (default, active) interfaces: ens192 sources: services: dhcpv6-client ssh ports: 80/tcp masquerade: no forward-ports: icmp-blocks: rich rules: # systemctl list-unit-files --type=service UNIT FILE STATE VENDOR PRESET auditd.service enabled enabled auth-rpcgss-module.service static - ... user-runtime-dir@.service static - user@.service static -
Managing Hostname
TecMint: Change System Hostname