CentOS下設置服務自動啟動的方法

    技术2022-05-20  33

     

    如果有預設啟動項目可用

     #ntsysv啟動 

    或是   

    #chkconfig 服務項目 on

    例如啟動postfix服務

    #chkconfig postfix on 

    若為其他啟動項目,可在

    /etc/rc.d/rc.local

    添加項目

     

     

     


    最新回复(0)