开发者社区 问答 正文

linux中启动xinetd服务的方法是什么?

linux中启动xinetd服务的方法是什么?

展开
收起
游客qzzytmszf3zhq 2021-12-05 15:51:23 357 分享 版权
1 条回答
写回答
取消 提交回答
  • #启动服务
    #centos7.x是用systemctl
    systemctl start xinetd.service
    
    #centos6.x
    /etc/init.d/xinetdw restart
    
    #查看是否启动起来
    ps -ef|grep xinetd
    root      33095      1  0 16:27 ?        00:00:00 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
    
    #查看telnet是否由xinetd服务启动起来
    ss -lntup|grep 23
    tcp    LISTEN     0      64       :::23                   :::*                   users:
    
    2021-12-05 16:01:41
    赞同 展开评论
问答分类:
问答地址: