<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>天道酬勤 &#187; apache</title>
	<atom:link href="http://www.ochef.net/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ochef.net</link>
	<description>Oracle and My Life</description>
	<lastBuildDate>Mon, 09 Jan 2012 05:39:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LAMP应用环境安装指南Ⅱ&#8211;Apache</title>
		<link>http://www.ochef.net/2009/05/lamp-apply-apache.html</link>
		<comments>http://www.ochef.net/2009/05/lamp-apply-apache.html#comments</comments>
		<pubDate>Sun, 24 May 2009 14:59:58 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=376</guid>
		<description><![CDATA[LAMP应用环境安装指南Ⅰ&#8211;MySQL LAMP应用环境安装指南Ⅲ&#8211;PHP Apache的安装： 1. Apache日志截断程序，Linux下运行的Web服务器Apache，默认日志文件是不分割的，一个整文件既不易于管理，也不易于分析统计。安装cronolog后，可以将日志文件按时间分割，易于管理和分析。 # cd /usr/local/src #wget http://cronolog.org/download/cronolog-1.6.2.tar.gz # tar xzvf cronolog-1.6.2.tar.gz # cd cronolog-1.6.2 # ./configure –prefix=/usr/local/cronolog # make; make install 2.下载httpd源码包 #cd /usr/local/src #wget http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.11.tar.gz #tar xzvf httpd-2.2.11.tar.gz #cd httpd-2.2.11 3. 编译安装 #./configure &#8211;prefix=/usr/local/apache2 &#8211;enable-module=so &#8211;enable-deflate=shared &#8211;enable-expires=shared &#8211;enable-rewrite=shared &#8211;enable-static-support &#8211;enable-static-htpasswd &#8211;enable-static-htdigest &#8211;enable-static-rotatelogs &#8211;enable-static-logresolve &#8211;enable-static-htdbm &#8211;enable-static-ab &#8211;enable-static-checkgid &#8211;disable-userdir #make;make install #echo &#8220;/usr/local/apache2/bin/apachectl [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-mysql.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LAMP应用环境安装指南Ⅰ–MySQL</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-php.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LAMP应用环境安装指南Ⅲ–PHP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Frrdtools-install.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">rrdtools 安装</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--></p>
<p class="MsoNormal"><a href="http://www.ochef.net/2009/05/lamp-apply-mysql/" target="_blank"><span lang="EN-US">LAMP</span><span style="font-family: 宋体;">应用环境安装指南Ⅰ</span><span lang="EN-US">&#8211;MySQL</span></a></p>
<p><!--[endif]--></p>
<p class="MsoNormal"><a href="http://www.ochef.net/2009/05/lamp-apply-php/"><span lang="EN-US">LAMP</span><span style="font-family: 宋体;">应用环境安装指南Ⅲ</span><span lang="EN-US">&#8211;PHP</span></a></p>
<p><span lang="EN-US">Apache</span><span style="font-family: 宋体;">的安装：</span></p>
<p class="MsoNormal"><span lang="EN-US">1.</span><span style="font-family: 宋体;"></span><span lang="EN-US"> Apache</span><span style="font-family: 宋体;">日志截断程序，</span><span lang="EN-US">Linux</span><span style="font-family: 宋体;">下运行的</span><span lang="EN-US">Web</span><span style="font-family: 宋体;">服务器</span><span lang="EN-US">Apache</span><span style="font-family: 宋体;">，默认日志文件是不分割的，一个整文件既不易于管理，也不易于分析统计。安装</span><span lang="EN-US">cronolog</span><span style="font-family: 宋体;">后，可以将日志文件按时间分割，易于管理和分析。</span></p>
<p class="MsoNormal"><span lang="EN-US"># cd /usr/local/src</span></p>
<p class="MsoNormal"><span lang="EN-US">#wget http://cronolog.org/download/cronolog-1.6.2.tar.gz</span></p>
<p class="MsoNormal"><span lang="EN-US"># tar xzvf cronolog-1.6.2.tar.gz</span></p>
<p class="MsoNormal"><span lang="EN-US"># cd cronolog-1.6.2</span></p>
<p class="MsoNormal"><span lang="EN-US"># ./configure –prefix=/usr/local/cronolog</span></p>
<p class="MsoNormal"><span lang="EN-US"># make; make install</span></p>
<p class="MsoNormal"><span lang="EN-US">2.</span><span style="font-family: 宋体;">下载</span><span lang="EN-US">httpd</span><span style="font-family: 宋体;">源码包</span></p>
<p class="MsoNormal"><span lang="EN-US">#cd /usr/local/src</span></p>
<p class="MsoNormal"><span lang="EN-US">#wget http://labs.xiaonei.com/apache-mirror/httpd/httpd-2.2.11.tar.gz</span></p>
<p class="MsoNormal"><span lang="EN-US">#tar xzvf httpd-2.2.11.tar.gz</span></p>
<p class="MsoNormal"><span lang="EN-US">#cd httpd-2.2.11</span></p>
<p class="MsoNormal"><span lang="EN-US">3. </span><span style="font-family: 宋体;">编译安装</span></p>
<p class="MsoNormal"><span lang="EN-US">#./configure &#8211;prefix=/usr/local/apache2 &#8211;enable-module=so &#8211;enable-deflate=shared &#8211;enable-expires=shared &#8211;enable-rewrite=shared &#8211;enable-static-support &#8211;enable-static-htpasswd &#8211;enable-static-htdigest &#8211;enable-static-rotatelogs &#8211;enable-static-logresolve &#8211;enable-static-htdbm &#8211;enable-static-ab &#8211;enable-static-checkgid &#8211;disable-userdir</span></p>
<p class="MsoNormal"><span lang="EN-US">#make;make install</span></p>
<p class="MsoNormal"><span lang="EN-US">#echo &#8220;/usr/local/apache2/bin/apachectl start&#8221; &gt;&gt; /etc/rc.local<span> </span>(</span><span style="font-family: 宋体;">系统启动时服务自动启动</span><span lang="EN-US">)</span></p>
<p class="MsoNormal">-The End-</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-mysql.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LAMP应用环境安装指南Ⅰ–MySQL</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-php.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LAMP应用环境安装指南Ⅲ–PHP</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Frrdtools-install.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">rrdtools 安装</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F10%2Fbirthday-cake.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Flamp-apply-apache.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Birthday Cake</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/05/lamp-apply-apache.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

