CentOS5.5关闭sendmail服务【开机此处太慢】

    技术2025-04-15  20

     

    1,关闭sendmail服务

    /etc/rc.d/init.d/sendmail stop 

     

    Shutting down sendmail:         [ OK ]Shutting down sm-client:         [ OK ]

     

    2,关闭sendmail自启动

    [root@lsp ~]# chkconfig sendmail off

     

    3,确认sendmail自启动已被关闭(都为off就OK)

    [root@lsp ~]# chkconfig --list sendmail

    sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

     

    --------------

    chkconfig --list 可以用来查看所有的服务

     

    如果提示chkconfig命令找不到,可使用/sbin/chkconfig的形式

     

    最新回复(0)