Linux服务分类方式

一 Linux服务的分类


 
 
二 独立服务


 
 
三 基于xinetd服务


 
基于xinetd服务快讨论
 
四 安装xinetd服务
[root@localhost ~]# yum -y install xinetd
 
五 查看自启动状态


 
 
六实战
1、安装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、安装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

猜你喜欢

转载自cakin24.iteye.com/blog/2391808
今日推荐