基于xinetd服务的管理

注:基于xinetd的服务因为启动比较慢,被应用的越来越少。

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

[root@localhost ~]# chkconfig --list

基于xinetd服务的管理

二、xinetd服务的启动

[root@localhost ~]# vi /etc/xinetd.d/rsync
基于xinetd服务的管理

service rsync            服务的名称为telnet
{
        disable = yes         服务不启动
        flags           = IPv6         标志为REUSE,设定TCP/IP socket可重用
        socket_type     = stream    使用TCP协议数据包
        wait            = no         允许多个连接同时链接
        user            = root        启动服务的用户为root
        server          = /usr/bin/rsync  服务的启动程序
        server_args     = --daemon   
        log_on_failure  += USERID    登陆失败后,记录用户的ID
}

重启xinted服务

[root@localhost ~]# service xinetd restart
基于xinetd服务的管理

三、xinted服务的自启动

[root@localhost ~]# chkconfig rsync on

ntsysv

基于xinetd服务的管理

注:xinted服务的自启动和启动是混和的,自启动同时也会启动。

 

相关文章:

  • 2021-07-22
  • 2022-01-20
  • 2022-01-15
  • 2021-06-28
  • 2021-09-15
  • 2021-12-07
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2021-12-13
  • 2021-06-26
  • 2021-10-20
  • 2021-05-16
  • 2021-12-16
  • 2021-04-11
相关资源
相似解决方案