<acronym id='iruw4'><em id='iruw4'></em><td id='iruw4'><div id='iruw4'></div></td></acronym><address id='iruw4'><big id='iruw4'><big id='iruw4'></big><legend id='iruw4'></legend></big></address><span id='iruw4'></span>
    <i id='iruw4'></i>
    <dl id='iruw4'></dl>
      <fieldset id='iruw4'></fieldset>
        1. <ins id='iruw4'></ins>

        2. <tr id='iruw4'><strong id='iruw4'></strong><small id='iruw4'></small><button id='iruw4'></button><li id='iruw4'><noscript id='iruw4'><big id='iruw4'></big><dt id='iruw4'></dt></noscript></li></tr><ol id='iruw4'><table id='iruw4'><blockquote id='iruw4'><tbody id='iruw4'></tbody></blockquote></table></ol><u id='iruw4'></u><kbd id='iruw4'><kbd id='iruw4'></kbd></kbd>

          <code id='iruw4'><strong id='iruw4'></strong></code>

          <i id='iruw4'><div id='iruw4'><ins id='iruw4'></ins></div></i>
        3. Linux系统中加入自定义Shell为系统服务

          • 时间:
          • 浏览:5
          • 来源:124软件资讯网

            1. [root@localhost ~]# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd

            2. [root@localhost ~]# vi /etc/init.d/httpd

            3. 在第二行加入(必须  ,否则无法加入)

            # chkconfig: 2345 85 15

            # description: httpd is web server(此处为形貌) 。

            说明:2345表现在2345这四种启动级别内里加载这个服务  ,85表现启动(开机时)顺序号  ,15表现关闭(关机时)顺序号  。

            4. [root@localhost ~]# chkconfig -add httpd

            5. [root@localhost ~]# chkconfig ——level 35 httpd on