011-linux服务管理

linux服务管理



[root@zabbix lianxi]# chkconfig --list

注:该输出结果只显示 SysV 服务,并不包含
原生 systemd 服务。SysV 配置数据
可能被原生 systemd 配置覆盖。 

      要列出 systemd 服务,请执行 'systemctl list-unit-files'。
      查看在具体 target 启用的服务请执行
      'systemctl list-dependencies [target]'。

netconsole         0:关    1:关    2:关    3:关    4:关    5:关    6:关
network            0:关    1:关    2:开    3:开    4:开    5:开    6:关
linux服务管理-独立服务的管理

开启自动执行,在输入密码之前执行
[root@zabbix ~]# vim /etc/rc.d/rc.local 



基于xinetd服务管理


[root@zabbix ~]# yum install xinetd -y

sync是基于xinetd服务的

 

posted @ 2019-06-05 21:27  xuefy  阅读(168)  评论(0编辑  收藏  举报