/usr/local/apache/bin/apachectl restart 可以启动apache
echo "/usr/local/apache/bin/apachectl -k start" >> /etc/init.d/boot.local系统启动时服务自动启动,
SUSE自启动项目是在/etc/init.d/boot.local文件中添加命令。
Red Hat系统的对应文件是/etc/rc.d/rc.local。
/usr/local/apache/bin/apachectl restart 可以启动apache
echo "/usr/local/apache/bin/apachectl -k start" >> /etc/init.d/boot.local系统启动时服务自动启动,
SUSE自启动项目是在/etc/init.d/boot.local文件中添加命令。
Red Hat系统的对应文件是/etc/rc.d/rc.local。