Linux服务分类方式

一 Linux服务的分类

Linux服务分类方式
 
 
二 独立服务

Linux服务分类方式
 
 
三 基于xinetd服务

Linux服务分类方式
 
基于xinetd服务快讨论
 
四 安装xinetd服务
[[email protected] ~]# yum -y install xinetd
 
五 查看自启动状态

Linux服务分类方式
 
 
六实战
1、安装xinetd前查看自启动状态
[[email protected] ~]# 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、安装xinetd后查看自启动状态
[[email protected] ~]# 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