<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://maytide.net/read.php/.htm</link>
<title><![CDATA[Linux 下 Apache 以服务级别运行]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[开源系统]]></category>
<pubDate>Sat, 17 Dec 2005 10:32:56 +0000</pubDate> 
<guid>https://maytide.net/read.php/.htm</guid> 
<description>
<![CDATA[ 
	<p>Apache以服务级别在系统启动时自动启动的方法找了很长时间都没有找到，最近因为在连续学习Linux翻看了很多资料，偶然间从 Discuz 官方论坛上找到了如果将 Apache 加入到服务中的办法：</p><p><div class="code">1．cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd</p><p>2．vi /etc/rc.d/init.d/httpd</p><p>3．在httpd文件的第三行下面，插入以下两句话：<br /># chkkconfig: 345 85 15<br /># description: Starts and stops the Apache HTTP Server.</p><p>4．chmode +x /etc/rc.d/init.d/httpd          //把httpd变成可执行文件</p><p>5．chkconfig --add httpd</p><p>6．chkconfig --list          //也可以使用 ntsysv 命令来检查是否载入到启动服务列表中</div></p><p>成功后，就可以用 service httpd start or restart or stop 来启动、重启、停止 Apache服务。</p>
]]>
</description>
</item><item>
<link>https://maytide.net/read.php/.htm#blogcomment</link>
<title><![CDATA[[评论] Linux 下 Apache 以服务级别运行]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://maytide.net/read.php/.htm#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>