<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[备忘录]Linux下安装Apache 2.0.59 的备忘录]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 06 Aug 2007 02:20:44 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	因为需要在我的主机上支持J2EE和ROR，所以我就选择安装Apache，虽然有lighttpd这个选择，但我觉得还是Apache更稳定，毕竟我们公司都是用YApache的。 <br/>安装Apache<br/>先把 Apache 2.0.59 下载到 /home/用户目录/Devtools 下，然后加压缩到/usr/local/src/目录<br/> 1 shell> cd /usr/local/src &nbsp; 2 shell> tar -zxvf httpd-2.0.59.tar.gz &nbsp; &nbsp;view plain &#124; print &#124; copy to clipboard &#124; ? shell> cd /usr/local/src<br/>shell> tar -zxvf httpd-2.0.59.tar.gz 然后进入httpd目录新建一个编译脚本，方便维护和以后升级。每次执行下面的setup.sh就可以安装了(前提是安装libxml2库、zlib库) <br/> 1 #!/bin/bash &nbsp; 2 ./configure --prefix=/opt/apache &nbsp; &nbsp;3 --enable-so &nbsp; &nbsp;4 --enable-rewrite &nbsp; &nbsp;5 --enable-dav &nbsp; &nbsp;6 --enable-info &nbsp; &nbsp;7 --enable-cgid &nbsp; &nbsp;8 --enable-mime-magic &nbsp; &nbsp;9 --enable-alias &nbsp; &nbsp;10 --enable-access &nbsp; &nbsp;11 --enable-deflate &nbsp; &nbsp;12 --enable-proxy &nbsp; &nbsp;13 --enable-proxy-http &nbsp; &nbsp;14 --enable-forward &nbsp; 15 &nbsp; 16 make &nbsp; 17 make install &nbsp; &nbsp;view plain &#124; print &#124; copy to clipboard &#124; ? #!/bin/bash<br/>./configure --prefix=/opt/apache <br/>--enable-so <br/>--enable-rewrite <br/>--enable-dav <br/>--enable-info <br/>--enable-cgid <br/>--enable-mime-magic <br/>--enable-alias <br/>--enable-access <br/>--enable-deflate <br/>--enable-proxy <br/>--enable-proxy-http <br/>--enable-forward<br/><br/>make<br/>make install<br/>这样就可以把制定的模块静态编译到Apache里，而且也支持动态加载模块。 <br/>把Apache当作服务启动<br/> 1 shell> cp /opt/apache/bin/apachectl /etc/rc.d/init.d/httpd &nbsp; 2 shell> chmod 700 /etc/rc.d/init.d/httpd &nbsp; 3 shell> chkconfig –add httpd &nbsp; 4 shell> chkconfig –level 345 httpd on &nbsp; 5 shell> service httpd start &nbsp; 6 shell> netstat -atln &nbsp; &nbsp;view plain &#124; print &#124; copy to clipboard &#124; ? shell> cp /opt/apache/bin/apachectl /etc/rc.d/init.d/httpd<br/>shell> chmod 700 /etc/rc.d/init.d/httpd<br/>shell> chkconfig –add httpd<br/>shell> chkconfig –level 345 httpd on<br/>shell> service httpd start<br/>shell> netstat -atln<br/>现在可以看到80端口已经开始监听了，访问自己的ip也可以看到Apache的欢迎界面：） <br/><a href="http://www.zhangzhang.net/articles/2006/09/03/Linux-Installs-Apache2" target="_blank">http://www.zhangzhang.net/articles/2006/09/03/Linux-Installs-Apache2</a>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [备忘录]Linux下安装Apache 2.0.59 的备忘录]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>