当前位置: > Linux发行版 > SuSE >

SUSE自动启动Apache

时间:2015-02-01 18:50来源:linux.it.net.cn 作者:IT

/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。

(责任编辑:IT)
------分隔线----------------------------