<?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; 服务器</title>
	<atom:link href="http://www.quanlei.com/tag/%e6%9c%8d%e5%8a%a1%e5%99%a8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quanlei.com</link>
	<description>一个关于我们生活点滴的网站，一个记录我们酸甜苦辣的日志。</description>
	<lastBuildDate>Thu, 02 Feb 2012 06:37:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Notes: 运维</title>
		<link>http://www.quanlei.com/2011/06/note-web-site-operation/</link>
		<comments>http://www.quanlei.com/2011/06/note-web-site-operation/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 14:43:54 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[Linux服务器相关]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[网站运营相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[运维]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2362</guid>
		<description><![CDATA[最近这一周来一直和运维打交道，原因是服务器所在的机房网络不稳定，导致需要进行各种网络检测，测试和服务器硬件维护。 说来负责的这个项目的网络情况比较“被”，先是遇到断电维护，其次是南北网络互通问题，再是IP所在路由器故障，到现在的网络不稳定。总之是大面上遇到的问题都遇到了，小问题也都赶上了。 说起目前的情况也很奇怪： 1、出问题的IP，ping值不稳定，正常的时候3ms左右，出问题的时候不是请求超时就是ping值达到2000多ms，故障发生间隙也是几秒，几分，到几十分钟不等。 2、出问题的IP所在机子，cpu，内存，网络使用等都不大，甚至凌晨压力最最小的时候也出问题。 3、为了排除硬件问题，考虑将备机上架，而可悲的是备机竟然无法上架，原因是出问题的IP到了新机子上始终无法连通外网，而机房内同网段机子却可以ping通，换其他IP也没一点儿问题。 4、为了排除备机的系统问题，重新安装了备机的操作系统，问题同样，出问题的IP始终到了备机上无法连通外网，换其他IP没问题。 5、问题反馈机房，得答复：IP没有做网卡绑定，对此问题他们暂时也没有找到原因。 到这里我们也就无能为力了，换IP或许是最直接和简单的解决办法，但是客户忍受不了了，接连出现的问题让他们对这个机房已经丧失了信心，开始寻找新机房，准备迁移。 在这几天的网络监控中，发现了一个不错的网站“监控宝”，虽然之前早就知道，但是因为之前没有使用的需求，因此也就没有在意，这次网络监测中，发现“监控宝”还是很不错的，虽然免费的账户有一定的限制，但是作为辅助的监测工具还是很有用的，尤其结合即时通知使用时。 这里分享一个使用技巧： 想更好的使用监控宝的即时通知，是要付费的，比如短信通知，但是可以通过139邮箱的短信通知做到一样的即时通知，这点就需要你设置的通知邮箱中有一个必须是139邮箱了。 我的做法：把监控宝的通知邮箱设为我常用的gmail邮箱，然后增加过滤器，只转发来自监控宝的邮件至我不常用的139邮箱，这样只要监控宝一有邮件通知，手机就会立马收到通知。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Notes: 银联手机支付" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-dnapay%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/31/20210915.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 银联手机支付</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 慎用“OpenSessionInView”" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnote-be-careful-use-opensessioninview%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 慎用“OpenSessionInView”</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: update glassfishv3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotes-update-glassfishv3%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: update glassfishv3</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 通过 label 标签改进鼠标用户的可用性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-label-availability%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19877126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 通过 label 标签改进鼠标用户的可用性</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：jForum论坛整合" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Ajforum-integration%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：jForum论坛整合</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>最近这一周来一直和运维打交道，原因是服务器所在的机房网络不稳定，导致需要进行各种网络检测，测试和服务器硬件维护。</p>
<p>说来负责的这个项目的网络情况比较“被”，先是遇到断电维护，其次是南北网络互通问题，再是IP所在路由器故障，到现在的网络不稳定。总之是大面上遇到的问题都遇到了，小问题也都赶上了。</p>
<p class="btitle">说起目前的情况也很奇怪：</p>
<blockquote><p>1、出问题的IP，ping值不稳定，正常的时候3ms左右，出问题的时候不是请求超时就是ping值达到2000多ms，故障发生间隙也是几秒，几分，到几十分钟不等。</p>
<p>2、出问题的IP所在机子，cpu，内存，网络使用等都不大，甚至凌晨压力最最小的时候也出问题。</p>
<p>3、为了排除硬件问题，考虑将备机上架，而可悲的是备机竟然无法上架，原因是出问题的IP到了新机子上始终无法连通外网，而机房内同网段机子却可以ping通，换其他IP也没一点儿问题。</p>
<p>4、为了排除备机的系统问题，重新安装了备机的操作系统，问题同样，出问题的IP始终到了备机上无法连通外网，换其他IP没问题。</p>
<p>5、问题反馈机房，得答复：IP没有做网卡绑定，对此问题他们暂时也没有找到原因。</p></blockquote>
<p>到这里我们也就无能为力了，换IP或许是最直接和简单的解决办法，但是客户忍受不了了，接连出现的问题让他们对这个机房已经丧失了信心，开始寻找新机房，准备迁移。</p>
<p>在这几天的网络监控中，发现了一个不错的网站“监控宝”，虽然之前早就知道，但是因为之前没有使用的需求，因此也就没有在意，这次网络监测中，发现“监控宝”还是很不错的，虽然免费的账户有一定的限制，但是作为辅助的监测工具还是很有用的，尤其结合即时通知使用时。</p>
<p class="btitle">这里分享一个使用技巧：</p>
<blockquote><p>想更好的使用监控宝的即时通知，是要付费的，比如短信通知，但是可以通过139邮箱的短信通知做到一样的即时通知，这点就需要你设置的通知邮箱中有一个必须是139邮箱了。</p>
<p>我的做法：把监控宝的通知邮箱设为我常用的gmail邮箱，然后增加过滤器，只转发来自监控宝的邮件至我不常用的139邮箱，这样只要监控宝一有邮件通知，手机就会立马收到通知。</p></blockquote>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F&title=Notes%3A+%E8%BF%90%E7%BB%B4" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Notes: 银联手机支付" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-dnapay%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/31/20210915.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 银联手机支付</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 慎用“OpenSessionInView”" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnote-be-careful-use-opensessioninview%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 慎用“OpenSessionInView”</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: update glassfishv3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotes-update-glassfishv3%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: update glassfishv3</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 通过 label 标签改进鼠标用户的可用性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-label-availability%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19877126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 通过 label 标签改进鼠标用户的可用性</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：jForum论坛整合" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Ajforum-integration%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：jForum论坛整合</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2011/06/note-web-site-operation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Note:做优化</title>
		<link>http://www.quanlei.com/2011/06/notemake-possible-make-optimize/</link>
		<comments>http://www.quanlei.com/2011/06/notemake-possible-make-optimize/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 08:31:43 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[前端开发]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[网站运营相关]]></category>
		<category><![CDATA[项目管理]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[运营]]></category>
		<category><![CDATA[项目]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2424</guid>
		<description><![CDATA[补发：之前某项目尾声时做的一些显而易见的优化工作： 1、图片size优化 使用Firebug上的YSlow就可以很方便的处理，但是对于一些重要的图片，比如logo等，还是让UI工程师专门做优化。 2、检查gzip是否开启 检查服务器上的gzip是否开启，这个对于前端优化起很大作用，如下图, gzip前后的js文件大小变化很大： 3、检查静态文件的文件头是否加Expires 对于静态文件，比如图片，css，js等，一般更新的频率不高，所以别忘记加expires，可以减少服务器压力。 4、session过期时间不要太长 默认20分钟，对于要求高的项目，可以再调低点，过期时间越长对服务器的压力会越大。 5、检查代码中的for循环 最近一次的代码review中发现有工程师在for循环中进行connection调用，而该循环可能会很大，这样的结果会导致短时频繁数据库操作，而且这些操作完全可以通过优化SQL来达到一次调用。 6、检查日志的输出级别 这个建议在项目运行初期还是全开，原因是压力此时不大，方便问题处理，当出现性能问题时再做优化。 7、对js和css文件进行压缩处理 推荐YUI Compressor 8、无用包的清理 依赖包一般都不小，如无用赶紧删了 目前就想到这些，其他有想到容易做优化的再补，对于数据库，虚拟机内存等问题，出现性能时再解决。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Notes: 银联手机支付" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-dnapay%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/31/20210915.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 银联手机支付</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：glassfish忘记管理员密码的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：glassfish忘记管理员密码的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 通过 label 标签改进鼠标用户的可用性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-label-availability%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19877126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 通过 label 标签改进鼠标用户的可用性</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 慎用“OpenSessionInView”" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnote-be-careful-use-opensessioninview%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 慎用“OpenSessionInView”</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 运维" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 运维</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>补发：之前某项目尾声时做的一些显而易见的优化工作：</p>
<p class="btitle">1、图片size优化</p>
<p>使用Firebug上的YSlow就可以很方便的处理，但是对于一些重要的图片，比如logo等，还是让UI工程师专门做优化。<br />
<center><a href="http://www.quanlei.com/wp-content/uploads/2011/07/1.png" rel="lightbox[2424]"><img class="size-full wp-image-2425 aligncenter" title="1" src="http://www.quanlei.com/wp-content/uploads/2011/07/1.png" alt="" width="379" height="130" /></a></center></p>
<p class="btitle">2、检查gzip是否开启</p>
<p>检查服务器上的gzip是否开启，这个对于前端优化起很大作用，如下图, gzip前后的js文件大小变化很大：<br />
<center><a href="http://www.quanlei.com/wp-content/uploads/2011/07/2.png" rel="lightbox[2424]"><img src="http://www.quanlei.com/wp-content/uploads/2011/07/2.png" alt="" title="2" width="241" height="201" class="aligncenter size-full wp-image-2432" /></a></center><br />
<span id="more-2424"></span></p>
<p class="btitle">3、检查静态文件的文件头是否加Expires</p>
<p>对于静态文件，比如图片，css，js等，一般更新的频率不高，所以别忘记加expires，可以减少服务器压力。</p>
<p class="btitle">4、session过期时间不要太长</p>
<p>默认20分钟，对于要求高的项目，可以再调低点，过期时间越长对服务器的压力会越大。</p>
<p class="btitle">5、检查代码中的for循环</p>
<p>最近一次的代码review中发现有工程师在for循环中进行connection调用，而该循环可能会很大，这样的结果会导致短时频繁数据库操作，而且这些操作完全可以通过优化SQL来达到一次调用。</p>
<p class="btitle">6、检查日志的输出级别</p>
<p>这个建议在项目运行初期还是全开，原因是压力此时不大，方便问题处理，当出现性能问题时再做优化。</p>
<p class="btitle">7、对js和css文件进行压缩处理</p>
<p>推荐YUI Compressor</p>
<p class="btitle">8、无用包的清理</p>
<p>依赖包一般都不小，如无用赶紧删了</p>
<p>目前就想到这些，其他有想到容易做优化的再补，对于数据库，虚拟机内存等问题，出现性能时再解决。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F&title=Note%3A%E5%81%9A%E4%BC%98%E5%8C%96" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Notes: 银联手机支付" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-dnapay%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/31/20210915.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 银联手机支付</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：glassfish忘记管理员密码的解决办法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：glassfish忘记管理员密码的解决办法</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 通过 label 标签改进鼠标用户的可用性" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnotes-label-availability%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/07/29/19877126.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 通过 label 标签改进鼠标用户的可用性</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 慎用“OpenSessionInView”" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fnote-be-careful-use-opensessioninview%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 慎用“OpenSessionInView”</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 运维" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnote-web-site-operation%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotemake-possible-make-optimize%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 运维</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2011/06/notemake-possible-make-optimize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes: 通过logrotate进行nginx的日志轮转</title>
		<link>http://www.quanlei.com/2011/05/notes%ef%bc%9alogrotate-nginx/</link>
		<comments>http://www.quanlei.com/2011/05/notes%ef%bc%9alogrotate-nginx/#comments</comments>
		<pubDate>Sun, 08 May 2011 11:35:29 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[Linux服务器相关]]></category>
		<category><![CDATA[网站运营相关]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[日志]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2343</guid>
		<description><![CDATA[看着线上项目的access.log日益增大，进行日志分析相当不便，迫切需要进行日志轮转。 网上找到了使用logrotate进行nginx日志轮转的方案，由于不需要安装任何软件，配置起来也方便，因此考虑使用这个作为轮转方案。 先copy一个配置文件： 进行该文件的配置： 配置说明： daily：按天来rotate dateext:日志rotate后再后面加日期，例如：access.log轮转后会变为access.log-20110508 rotate:保留最近的几个文件 copytruncate：是指在进行轮转时会先把日志内容复制到老文件后才清除日志文件内容，可以保证日志记录的连续性。 nocompress：不压缩 missingok:当日志为空时不进行轮转 postrotate和endscript可以插入命令和脚本 执行某些操作，这里我们是平滑重启nginx，否则轮转后access.log不会再写入。 测试配置是否生效： 看看/usr/local/nginx/logs/下面是否有类似access.log-20110508的log生成<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>看着线上项目的access.log日益增大，进行日志分析相当不便，迫切需要进行日志轮转。</p>
<p>网上找到了使用logrotate进行nginx日志轮转的方案，由于不需要安装任何软件，配置起来也方便，因此考虑使用这个作为轮转方案。</p>
<p class="btitle">先copy一个配置文件：</p>
<pre class="brush: plain; title: ; notranslate">
cp /etc/logrotate.d/httpd /etc/logrotate.d/nginx
</pre>
<p class="btitle">进行该文件的配置：</p>
<pre class="brush: plain; title: ; notranslate">
/usr/local/nginx/logs/*.log {
    daily
    dateext
    rotate 99
    copytruncate
    nocompress
    missingok
    notifempty
    sharedscripts
    postrotate
         /bin/kill -HUP `/bin/cat /usr/local/nginx/logs/nginx.pid`
    endscript
}
</pre>
<p><strong>配置说明：</strong></p>
<blockquote><p>daily：按天来rotate<br />
dateext:日志rotate后再后面加日期，例如：access.log轮转后会变为access.log-20110508<br />
rotate:保留最近的几个文件<br />
copytruncate：是指在进行轮转时会先把日志内容复制到老文件后才清除日志文件内容，可以保证日志记录的连续性。<br />
nocompress：不压缩<br />
missingok:当日志为空时不进行轮转<br />
postrotate和endscript可以插入命令和脚本 执行某些操作，这里我们是平滑重启nginx，否则轮转后access.log不会再写入。</p></blockquote>
<p class="btitle">测试配置是否生效：</p>
<pre class="brush: plain; title: ; notranslate">
/usr/sbin/logrotate -f /etc/logrotate.conf
</pre>
<p>看看/usr/local/nginx/logs/下面是否有类似access.log-20110508的log生成</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25ef%25bc%259alogrotate-nginx%2F&title=Notes%3A+%E9%80%9A%E8%BF%87logrotate%E8%BF%9B%E8%A1%8Cnginx%E7%9A%84%E6%97%A5%E5%BF%97%E8%BD%AE%E8%BD%AC" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2011/05/notes%ef%bc%9alogrotate-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notes: glassfish忘记管理员密码的解决办法</title>
		<link>http://www.quanlei.com/2011/04/notes%ef%bc%9aglassfish-forget-admin-password/</link>
		<comments>http://www.quanlei.com/2011/04/notes%ef%bc%9aglassfish-forget-admin-password/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 16:27:06 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[网站运营相关]]></category>
		<category><![CDATA[GlassFish]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=2329</guid>
		<description><![CDATA[常用的方法有两个： 一、如果现有的 domain 上只是些不重要的内容，那么最方便的就是删除现有的 domain，重新创建一个 domain。 二、创建一个临时 domain，再把临时 domain 的 admin-keyfile 拷贝到老 domain 上。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="在GlassFish中缓存静态资源，开启Gzip" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F03%2Fglassfish-gzip-expires-header%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/03/14/3513919.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在GlassFish中缓存静态资源，开启Gzip</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: glassfish 出现__admingui/common/index.jsp not found 的问题处理" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-glassfish-__admingui-common-index-jsp-not-found%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: glassfish 出现__admingui/common/index.jsp not found 的问题处理</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/20 周主题] – GlassFish单机和多机集群的配置" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1020-week-subject-glassfish-cluster%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/20 周主题] – GlassFish单机和多机集群的配置</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 更改glassfish的日志轮转数量" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-change-the-limit-number-of-retained-files%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 更改glassfish的日志轮转数量</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: update glassfishv3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotes-update-glassfishv3%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: update glassfishv3</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>常用的方法有两个：</p>
<p>一、如果现有的 domain 上只是些不重要的内容，那么最方便的就是删除现有的 domain，重新创建一个 domain。</p>
<pre class="brush: plain; title: ; notranslate">
//删除domain1
asadmin delete-domain domain1
//重新创建一个domain1
asadmin create-domain --adminport 4848 domain1
</pre>
<p>二、创建一个临时 domain，再把临时 domain 的 admin-keyfile 拷贝到老 domain 上。</p>
<pre class="brush: plain; title: ; notranslate">
//创建临时domain
asadmin create-domain --adminport 4848 temp
//将临时domain的admin-keyfile拷贝到老domain中
cp domains\temp\config\admin-keyfile  domains\domain1\config\admin-keyfile
//删除临时domain
asadmin delete-domain temp
</pre>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25ef%25bc%259aglassfish-forget-admin-password%2F&title=Notes%3A+glassfish%E5%BF%98%E8%AE%B0%E7%AE%A1%E7%90%86%E5%91%98%E5%AF%86%E7%A0%81%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="在GlassFish中缓存静态资源，开启Gzip" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F03%2Fglassfish-gzip-expires-header%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/site_images/2011/03/14/3513919.png" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">在GlassFish中缓存静态资源，开启Gzip</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: glassfish 出现__admingui/common/index.jsp not found 的问题处理" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-glassfish-__admingui-common-index-jsp-not-found%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: glassfish 出现__admingui/common/index.jsp not found 的问题处理</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/20 周主题] – GlassFish单机和多机集群的配置" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1020-week-subject-glassfish-cluster%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/20 周主题] – GlassFish单机和多机集群的配置</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: 更改glassfish的日志轮转数量" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F08%2Fnotes-change-the-limit-number-of-retained-files%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: 更改glassfish的日志轮转数量</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes: update glassfishv3" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F06%2Fnotes-update-glassfishv3%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2011%2F04%2Fnotes%25EF%25BC%259Aglassfish-forget-admin-password%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes: update glassfishv3</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2011/04/notes%ef%bc%9aglassfish-forget-admin-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[10/21 周主题] – 安装和配置Nginx</title>
		<link>http://www.quanlei.com/2010/05/1021-week-subject-install-and-config-nginx/</link>
		<comments>http://www.quanlei.com/2010/05/1021-week-subject-install-and-config-nginx/#comments</comments>
		<pubDate>Fri, 28 May 2010 04:02:13 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[Linux服务器相关]]></category>
		<category><![CDATA[周主题]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[脚本]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=1567</guid>
		<description><![CDATA[马上Nginx将会应用到公司的第一个实战项目上，为了方便开发和运维人员安装和配置Nginx，整理了下面的内容。 我们的服务器全部采用CentOS，因此下面的配置也是基于CentOS来配置的。 安装流程： 正常一步步走下面是不会出问题的，前提确保你的服务器网络可用。 Nginx启动脚本： 将上面的脚本放在 /etc/init.d/nginx 文件里面<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>马上Nginx将会应用到公司的第一个实战项目上，为了方便开发和运维人员安装和配置Nginx，整理了下面的内容。</p>
<p>我们的服务器全部采用CentOS，因此下面的配置也是基于CentOS来配置的。</p>
<h3>安装流程：</h3>
<pre class="brush: cpp; title: ; notranslate">
cd /opt/

yum install gcc openssl-devel pcre-devel zlib-devel

wget http://nginx.org/download/nginx-0.8.38.tar.gz

wget http://github.com/gnosek/nginx-upstream-fair/tarball/master

tar –zxvf nginx-0.8.38.tar.gz

tar –zxvf gnosek-nginx-upstream-fair-2131c73.tar.gz

cd nginx-0.8.38

./configure
--with-http_stub_status_module
--add-module=/opt/gnosek-nginx-upstream-fair-2131c73

make &amp; make install
</pre>
<p>正常一步步走下面是不会出问题的，前提确保你的服务器网络可用。</p>
<h3>Nginx启动脚本：</h3>
<p><span id="more-1567"></span></p>
<pre class="brush: cpp; title: ; notranslate">
#!/bin/bash
# Nginx Manage Script
#
# processname: nginx
# pidfile: /var/run/nginx.pid
# config: /usr/local/nginx/conf/nginx.conf

nginxd=/usr/local/nginx/sbin/nginx
nginx_config=/usr/local/nginx/conf/nginx.conf
nginx_pid=/var/run/nginx.pid
lockfile=/var/lock/subsys/nginx

RETVAL=0
prog=&quot;nginx&quot;

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = &quot;no&quot; ] &amp;&amp; exit 0

[ -x $nginxd ] || exit 0

# Start nginx daemons functions.
start() {

if [ -e $nginx_pid ];then
   echo &quot;nginx already running....&quot;
   exit 1
fi

   echo -n $&quot;Starting $prog: &quot;
   daemon $nginxd -c ${nginx_config}
   RETVAL=$?
   echo
   [ $RETVAL = 0 ] &amp;&amp; touch $lockfile
   return $RETVAL

}

# Stop nginx daemons functions.
stop() {
        echo -n $&quot;Stopping $prog: &quot;
        killproc $nginxd
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] &amp;&amp; rm -f $lockfile $nginx_pid
}

# reload nginx service functions.
reload() {

    echo -n $&quot;Reloading $prog: &quot;
    killproc $nginxd -HUP
    RETVAL=$?
    echo

}

# See how we were called.
case &quot;$1&quot; in
start)
        start
        ;;

stop)
        stop
        ;;

reload)
        reload
        ;;

restart)
        stop
        start
        ;;

status)
        status $prog
        RETVAL=$?
        ;;
*)
        echo $&quot;Usage: $prog {start|stop|restart|reload|status|help}&quot;
        exit 1
esac

exit $RETVAL
</pre>
<p>将上面的脚本放在 /etc/init.d/nginx 文件里面</p>
<pre class="brush: cpp; title: ; notranslate">
chmod +x /etc/init.d/nginx
</pre>
<pre class="brush: cpp; title: ; notranslate">
/etc/init.d/nginx start
</pre>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&title=%5B10%2F21+%E5%91%A8%E4%B8%BB%E9%A2%98%5D+%E2%80%93+%E5%AE%89%E8%A3%85%E5%92%8C%E9%85%8D%E7%BD%AENginx" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2010/05/1021-week-subject-install-and-config-nginx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[10/13周主题] – Apache，Nginx，Tomcat集群</title>
		<link>http://www.quanlei.com/2010/04/1013-week-subject-apache-nginx-tomcat/</link>
		<comments>http://www.quanlei.com/2010/04/1013-week-subject-apache-nginx-tomcat/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 15:42:22 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[周主题]]></category>
		<category><![CDATA[编程相关]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=1311</guid>
		<description><![CDATA[本周主题：Apache Nginx Tomcat集群 最近这段时间一个项目处于最后的调试，上线阶段，服务器和程序的优化方面成为最近的重点，以确保项目上线后可以达到预定的目标。 最终上线的配置是Apache+Tomcat集群，Nginx仅仅参与了一下测试，算是体验下，以后估计会在前端上多多使用。 Apache前端使用的是反向代理配置方式，Session Sticky，Tomcat配置sessionDB。 Apache基本上采用默认配置，由于使用prefork模式，因此调整了prefork下的一些参数配置。 Tomcat调整了连接数，Apache和Tomcat在同台机子上，调整了Linux系统的ulimit。 Nginx做前端时，没有配置session同步，压力测试的表现方面，没发现Apache和Nginx有太大差异，不过有一次Apache前端被压挂了，无法关闭httpd。 另外这次将GlashFish和Tomcat做了一个简单的对比，发现GlashFish+自身连接池测试效果要好于Tomcat+DBCP连接池，表现方面一个是内存使用上，另一个是数据库连接数和响应上。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[10/16 周主题] – Apache，Nginx，Tomcat集群 续" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1016-week-subject-apache-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/16 周主题] – Apache，Nginx，Tomcat集群 续</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>本周主题：Apache Nginx Tomcat集群</p>
<p>最近这段时间一个项目处于最后的调试，上线阶段，服务器和程序的优化方面成为最近的重点，以确保项目上线后可以达到预定的目标。</p>
<p>最终上线的配置是Apache+Tomcat集群，Nginx仅仅参与了一下测试，算是体验下，以后估计会在前端上多多使用。</p>
<p>Apache前端使用的是反向代理配置方式，Session Sticky，Tomcat配置sessionDB。</p>
<p>Apache基本上采用默认配置，由于使用prefork模式，因此调整了prefork下的一些参数配置。</p>
<p>Tomcat调整了连接数，Apache和Tomcat在同台机子上，调整了Linux系统的ulimit。</p>
<p>Nginx做前端时，没有配置session同步，压力测试的表现方面，没发现Apache和Nginx有太大差异，不过有一次Apache前端被压挂了，无法关闭httpd。</p>
<p>另外这次将GlashFish和Tomcat做了一个简单的对比，发现GlashFish+自身连接池测试效果要好于Tomcat+DBCP连接池，表现方面一个是内存使用上，另一个是数据库连接数和响应上。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&title=%5B10%2F13%E5%91%A8%E4%B8%BB%E9%A2%98%5D+%E2%80%93+Apache%EF%BC%8CNginx%EF%BC%8CTomcat%E9%9B%86%E7%BE%A4" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[10/16 周主题] – Apache，Nginx，Tomcat集群 续" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1016-week-subject-apache-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/16 周主题] – Apache，Nginx，Tomcat集群 续</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Nginx试用" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Nginx试用</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2010/04/1013-week-subject-apache-nginx-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx试用</title>
		<link>http://www.quanlei.com/2010/03/nginx-install-for-first-use/</link>
		<comments>http://www.quanlei.com/2010/03/nginx-install-for-first-use/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 01:24:52 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[Linux服务器相关]]></category>
		<category><![CDATA[技术]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=1298</guid>
		<description><![CDATA[最近Nginx比较火，也比较好奇，于是今天就试着在自己的虚拟机上装了玩玩。 教程基本上是按照网上的教程一步步走来的。 1、下载Nginx 0.7.65 2、编译，这块稍微花了点时间，主要是缺少依赖的库，一个一个去下载安装，建议初学使用可以看这里：http://wiki.nginx.org/NginxInstallOptions 我是用的是CentOS，执行下面的命令： yum install gcc openssl-devel pcre-devel zlib-devel 3、安装完，运行就可以了！注意：apache默认也是80端口，别重了，或者暂时把Apache关掉。 4、配置 stub_status ， 配置之前确定在编译时加载 http_stub_status_module， 否则你就要重新编译了！ 5、配置tomcat集群，现学现用，由于我们目前大部分服务器使用的是tomcat集群。 下载 gnosek-nginx-upstream-fair-2131c73.tar 重新编译，别忘记带上 &#8211;add-module=/home/mikespook/gnosek-nginx-upstream-fair-2131c73 简单的一个Nginx+Tomcat集群就运行起来了！网上配置教程一大堆，我也就自己实践实践，如果不明白可以Google下或者百度下，不行搜狗下，可怜的Google，不，应该是可怜的中国政府！<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>最近Nginx比较火，也比较好奇，于是今天就试着在自己的虚拟机上装了玩玩。</p>
<p>教程基本上是按照网上的教程一步步走来的。</p>
<p>1、下载<a title="http://sysoev.ru/nginx/nginx-0.7.65.tar.gz" rel="nofollow" href="http://sysoev.ru/nginx/nginx-0.7.65.tar.gz">Nginx  0.7.65</a></p>
<p>2、编译，这块稍微花了点时间，主要是缺少依赖的库，一个一个去下载安装，建议初学使用可以看这里：http://wiki.nginx.org/NginxInstallOptions</p>
<blockquote><p>我是用的是CentOS，执行下面的命令：</p>
<pre>yum install gcc openssl-devel pcre-devel zlib-devel
</pre>
</blockquote>
<p>3、安装完，运行就可以了！注意：apache默认也是80端口，别重了，或者暂时把Apache关掉。</p>
<p>4、配置 stub_status ， 配置之前确定在编译时加载 http_stub_status_module， 否则你就要重新编译了！</p>
<p>5、配置tomcat集群，现学现用，由于我们目前大部分服务器使用的是tomcat集群。</p>
<blockquote><p>下载 gnosek-nginx-upstream-fair-2131c73.tar</p>
<p>重新编译，别忘记带上 &#8211;add-module=/home/mikespook/gnosek-nginx-upstream-fair-2131c73</p></blockquote>
<p>简单的一个Nginx+Tomcat集群就运行起来了！网上配置教程一大堆，我也就自己实践实践，如果不明白可以Google下或者百度下，不行搜狗下，可怜的Google，不，应该是可怜的中国政府！</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F&title=Nginx%E8%AF%95%E7%94%A8" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="[10/13周主题] – Apache，Nginx，Tomcat集群" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F04%2F1013-week-subject-apache-nginx-tomcat%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/13周主题] – Apache，Nginx，Tomcat集群</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="通过 nginx 为目录增加用户认证( auth basic)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F09%2F%25E9%2580%259A%25E8%25BF%2587-nginx-%25E4%25B8%25BA%25E7%259B%25AE%25E5%25BD%2595%25E5%25A2%259E%25E5%258A%25A0%25E7%2594%25A8%25E6%2588%25B7%25E8%25AE%25A4%25E8%25AF%2581-auth_basic%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">通过 nginx 为目录增加用户认证( auth basic)</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="[10/21 周主题] – 安装和配置Nginx" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F05%2F1021-week-subject-install-and-config-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">[10/21 周主题] – 安装和配置Nginx</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Notes：通过logrotate进行nginx的日志轮转" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F05%2Fnotes%25EF%25BC%259Alogrotate-nginx%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Notes：通过logrotate进行nginx的日志轮转</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="nginx中location的语法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2010%2F10%2Fnginx%25E4%25B8%25ADlocation%25E7%259A%2584%25E8%25AF%25AD%25E6%25B3%2595%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2010%2F03%2Fnginx-install-for-first-use%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">nginx中location的语法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2010/03/nginx-install-for-first-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>看来又要考虑挪地方了</title>
		<link>http://www.quanlei.com/2009/12/fuck-gfw-too/</link>
		<comments>http://www.quanlei.com/2009/12/fuck-gfw-too/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 13:44:21 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[随记]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[天朝]]></category>
		<category><![CDATA[数据]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[空间]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=1117</guid>
		<description><![CDATA[貌似空间所在的服务器IP被封了, 看起来又要挪地方了！ 唉，在天朝，已经对此见怪不怪了，明天开始备份数据，接下来就是找空间，挪窝。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="都是被GFW逼的" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">都是被GFW逼的</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="服务器换了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E6%258D%25A2%25E4%25BA%2586%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">服务器换了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="将空间迁到了香港空间" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2F%25E5%25B0%2586%25E7%25A9%25BA%25E9%2597%25B4%25E8%25BF%2581%25E5%2588%25B0%25E4%25BA%2586%25E9%25A6%2599%25E6%25B8%25AF%25E7%25A9%25BA%25E9%2597%25B4%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">将空间迁到了香港空间</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="今天在做数据库备份时遇到的两个问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F09%2F%25E4%25BB%258A%25E5%25A4%25A9%25E5%259C%25A8%25E5%2581%259A%25E6%2595%25B0%25E6%258D%25AE%25E5%25BA%2593%25E5%25A4%2587%25E4%25BB%25BD%25E6%2597%25B6%25E9%2581%2587%25E5%2588%25B0%25E7%259A%2584%25E4%25B8%25A4%25E4%25B8%25AA%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">今天在做数据库备份时遇到的两个问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="分享：第三方IP地址查询接口" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fshare-third-part-ip-location-service%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">分享：第三方IP地址查询接口</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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>貌似空间所在的服务器IP被封了, 看起来又要挪地方了！</p>
<p>唉，在天朝，已经对此见怪不怪了，明天开始备份数据，接下来就是找空间，挪窝。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F&title=%E7%9C%8B%E6%9D%A5%E5%8F%88%E8%A6%81%E8%80%83%E8%99%91%E6%8C%AA%E5%9C%B0%E6%96%B9%E4%BA%86" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="都是被GFW逼的" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">都是被GFW逼的</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="服务器换了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E6%258D%25A2%25E4%25BA%2586%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">服务器换了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="将空间迁到了香港空间" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F12%2F%25E5%25B0%2586%25E7%25A9%25BA%25E9%2597%25B4%25E8%25BF%2581%25E5%2588%25B0%25E4%25BA%2586%25E9%25A6%2599%25E6%25B8%25AF%25E7%25A9%25BA%25E9%2597%25B4%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">将空间迁到了香港空间</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="今天在做数据库备份时遇到的两个问题" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F09%2F%25E4%25BB%258A%25E5%25A4%25A9%25E5%259C%25A8%25E5%2581%259A%25E6%2595%25B0%25E6%258D%25AE%25E5%25BA%2593%25E5%25A4%2587%25E4%25BB%25BD%25E6%2597%25B6%25E9%2581%2587%25E5%2588%25B0%25E7%259A%2584%25E4%25B8%25A4%25E4%25B8%25AA%25E9%2597%25AE%25E9%25A2%2598%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">今天在做数据库备份时遇到的两个问题</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="分享：第三方IP地址查询接口" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2011%2F07%2Fshare-third-part-ip-location-service%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">分享：第三方IP地址查询接口</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2009/12/fuck-gfw-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>都是被GFW逼的</title>
		<link>http://www.quanlei.com/2009/11/fuck-gfw/</link>
		<comments>http://www.quanlei.com/2009/11/fuck-gfw/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 15:16:09 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[随记]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[国内]]></category>
		<category><![CDATA[国外]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[服务器]]></category>
		<category><![CDATA[空间]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=927</guid>
		<description><![CDATA[因为国内域名商会在不通知的情况下随时停止域名的解析，以及备案的原因，最近开始将域名往国外的Godaddy上转，但是发现了一个很大很大的问题：GoDaddy域名转向服务器被GFW了，呵呵！无语了。 不过大家都是被GFW逼出来的，有办法我们要用，没有办法我们也要想办法用，这里提供一个方法：通过.htaccess实现GoDaddy域名Apache 301重定向 可以实现转发的功能，具体做法可以参考上面的链接。 首先需要你开通Godaddy赠送的那个免费的空间，教程在这里：Godaddy自带免费10G空间开通完全教程 以后非cn域名坚决不在国内注册了。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="看来又要考虑挪地方了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看来又要考虑挪地方了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="域名成功从国内转出" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fdomains-transfered%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">域名成功从国内转出</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="国外主机也有坏处" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E5%259B%25BD%25E5%25A4%2596%25E4%25B8%25BB%25E6%259C%25BA%25E4%25B9%259F%25E6%259C%2589%25E5%259D%258F%25E5%25A4%2584%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">国外主机也有坏处</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="国外主机服务商的服务" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E5%259B%25BD%25E5%25A4%2596%25E7%259A%2584%25E4%25B8%25BB%25E6%259C%25BA%25E6%259C%258D%25E5%258A%25A1%25E5%2595%2586%25E7%259A%2584%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">国外主机服务商的服务</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="网站又可以访问了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fwebsite-run-again%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">网站又可以访问了</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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><span style="color: #800000;"><span style="font-size: xx-large;">因</span></span>为国内域名商会在不通知的情况下随时停止域名的解析，以及备案的原因，最近开始将域名往国外的Godaddy上转，但是发现了一个很大很大的问题：GoDaddy域名转向服务器被GFW了，呵呵！无语了。</p>
<p>不过大家都是被GFW逼出来的，有办法我们要用，没有办法我们也要想办法用，这里提供一个方法：<a href="http://www.imguangyao.com/archives/270" target="_blank">通过.htaccess实现GoDaddy域名Apache 301重定向</a> 可以实现转发的功能，具体做法可以参考上面的链接。</p>
<p>首先需要你开通Godaddy赠送的那个免费的空间，教程在这里：<a href="http://jomor.org/2009/02/18/setup-godaddy-free-host" target="_blank">Godaddy自带免费10G空间开通完全教程</a></p>
<p>以后非cn域名坚决不在国内注册了。</p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F&title=%E9%83%BD%E6%98%AF%E8%A2%ABGFW%E9%80%BC%E7%9A%84" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="看来又要考虑挪地方了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Ffuck-gfw-too%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">看来又要考虑挪地方了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="域名成功从国内转出" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fdomains-transfered%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">域名成功从国内转出</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="国外主机也有坏处" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E5%259B%25BD%25E5%25A4%2596%25E4%25B8%25BB%25E6%259C%25BA%25E4%25B9%259F%25E6%259C%2589%25E5%259D%258F%25E5%25A4%2584%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">国外主机也有坏处</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="国外主机服务商的服务" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E5%259B%25BD%25E5%25A4%2596%25E7%259A%2584%25E4%25B8%25BB%25E6%259C%25BA%25E6%259C%258D%25E5%258A%25A1%25E5%2595%2586%25E7%259A%2584%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">国外主机服务商的服务</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="网站又可以访问了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F12%2Fwebsite-run-again%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Ffuck-gfw%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">网站又可以访问了</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2009/11/fuck-gfw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>自己大学时的Blog竟然还在运行着</title>
		<link>http://www.quanlei.com/2009/11/old-blog-still-live/</link>
		<comments>http://www.quanlei.com/2009/11/old-blog-still-live/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 10:21:04 +0000</pubDate>
		<dc:creator>小权</dc:creator>
				<category><![CDATA[随记]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[大学]]></category>
		<category><![CDATA[服务器]]></category>

		<guid isPermaLink="false">http://www.quanlei.com/?p=920</guid>
		<description><![CDATA[今天无意中发现了自己大学时的一个blog，竟然还在运行着，突然有一种说不出来的感觉，博客已经被垃圾留言等霸占，会员都近3000了，程序跑在学校的服务器上，看起来好久没人来清理。 用自己常用的密码，进入后台，删除了一些垃圾信息，浏览了一下以前的文章，最后还是关闭了这个博客，防止给学校的服务器造成影响，毕竟是很早的ASP程序，防止有漏洞。截个图，怀旧一下：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="测试下Flock发布Blog" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F05%2F%25E6%25B5%258B%25E8%25AF%2595%25E4%25B8%258Bflock%25E5%258F%2591%25E5%25B8%2583blog%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">测试下Flock发布Blog</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="我的blog终于支持widget啦" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F11%2F%25E6%2588%2591%25E7%259A%2584blog%25E7%25BB%2588%25E4%25BA%258E%25E6%2594%25AF%25E6%258C%2581widget%25E5%2595%25A6%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我的blog终于支持widget啦</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="服务器换了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E6%258D%25A2%25E4%25BA%2586%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">服务器换了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="将你的blog自动生成电子书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F11%2F%25E5%25B0%2586%25E4%25BD%25A0%25E7%259A%2584blog%25E8%2587%25AA%25E5%258A%25A8%25E7%2594%259F%25E6%2588%2590%25E7%2594%25B5%25E5%25AD%2590%25E4%25B9%25A6%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">将你的blog自动生成电子书</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="测试一下window live writer发布Blog" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F02%2F%25E6%25B5%258B%25E8%25AF%2595%25E4%25B8%2580%25E4%25B8%258Bwindow-live-writer%25E5%258F%2591%25E5%25B8%2583blog%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">测试一下window live writer发布Blog</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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><span style="color: #800000;"><span style="font-size: xx-large;">今</span></span>天无意中发现了自己大学时的一个blog，竟然还在运行着，突然有一种说不出来的感觉，博客已经被垃圾留言等霸占，会员都近3000了，程序跑在学校的服务器上，看起来好久没人来清理。</p>
<p>用自己常用的密码，进入后台，删除了一些垃圾信息，浏览了一下以前的文章，最后还是关闭了这个博客，防止给学校的服务器造成影响，毕竟是很早的ASP程序，防止有漏洞。截个图，怀旧一下：</p>
<p><img class="aligncenter size-full wp-image-921" title="screenshot_001" src="http://www.quanlei.com/wp-content/uploads/2009/11/screenshot_001.png" alt="screenshot_001" width="620" height="560" /></p>
<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "http://www.quanlei.com";
        var wumiiEnableCustomPos = false;
        var wumiiParams = "&#038;num=6&#038;mode=3&#038;displayInFeed=1&#038;version=1.0.5.5&#038;pf=WordPress3.3.1";
    //--></script><script type="text/javascript" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script><a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;"><img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" /></a></p>
<p><a href="http://www.bshare.cn/share?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F&title=%E8%87%AA%E5%B7%B1%E5%A4%A7%E5%AD%A6%E6%97%B6%E7%9A%84Blog%E7%AB%9F%E7%84%B6%E8%BF%98%E5%9C%A8%E8%BF%90%E8%A1%8C%E7%9D%80" title="用bShare分享或收藏本文"><img src="http://static.bshare.cn/frame/images/button_custom1-zh.gif" alt="用bShare分享或收藏本文" /></a></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="测试下Flock发布Blog" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F05%2F%25E6%25B5%258B%25E8%25AF%2595%25E4%25B8%258Bflock%25E5%258F%2591%25E5%25B8%2583blog%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">测试下Flock发布Blog</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="我的blog终于支持widget啦" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F11%2F%25E6%2588%2591%25E7%259A%2584blog%25E7%25BB%2588%25E4%25BA%258E%25E6%2594%25AF%25E6%258C%2581widget%25E5%2595%25A6%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">我的blog终于支持widget啦</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="服务器换了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2009%2F08%2F%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E6%258D%25A2%25E4%25BA%2586%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">服务器换了</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="将你的blog自动生成电子书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F11%2F%25E5%25B0%2586%25E4%25BD%25A0%25E7%259A%2584blog%25E8%2587%25AA%25E5%258A%25A8%25E7%2594%259F%25E6%2588%2590%25E7%2594%25B5%25E5%25AD%2590%25E4%25B9%25A6%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">将你的blog自动生成电子书</font>
                    </a>
                </td>
                <td width="116" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="测试一下window live writer发布Blog" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.quanlei.com%2F2008%2F02%2F%25E6%25B5%258B%25E8%25AF%2595%25E4%25B8%2580%25E4%25B8%258Bwindow-live-writer%25E5%258F%2591%25E5%25B8%2583blog%2F&from=http%3A%2F%2Fwww.quanlei.com%2F2009%2F11%2Fold-blog-still-live%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 110px !important; height: 110px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="110px" height="110px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 116px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">测试一下window live writer发布Blog</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" 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.quanlei.com/2009/11/old-blog-still-live/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

