Classification of Linux services

A classification of Linux services


 
 
Two independent services


 
 
Three services based on xinetd


 
Quick discussion based on xinetd service
 
Four install xinetd service
[root@localhost ~]# yum -y install xinetd
 
5. Check the self-starting status


 
 
Six actual combat
1. Check the self-starting status before installing xinetd
[root@localhost ~]# chkconfig --list
 
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
 
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
 
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
2. Check the self-starting status after installing xinetd
[root@localhost ~]# chkconfig --list
 
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
 
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
 
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
 
xinetd based services:
chargen-dgram: off
chargen-stream: off
daytime-dgram: off
daytime-stream: off
discard-dgram: off
discard-stream: off
echo-dgram: off
echo-stream: off
tcpmux-server: off
time-dgram: off
time-stream: off

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326159344&siteId=291194637