#First Step: cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd #Second Step: vim /etc/init.d/httpd 在第一行#!/bin/sh下增加两行文字 # chkconfig: 35 70 30 # description: Apache #Third Step: 保存退出 chkconfig --level 35 httpd on
时间: 2024-10-10 18:08:03
#First Step: cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd #Second Step: vim /etc/init.d/httpd 在第一行#!/bin/sh下增加两行文字 # chkconfig: 35 70 30 # description: Apache #Third Step: 保存退出 chkconfig --level 35 httpd on