<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://goxia.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://goxia.maytide.net/read.php/809.htm</link>
<title><![CDATA[以批处理的方式自动运行Apache和Mysql]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[开源系统]]></category>
<pubDate>Mon, 17 Jan 2005 06:22:54 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/809.htm</guid> 
<description>
<![CDATA[ 
	Mysql可以做为服务加载到Linux中自动以服务运行，找了半天也没有找到如何将Apache以服务运行的方法。郁闷！<br/>不过朋友告诉我了一个简单的办法，就是同过类似DOS中的Autoexec.bat的方式来自动运行这两个服务。<br/>方法：<br/>编辑/etc/rc.d/rc.local文件添加<br/><div class="code">/bin/sh -c 'cd /usr/local/mysql/share; ./mysql/mysqld start'<br/><br/>/bin/sh -c 'cd /usr/local/apache; ./bin/apachectl start'</div>
]]>
</description>
</item>
</channel>
</rss>