<?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.iewb.net/index.php/qg/category/dn/feed" rel="self" type="application/rss+xml" />
	<link>http://www.iewb.net</link>
	<description>网赚&#124;网络赚钱&#124;网赚项目</description>
	<lastBuildDate>Fri, 03 Feb 2012 02:33:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>用图片隐藏种子文件</title>
		<link>http://www.iewb.net/index.php/qg/3751.html</link>
		<comments>http://www.iewb.net/index.php/qg/3751.html#comments</comments>
		<pubDate>Mon, 26 Dec 2011 16:10:44 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3751</guid>
		<description><![CDATA[　　这是今天刚看到的一个小技巧，其实不但可以隐藏种子文件，也可以隐藏TXT、PDF、js等类型的文件。专门Google了下，发现很久以前就有网友发这样的教程，知道的网友就略过吧。

　　上图是做的一个演示图片，网友保存图片后将后缀jpg改成rar，解压后就是一个种子文件。
　　实现过程：
　　（1）准备好你需要的隐藏的文件，除了种子文件外也可以是txt之类的文件，将文件使用winrar压缩成一个rar压缩包，文件名尽量简单，如aa.rar。
　　（2）准备好一张想要显示的图片，如aa.jpg。不要太大，个人使用一个6MB的图片测试了一下，没有成功，原因未知。
　　（3）将以上两个文件aa.rar与aa.jpg放在同一目录，如D盘根目录，打开CMD窗口切换到D盘，运行如下命令：copy /b aa.jpg+aa.rar mypic.jpg
　　运行完命令后会生成一个名为mypic.jpg的图片格式文件，这就是我们的作品，直接打开显示图片，如果使用winrar打开能解压出你第一步压缩的文件，网友可下载文章中的演示图片看下。
　　个人对Win下的Dos命令不是很熟悉，能够这样实现的原理不是很清楚，个人感觉好玩才专门测试了下。网上大多数文章都是叫《用图片隐藏种子文件》所以启光博客也用了这个标题，其实实现过程不是图片与种子文件绑定，从命令上可以看出是将图片与第一步的rar文件绑定，至于第一步你压缩包内无论是什么都可以实现。
随机文章

2010年11月19日 &#8212; 上海大火纪念
2010年04月4日 &#8212; Google Adwords和PayPal合作推出免费赠送500元广告费
2010年11月18日 &#8212; 博客传奇(二) &#8211; -Matt Cutts
2010年11月25日 &#8212; 驱逐舰杀毒发布资讯互动平台免费版
2011年07月14日 &#8212; 可外链的免费相册(图片外链空间)
2010年04月7日 &#8212; Take it or Leave it
2011年06月1日 &#8212; HotIMG无限容量图片外链空间
2011年03月14日 &#8212; 邪恶的人还挺多 视频上传网站userporn
2011年04月13日 &#8212; AVC2011年4月评测成绩出炉
2010年04月4日 &#8212; 必装的wordpress常用插件

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　这是今天刚看到的一个小技巧，其实不但可以隐藏种子文件，也可以隐藏TXT、PDF、js等类型的文件。专门Google了下，发现很久以前就有网友发这样的教程，知道的网友就略过吧。<span id="more-3751"></span></p>
<p><img alt="" height="632" src="https://public.bay.livefilestore.com/y1ps8YfI2j-lY7sjaxUbjRcA1XKM3sYz_ZRAZ2upEo7mm4W4z1F1aXhN4kHNkhJmhBmsaISZrmTFLnGGFr5XdFBfQ/bb.jpg?psid=1" width="450" /></p>
<p>　　上图是做的一个演示图片，网友保存图片后将后缀jpg改成rar，解压后就是一个种子文件。</p>
<p>　　实现过程：</p>
<p>　　（1）准备好你需要的隐藏的文件，除了种子文件外也可以是txt之类的文件，将文件使用winrar压缩成一个rar压缩包，文件名尽量简单，如aa.rar。</p>
<p>　　（2）准备好一张想要显示的图片，如aa.jpg。不要太大，个人使用一个6MB的图片测试了一下，没有成功，原因未知。</p>
<p>　　（3）将以上两个文件aa.rar与aa.jpg放在同一目录，如D盘根目录，打开CMD窗口切换到D盘，运行如下命令：copy /b aa.jpg+aa.rar mypic.jpg</p>
<p>　　运行完命令后会生成一个名为mypic.jpg的图片格式文件，这就是我们的作品，直接打开显示图片，如果使用winrar打开能解压出你第一步压缩的文件，网友可下载文章中的演示图片看下。</p>
<p>　　个人对Win下的Dos命令不是很熟悉，能够这样实现的原理不是很清楚，个人感觉好玩才专门测试了下。网上大多数文章都是叫《用图片隐藏种子文件》所以启光博客也用了这个标题，其实实现过程不是图片与种子文件绑定，从命令上可以看出是将图片与第一步的rar文件绑定，至于第一步你压缩包内无论是什么都可以实现。</p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2011年01月2日 &#8212; <a href="http://www.iewb.net/index.php/qg/2775.html" title="一天可做到支付的英文调查网站dailysurveypanel">一天可做到支付的英文调查网站dailysurveypanel</a></li>
<li>2010年03月3日 &#8212; <a href="http://www.iewb.net/index.php/qg/741.html" title="wordpress垃圾评论插件Akismet安装使用">wordpress垃圾评论插件Akismet安装使用</a></li>
<li>2010年10月31日 &#8212; <a href="http://www.iewb.net/index.php/qg/1952.html" title="酷狗音乐盒 For Chrome">酷狗音乐盒 For Chrome</a></li>
<li>2011年10月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3573.html" title="23套WordPress精品企业站主题/模板">23套WordPress精品企业站主题/模板</a></li>
<li>2011年10月10日 &#8212; <a href="http://www.iewb.net/index.php/qg/3565.html" title="14天免费VPS&#8211;Cloudee.eu">14天免费VPS&#8211;Cloudee.eu</a></li>
<li>2011年06月3日 &#8212; <a href="http://www.iewb.net/index.php/qg/3390.html" title="Adf.ly短网址与PTC网站结合赚钱的可行性分析">Adf.ly短网址与PTC网站结合赚钱的可行性分析</a></li>
<li>2010年03月18日 &#8212; <a href="http://www.iewb.net/index.php/qg/913.html" title="谷歌(google.cn)退出后怎么使用google进行搜索">谷歌(google.cn)退出后怎么使用google进行搜索</a></li>
<li>2011年09月19日 &#8212; <a href="http://www.iewb.net/index.php/qg/3495.html" title="免费获得小红伞v12版授权序号">免费获得小红伞v12版授权序号</a></li>
<li>2010年01月27日 &#8212; <a href="http://www.iewb.net/index.php/qg/215.html" title="中国拍不出《阿凡达》不全是导演的错">中国拍不出《阿凡达》不全是导演的错</a></li>
<li>2010年09月10日 &#8212; <a href="http://www.iewb.net/index.php/qg/1756.html" title="推荐：Avast!专业版、网络安全套装有效授权文件">推荐：Avast!专业版、网络安全套装有效授权文件</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3751.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>去优酷片头广告不黑屏的方法</title>
		<link>http://www.iewb.net/index.php/qg/3746.html</link>
		<comments>http://www.iewb.net/index.php/qg/3746.html#comments</comments>
		<pubDate>Sat, 24 Dec 2011 16:36:50 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[去广告]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3746</guid>
		<description><![CDATA[　　之前博客中发布的和网络上流传的Hosts去广告方法对优酷来说已经失效好久了，在优酷调整广告策略后虽然hosts还能有效把广告挡住，不过会看到长达30秒的黑屏，这样还不如让它显示广告可爱些，先上一图：

　　使用hosts去优酷广告的童鞋对于上面的图片不应该陌生吧？
　　临时解决方案：
　　进入YouKu网站，随便打开一个视频，当视频开始播放的时候在播放页面右键会出现一个Flash的选择项，点击全局设置，
　　
　　
　　按上面两幅图片设置完成后重新打开视频就会发现黑屏没有了，这两步只需点下鼠标即可，非常简单。不过持续时间可能较短，可能一天或者几天后，当广告内容重新缓存到本地时黑屏还会出现。
　　解决方法二：
　　WinXP:&#160;&#160;C:\Documents and Settings\用户名\Application Data\Macromedia\Flash Player\#SharedObjects\DXGB5Y7G(后面可能不固定)
	　　Win7 &#160;:&#160;C:\Users\你的当前用户\AppData\Roaming\Macromedia\Flash Player\#SharedObjects
　　在上面目录内找到名为static.youku.com的文件夹，清空然后设置为只读，也可以删除static.youku.com目录再新建个同名目录，设置为只读权限。
　　Linux操作系统目录为：/home/用户名//home/qiguang/.adobe/Flash_Player/AssetCache/3KFZE7XL(最后一个目录不固定)
　　将3KFZE7XL清空后去除写权限，也可以删除后再新建同名文件，然后去除写权限。个人测试将AssetCache下的文件夹删除然后给AssetCache设置权限也可以，推荐用这种方法。
　　如果还不生效，在home目录搜索*youku.com，一般目录是/home/qiguang/.macromedia/Flash_Player/#SharedObjects，将此目录设置为只读试试。
　　Win系统下设置目录权限去除黑屏是在YlmF论坛看到的一个贴子，个人没有测试，不过看网友反馈应该是效果不错，因为个人使用Linux系统，所以查找到Linux系统下Flash的缓存目录，去除权限后没想到还真有效。
相关文章

2011年03月1日 &#8212; 皮皮影音去广告补丁V2.2
2011年02月20日 &#8212; 修改Hosts去优酷，土豆视频网站广告

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　之前博客中发布的和网络上流传的<a href="http://www.iewb.net/index.php/qg/2909.html" target="_blank">Hosts去广告方法</a>对优酷来说已经失效好久了，在优酷调整广告策略后虽然hosts还能有效把广告挡住，不过会看到长达30秒的黑屏，这样还不如让它显示广告可爱些，先上一图：<span id="more-3746"></span></p>
<p><img alt="" height="210" longdesc="去优酷广告不黑屏" src="https://public.bay.livefilestore.com/y1pZjenDS3fDUAyKTHilqRfFunDuOMDi2yxyJgdn4FOCtyq4yqVEngeZ_9uduZqMbQGQY7iucXwvDvOsc5XSYKH9g/youkuad2.png?psid=1" width="450" /></p>
<p>　　使用hosts去优酷广告的童鞋对于上面的图片不应该陌生吧？</p>
<p>　　临时解决方案：</p>
<p>　　进入YouKu网站，随便打开一个视频，当视频开始播放的时候在播放页面右键会出现一个Flash的选择项，点击全局设置，</p>
<p>　　<img alt="" height="403" src="https://public.bay.livefilestore.com/y1pcXH5qXy_DfV2WMB2AncuyUsLQy3vilqYhuPa5MfC-mq1-S6r9LWYM55IkGj5RpF8mV7egKKbUrcsRcmXvzfNkg/youkuad3.png?psid=1" width="450" /></p>
<p>　　<img alt="" height="394" src="https://public.bay.livefilestore.com/y1pcXH5qXy_DfWuWHWwMqjC4D2poIxc2LpMLHcEWziWYLqsr0aWLxK3asS-lNgb427oMT0bl8JPcduWnKovVjDPKA/youkuad4.png?psid=1" width="450" /></p>
<p>　　按上面两幅图片设置完成后重新打开视频就会发现黑屏没有了，这两步只需点下鼠标即可，非常简单。不过持续时间可能较短，可能一天或者几天后，当广告内容重新缓存到本地时黑屏还会出现。</p>
<p><span style="color:#f00;"><span style="font-size:14px;">　　解决方法二：</span></span></p>
<p>　　WinXP:&nbsp;&nbsp;C:\Documents and Settings\用户名\Application Data\Macromedia\Flash Player\#SharedObjects\DXGB5Y7G(后面可能不固定)<br />
	　　Win7 &nbsp;:&nbsp;C:\Users\你的当前用户\AppData\Roaming\Macromedia\Flash Player\#SharedObjects</p>
<p>　　在上面目录内找到名为static.youku.com的文件夹，清空然后设置为只读，也可以删除static.youku.com目录再新建个同名目录，设置为只读权限。</p>
<p>　　Linux操作系统目录为：/home/用户名//home/qiguang/.adobe/Flash_Player/AssetCache/3KFZE7XL(最后一个目录不固定)</p>
<p>　　将3KFZE7XL清空后去除写权限，也可以删除后再新建同名文件，然后去除写权限。个人测试将AssetCache下的文件夹删除然后给AssetCache设置权限也可以，推荐用这种方法。</p>
<p>　　如果还不生效，在home目录搜索*youku.com，一般目录是/home/qiguang/.macromedia/Flash_Player/#SharedObjects，将此目录设置为只读试试。</p>
<p>　　Win系统下设置目录权限去除黑屏是在YlmF论坛看到的一个贴子，个人没有测试，不过看网友反馈应该是效果不错，因为个人使用Linux系统，所以查找到Linux系统下Flash的缓存目录，去除权限后没想到还真有效。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年03月1日 &#8212; <a href="http://www.iewb.net/index.php/qg/2982.html" title="皮皮影音去广告补丁V2.2">皮皮影音去广告补丁V2.2</a></li>
<li>2011年02月20日 &#8212; <a href="http://www.iewb.net/index.php/qg/2909.html" title="修改Hosts去优酷，土豆视频网站广告">修改Hosts去优酷，土豆视频网站广告</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3746.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>干掉Nouveau安装Linux Nvidia显卡驱动</title>
		<link>http://www.iewb.net/index.php/qg/3717.html</link>
		<comments>http://www.iewb.net/index.php/qg/3717.html#comments</comments>
		<pubDate>Wed, 23 Nov 2011 01:42:19 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux Nvidia显卡驱动]]></category>
		<category><![CDATA[Nouveau]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3717</guid>
		<description><![CDATA[　　首先说明下什么是Nouveau，为什么有些系统安装N卡驱动的时候会提示&#8220;ERROR: The Nouveau kernel driver is currently in use by your system.&#160;This
	&#160; driver is incompatible with the NVIDIA driver&#8230;&#8230;&#8221;之类的错误。
　　Nouveau是由第三方为NVIDIA显卡开发的一个开源3D驱动，也没能得到NVIDIA的认可与支持。虽然Nouveau Gallium3D在游戏速度上还远远无法和NVIDIA官方私有驱动相提并论，不过确让Linux更容易的应对各种复杂的NVIDIA显卡环境，让用户安装完系统即可进入桌面并且有不错的显示效果，所以，很多Linux发行版默认集成了Nouveau驱动，在遇到NVIDIA显卡时默认安装。企业版的Linux更是如此，几乎所有支持图形界面的企业Linux发行版都将Nouveau收入其中。
　　不过对于个人桌面用户来说，处于成长阶段的Nouveau并不完美，与企业版不一样，个人用户除了想让正常显示图形界面外很多时候还需要一些3D特效，Nouveau多数时候并不能完成，而用户在安装NVIDIA官方私有驱动的时候Nouveau又成为了阻碍，不干掉Nouveau安装时总是报错。报错提示见文第一段。
　　一般安装Linux显卡驱动的步骤是:

(1)下载合适的驱动，无论是NVIDA还是ATI都推荐去官方下载
		(2)如果下载的是源码文件则需要编译安装，不过现在官方提供的Linux显卡驱动多是以.run为后缀的，这种直接在命令行中 ./softname.run 运行即可安装。
		(3)一般在操作第二步的时候会提示让你关闭X window，如下图：

进入命令行模式Kill掉gdm或kde再安装一般就无问题，而安装Nouveau的NVDIA显卡机器还多了一个步骤就是需要关闭Nouveau，这也就是本文要解决的问题。

　　以下是关闭Nouveau并且安装Nvidia显卡驱动的步骤：
　　(1)把驱动加入黑名单
　　编辑 /etc/modprobe.d/blacklist.conf ，在文件后面加入blacklist nouveau&#160;
　　(2)root用户下运行如下两条命令：

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak
		dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
以上两条命令分别是备份与重建initramfs,如果你的Linux是debian或ubuntu系统运行命令时需要sudo。

　　(3)重启系统至init 3（文本模式），也可先进入图形桌面再运行init 3进入文本模式，再安装下载的驱动就无问题，安装命令示例：

./NVIDIA-Linux-x86-285.05.09.run

　　安装过程根据提示完成即可。当然在安装之前你也可以先确认下Nouveau是已经被你干掉，使用命令：&#160;lsmod &#124; grep nouveau

	　　安装完成后重启系统即可设置你的桌面效果了。并且在系统&#8211;首选项还有了NVIDIA X Server Settings的选择项。



　　当 Linux 内核启动系统时，必须找到一个根文件系统，方能成功开机，而这个文件就是init，init的PID进程恒为1。启运过程中init紧随内核，用于引导其它主程序完成开机。建议查看下有关initramfs的资料，这样便于理解为什么安装个显卡驱动还是生成(编译)initramfs。
相关文章

2011年12月14日 &#8212; Linux VPN添加的按钮是灰色解决方案
2011年12月11日 &#8212; Redhat认证RHCE视频教程+RHCE试题汇总
2011年11月14日 &#8212; 硬盘安装RedHat Enterprise Linux 6
2011年10月25日 [...]]]></description>
			<content:encoded><![CDATA[<p>　　首先说明下什么是Nouveau，为什么有些系统安装N卡驱动的时候会提示&ldquo;ERROR: The Nouveau kernel driver is currently in use by your system.&nbsp;This<br />
	&nbsp; driver is incompatible with the NVIDIA driver&#8230;&#8230;&rdquo;之类的错误。<span id="more-3717"></span></p>
<p>　　Nouveau是由第三方为NVIDIA显卡开发的一个开源3D驱动，也没能得到NVIDIA的认可与支持。虽然Nouveau Gallium3D在游戏速度上还远远无法和NVIDIA官方私有驱动相提并论，不过确让Linux更容易的应对各种复杂的NVIDIA显卡环境，让用户安装完系统即可进入桌面并且有不错的显示效果，所以，很多Linux发行版默认集成了Nouveau驱动，在遇到NVIDIA显卡时默认安装。企业版的Linux更是如此，几乎所有支持图形界面的企业Linux发行版都将Nouveau收入其中。</p>
<p>　　不过对于个人桌面用户来说，处于成长阶段的Nouveau并不完美，与企业版不一样，个人用户除了想让正常显示图形界面外很多时候还需要一些3D特效，Nouveau多数时候并不能完成，而用户在安装NVIDIA官方私有驱动的时候Nouveau又成为了阻碍，不干掉Nouveau安装时总是报错。报错提示见文第一段。</p>
<p>　<strong><span style="font-size:14px;">　一般安装Linux显卡驱动的步骤是</span></strong>:</p>
<blockquote>
<p>(1)下载合适的驱动，无论是NVIDA还是ATI都推荐去官方下载<br />
		(2)如果下载的是源码文件则需要编译安装，不过现在官方提供的Linux显卡驱动多是以.run为后缀的，这种直接在命令行中 ./softname.run 运行即可安装。<br />
		(3)一般在操作第二步的时候会提示让你关闭X window，如下图：</p>
<p><img alt="" height="304" longdesc="Linux安装显卡驱动" src="https://byfiles.storage.live.com/y1pkLIYaRjQ1Q-GqhXyjLDwTkq7i55G368KfAqH83KQxqy636BDo4LZRDd2FNmGVWlPaCie4loK84o/X_window_NvidaScreenshot.png?psid=1" width="450" /></p>
<p>进入命令行模式Kill掉gdm或kde再安装一般就无问题，而安装Nouveau的NVDIA显卡机器还多了一个步骤就是需要关闭Nouveau，这也就是本文要解决的问题。</p>
</blockquote>
<p>　<strong><span style="font-size:14px;">　以下是关闭Nouveau并且安装Nvidia显卡驱动的步骤</span></strong>：</p>
<p>　　(1)把驱动加入黑名单</p>
<p>　　编辑 /etc/modprobe.d/blacklist.conf ，在文件后面加入blacklist nouveau&nbsp;</p>
<p>　　(2)root用户下运行如下两条命令：</p>
<blockquote>
<p>mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak<br />
		dracut -v /boot/initramfs-$(uname -r).img $(uname -r)</p>
<div>以上两条命令分别是备份与重建initramfs,如果你的Linux是debian或ubuntu系统运行命令时需要sudo。</div>
</blockquote>
<div>　　(3)重启系统至init 3（文本模式），也可先进入图形桌面再运行init 3进入文本模式，再安装下载的驱动就无问题，安装命令示例：</div>
<blockquote>
<div>./NVIDIA-Linux-x86-285.05.09.run</div>
</blockquote>
<div>　　安装过程根据提示完成即可。当然在安装之前你也可以先确认下Nouveau是已经被你干掉，使用命令：&nbsp;lsmod | grep nouveau</div>
<div>
	　　安装完成后重启系统即可设置你的桌面效果了。并且在系统&#8211;首选项还有了NVIDIA X Server Settings的选择项。</div>
<blockquote>
<div><img alt="" height="259" longdesc="安装Linux显卡驱动" src="https://byfiles.storage.live.com/y1pHYeWA2E0kQ1oLPfhtMkLZSGcKW6EH2yA0ftxcOu496YnDr6apOdWIJkUatN-9VCWimeL431Zd6k/NVIDA_Screenshot.png?psid=1" width="450" /></div>
</blockquote>
<div>　　当 Linux 内核启动系统时，必须找到一个根文件系统，方能成功开机，而这个文件就是init，init的PID进程恒为1。启运过程中init紧随内核，用于引导其它主程序完成开机。建议查看下有关initramfs的资料，这样便于理解为什么安装个显卡驱动还是生成(编译)initramfs。</div>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年12月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3727.html" title="Linux VPN添加的按钮是灰色解决方案">Linux VPN添加的按钮是灰色解决方案</a></li>
<li>2011年12月11日 &#8212; <a href="http://www.iewb.net/index.php/qg/3723.html" title="Redhat认证RHCE视频教程+RHCE试题汇总">Redhat认证RHCE视频教程+RHCE试题汇总</a></li>
<li>2011年11月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3683.html" title="硬盘安装RedHat Enterprise Linux 6">硬盘安装RedHat Enterprise Linux 6</a></li>
<li>2011年10月25日 &#8212; <a href="http://www.iewb.net/index.php/qg/3671.html" title="让本地测试环境支持WordPress自定义固定链接">让本地测试环境支持WordPress自定义固定链接</a></li>
<li>2011年10月24日 &#8212; <a href="http://www.iewb.net/index.php/qg/3648.html" title="Ubuntu(Linux）平台经典游戏推荐">Ubuntu(Linux）平台经典游戏推荐</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3717.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>自制V**P*N登录器</title>
		<link>http://www.iewb.net/index.php/qg/3712.html</link>
		<comments>http://www.iewb.net/index.php/qg/3712.html#comments</comments>
		<pubDate>Thu, 17 Nov 2011 13:49:10 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[登录器]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3712</guid>
		<description><![CDATA[　　首先声明下，这是我们Google Reader中的一篇文章，感觉挺新鲜所以分享给网友，对于一般网友来说可能用处不是很大，毕竟使用Win系统创建V**P*N连接是人都会。可能对专门提供V**P*N服务的公司或工作站还有些用处，普通网友如果不知道或者感觉好玩可以测试下。
　　（1）新建一个TXT文件，重命名，文件名随便，后缀改为.pbk,如改为v**p*n.pbk,如下图

　　注意将后缀名改成PBK，如果你看到不后缀名(TXT)，请打开我的电脑&#8211;工具&#8211;文件夹选项&#8211;查看，将隐藏已知文件扩展名前面的对号点去。
　　（2）打开新建的v**p*n.pbk，会弹出警告窗口，点击确定，然后会出现新建连接向导，

　　（3）&#160;输入你的V**P*N服务器的IP地址，如下图：

　　注意：如果是拨号连接的话还有个提示会询问是否初使化链接，选择否就行。
　　（4）输入新建连接的名字，可以随便填，也可以选择默认的虚拟专用连接，为节省书写时间就不截图了，完成后打开你桌面上新建的连接，会出现以下图片：


　　在上图中输入你V**P*N的用户名和密码即可。
　　到此，专用的V**P*N登录器做好了，你可以发送给你的朋友或发布，用户名和密码不会存储，只会保存你第三步的IP或域名，方便网站或V-**P*N提供商发布给不会设置的低能网友。
　　注：此VPN登录器可在WINXP、WIN2003、WIN7等系统上使用
　　这是我GoogleReader中看到的一篇文章，文中注的原文出处为：http://wonon.net/?p=226001。
随机文章

2010年05月14日 &#8212; 站长不等于宅男　网站应是孩子
2011年03月30日 &#8212; 最近新开PTC站tbmbux/homebux
2010年01月28日 &#8212; godaddy免费空间与免费邮箱的申请
2011年01月22日 &#8212;  videobb上传视频赚钱
2011年01月24日 &#8212; 埃尔贝(AIP Survey)&#8211;日本在线问卷调查
2010年04月8日 &#8212; 38个常用wordpress插件介绍
2010年04月23日 &#8212; GoDaddy主机iis相关设置教程(重启地址池)
2010年02月25日 &#8212; 盘点2010正版杀毒软件免费午餐
2010年01月29日 &#8212; 免费8G海外空间（asp,php）[已不可用]
2010年05月18日 &#8212; 趋势科技网络安全专家2010 (TIS2010)全功能半年免费

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　首先声明下，这是我们Google Reader中的一篇文章，感觉挺新鲜所以分享给网友，对于一般网友来说可能用处不是很大，毕竟使用Win系统创建V**P*N连接是人都会。可能对专门提供V**P*N服务的公司或工作站还有些用处，普通网友如果不知道或者感觉好玩可以测试下。<span id="more-3712"></span></p>
<p>　　（1）新建一个TXT文件，重命名，文件名随便，后缀改为.pbk,如改为v**p*n.pbk,如下图</p>
<p style="text-align: center;"><font class="Apple-style-span" color="#000000" face="Simsun" size="3"><img alt="" height="76" src="https://byfiles.storage.live.com/y1peglfE0r2OIC0VXdQyiwxxbDJoCoXX4EKloFydbivX2wOydm-kKdoqdDYdfG8S7EB6U3uF1H4ChE/v1125p5n.jpg?psid=1" width="86" /></font></p>
<p>　　注意将后缀名改成PBK，如果你看到不后缀名(TXT)，请打开<em>我的电脑&#8211;工具&#8211;文件夹选项&#8211;查看</em>，将隐藏已知文件扩展名前面的对号点去。</p>
<p>　　（2）打开新建的v**p*n.pbk，会弹出警告窗口，点击确定，然后会出现新建连接向导，</p>
<p style="text-align: center; "><img alt="" height="387" src="https://byfiles.storage.live.com/y1piTCNvuAM3Ofwp2SIMSTWadblGJIIgFdKFJSJkSJ5mhQnZqnROZFcDWtIoWWYJ7Jnb5Lg4LKTj3I/xinjljie.jpeg?psid=1" width="503" /></p>
<p>　　（3）&nbsp;输入你的V**P*N服务器的IP地址，如下图：</p>
<p style="text-align: center; "><img alt="" height="380" src="https://byfiles.storage.live.com/y1pFYKheKbotHUGuwVPuSiCvdTLw_dxAKW1sqtCCbNabd9Q5C6GFGFL3vy8l9uaN48TUgnxUHVx_Ak/vpnxiangdao.jpg?psid=1" width="503" /></p>
<p>　　注意：如果是拨号连接的话还有个提示会询问是否初使化链接，选择否就行。</p>
<p>　　（4）输入新建连接的名字，可以随便填，也可以选择默认的<em>虚拟专用连接</em>，为节省书写时间就不截图了，完成后打开你桌面上新建的连接，会出现以下图片：</p>
<p style="text-align: center; "><img alt="" height="132" src="https://byfiles.storage.live.com/y1p7aX9LND1YdAj01B_UNBtFfH0jzsn9g4ZMBYeZv4twPFEgqj8WUJoIcnE5KoczwTBu42jcxjakYQ/xunizhuangyong.jpg?psid=1" width="352" /></p>
<p style="text-align: center; "><img alt="" height="369" src="https://byfiles.storage.live.com/y1p7aX9LND1YdDsE1DWA75jVlHoFriwUeWEOIwJD9xERD7wRwPeXUx-EGctj7zFQFFCGX7aEEWja8I/bohao.jpg?psid=1" width="347" /></p>
<p>　　在上图中输入你V**P*N的用户名和密码即可。</p>
<p>　　到此，专用的V**P*N登录器做好了，你可以发送给你的朋友或发布，用户名和密码不会存储，只会保存你第三步的IP或域名，方便网站或V-**P*N提供商发布给不会设置的低能网友。</p>
<p>　　注：此VPN登录器可在WINXP、WIN2003、WIN7等系统上使用</p>
<p style="display: inline !important; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Simsun; font-size: medium; ">　　这是我GoogleReader中看到的一篇文章，文中注的原文出处为：http://wonon.net/?p=226001。</span></p>
<h3>随机文章</h3>
<ul class="related_post">
<li>2010年04月12日 &#8212; <a href="http://www.iewb.net/index.php/qg/1060.html" title="免费获得正版ESET NOD32安全套装激活码">免费获得正版ESET NOD32安全套装激活码</a></li>
<li>2010年02月7日 &#8212; <a href="http://www.iewb.net/index.php/qg/534.html" title="谷歌Google Chrome体验">谷歌Google Chrome体验</a></li>
<li>2010年06月25日 &#8212; <a href="http://www.iewb.net/index.php/qg/1479.html" title="Chrome浏览器Tor+Switchy!应用">Chrome浏览器Tor+Switchy!应用</a></li>
<li>2011年12月27日 &#8212; <a href="http://www.iewb.net/index.php/qg/3751.html" title="用图片隐藏种子文件">用图片隐藏种子文件</a></li>
<li>2010年01月27日 &#8212; <a href="http://www.iewb.net/index.php/qg/240.html" title="邮箱Outlook Express 客户端设置">邮箱Outlook Express 客户端设置</a></li>
<li>2010年01月27日 &#8212; <a href="http://www.iewb.net/index.php/qg/233.html" title="百度因被黑控告Register">百度因被黑控告Register</a></li>
<li>2010年01月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/61.html" title="工信部对域名领域严管管制">工信部对域名领域严管管制</a></li>
<li>2010年04月3日 &#8212; <a href="http://www.iewb.net/index.php/qg/1006.html" title="技术与炒作,金山vs360">技术与炒作,金山vs360</a></li>
<li>2010年12月28日 &#8212; <a href="http://www.iewb.net/index.php/qg/2753.html" title="国外调查网站DailySurveys4u操作指南">国外调查网站DailySurveys4u操作指南</a></li>
<li>2010年01月31日 &#8212; <a href="http://www.iewb.net/index.php/qg/342.html" title="国内1G全能空间申请">国内1G全能空间申请</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3712.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>构建RHEL6本地源与使用第三方源教程</title>
		<link>http://www.iewb.net/index.php/qg/3701.html</link>
		<comments>http://www.iewb.net/index.php/qg/3701.html#comments</comments>
		<pubDate>Tue, 15 Nov 2011 07:07:54 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[RedHat Enterprise Linux]]></category>
		<category><![CDATA[RHEL 6]]></category>
		<category><![CDATA[本地源]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3701</guid>
		<description><![CDATA[　　RedHat每次发行新版本都会改变一些用户的使用习惯，这次也不例外，RedHat Enterprise Linux 6除了安装过程与以往稍微不同外，构建本地源也有一些变动，对于Linux老手来说配置不成问题，但刚刚接触RedHat新手如果参考RHEL5的教程就很难配置成功。

　　RHEL 6构建本地源教程：
　　（1）把安装系统用的镜像文件解压到一个目录，我是解压到/home/yum下
	　　（2）进入/etc/yum.repos.d/建立本地源local.repo，命令：

gedit&#160;/etc/yum.repos.d/local.repo

　　local.repo中的内容如下：

[local_yum_source]
		name=my_local_source
		baseurl=file:///home/yum/
		gpgcheck=0
		enable=1
		gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta

　　（3）编辑/usr/lib/python2.6/site-packages/yum/yumRepo.py这个文件，命令：

gedit //usr/lib/python2.6/site-packages/yum/yumRepo.py

　　将文件中的

remote = url + &#39;/&#39; + relative

　　修改成

remote = url + &#39;/home/yum/&#39; + relative

　　注意：这时如果测试终端会提示找不到repodata/repomd.xml，这也是RHEL 6配置本地源与以前版本不同的地方。这时进入你存放源文件的目录（/home/yum），将Server目录下的repodata目录整个复制到yum主目录中即可
然后终端运行如下命令测试是否正常：

yum clean all
		yum list
		yum grouplist
		yum makecache

　　除了使用yum测试外，系统自带的软件管理工具如果正常也说明配置无误，正常情况下软件管理工具如下图：

	
　　RHEL 6使用第三方源&#8211;网易源
　　使用Linux软件仓库（源）是必不可少的，RadHat更是如此，因为RadHat的RHN服务是收费的，所以想正常使用RadHat必须配置一个可用的源，除了本地源外，国内的网易与搜狐也提供linux软件更新服务，教程以配置使用网易CentOS源为例。
　　（1）进入/etc/yum.repos.d/目录下载repo文件：

wget &#160;http://mirrors.163.com/.help/CentOS6-Base-163.repo

　　（2）编辑：

gedit CentOS6-Base-163.repo

　　把文件里面的$releasever全部替换为版本号，我是RHEL 6就把$releasever全部替换成6。
　　运行如下代码测试：

yum clean all
		yum makecache &#160; &#160; #将服务器上的软件包信息缓存到本地,以提高搜索安装软件的速度
		yum install vsftpd* &#160; &#160;#测试是否可用

相关文章

2011年11月14日 &#8212; 硬盘安装RedHat Enterprise Linux 6
2011年12月14日 &#8212; Linux VPN添加的按钮是灰色解决方案

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　RedHat每次发行新版本都会改变一些用户的使用习惯，这次也不例外，RedHat Enterprise Linux 6除了安装过程与以往稍微不同外，构建本地源也有一些变动，对于Linux老手来说配置不成问题，但刚刚接触RedHat新手如果参考RHEL5的教程就很难配置成功。<span id="more-3701"></span></p>
<p style="text-align: center; "><img alt="" height="150" src="https://byfiles.storage.live.com/y1psyd9JATW_WxzJDrsNf9C9_rhGbeHnnGaT51nfKLSonkcvfZVL2KkE7D5ZhkWBsAEcS2qVESeVio/3294383127423296844.jpg?psid=1" width="450" /></p>
<p><strong><span style="font-size:14px;">　　<a href="http://www.iewb.net/index.php/qg/3701.html">RHEL 6构建本地源教程</a>：</span></strong></p>
<p>　　（1）把安装系统用的镜像文件解压到一个目录，我是解压到/home/yum下<br />
	　　（2）进入/etc/yum.repos.d/建立本地源local.repo，命令：</p>
<blockquote>
<p>gedit&nbsp;/etc/yum.repos.d/local.repo</p>
</blockquote>
<p>　　local.repo中的内容如下：</p>
<blockquote>
<p>[local_yum_source]<br />
		name=my_local_source<br />
		baseurl=file:///home/yum/<br />
		gpgcheck=0<br />
		enable=1<br />
		gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta</p>
</blockquote>
<p>　　（3）编辑/usr/lib/python2.6/site-packages/yum/yumRepo.py这个文件，命令：</p>
<blockquote>
<p>gedit //usr/lib/python2.6/site-packages/yum/yumRepo.py</p>
</blockquote>
<p>　　将文件中的</p>
<blockquote>
<p>remote = url + &#39;/&#39; + relative</p>
</blockquote>
<p>　　修改成</p>
<blockquote>
<p>remote = url + &#39;/home/yum/&#39; + relative</p>
</blockquote>
<p>　　注意：这时如果测试终端会提示找不到repodata/repomd.xml，这也是RHEL 6配置本地源与以前版本不同的地方。这时进入你存放源文件的目录（/home/yum），将Server目录下的repodata目录整个复制到yum主目录中即可</p>
<p>然后终端运行如下命令测试是否正常：</p>
<blockquote>
<p>yum clean all<br />
		yum list<br />
		yum grouplist<br />
		yum makecache</p>
</blockquote>
<p><strong><span style="font-size:14px;">　　</span></strong><span style="font-size:12px;">除了使用yum测试外，系统自带的软件管理工具如果正常也说明配置无误，正常情况下软件管理工具如下图：</span></p>
<p style="text-align: center; "><strong><span style="font-size:14px;"><img alt="" height="237" src="https://byfiles.storage.live.com/y1ph0_lEAW0s6OPrw0LhhRZaJphnITnyN5EiTPAPSgpkryQBnw4mkiRabOPrIV9hs6XRMaETEIDz8Q/Screenshot.png?psid=1" width="450" /><br />
	</span></strong></p>
<p><strong><span style="font-size:14px;">　　<a href="http://www.iewb.net/index.php/qg/3701.html">RHEL 6使用第三方源&#8211;网易源</a></span></strong></p>
<p>　　使用Linux软件仓库（源）是必不可少的，RadHat更是如此，因为RadHat的RHN服务是收费的，所以想正常使用RadHat必须配置一个可用的源，除了本地源外，国内的网易与搜狐也提供linux软件更新服务，教程以配置使用网易CentOS源为例。</p>
<p>　　（1）进入/etc/yum.repos.d/目录下载repo文件：</p>
<blockquote>
<p>wget &nbsp;http://mirrors.163.com/.help/CentOS6-Base-163.repo</p>
</blockquote>
<p>　　（2）编辑：</p>
<blockquote>
<p>gedit CentOS6-Base-163.repo</p>
</blockquote>
<p>　　把文件里面的$releasever全部替换为版本号，我是RHEL 6就把$releasever全部替换成6。</p>
<p>　　运行如下代码测试：</p>
<blockquote>
<p>yum clean all<br />
		yum makecache &nbsp; &nbsp; #将服务器上的软件包信息缓存到本地,以提高搜索安装软件的速度<br />
		yum install vsftpd* &nbsp; &nbsp;#测试是否可用</p>
</blockquote>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年11月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3683.html" title="硬盘安装RedHat Enterprise Linux 6">硬盘安装RedHat Enterprise Linux 6</a></li>
<li>2011年12月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3727.html" title="Linux VPN添加的按钮是灰色解决方案">Linux VPN添加的按钮是灰色解决方案</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3701.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>硬盘安装RedHat Enterprise Linux 6</title>
		<link>http://www.iewb.net/index.php/qg/3683.html</link>
		<comments>http://www.iewb.net/index.php/qg/3683.html#comments</comments>
		<pubDate>Mon, 14 Nov 2011 09:25:58 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[RedHat Enterprise Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3683</guid>
		<description><![CDATA[　　红帽在11月10日发布了其企业级Linux，RedHat Enterprise Linux 6的正式版，一直没有测试。前几天一个客户的孩子(上大一，Linux零基础)想学LInux，准备考RHCE，让我帮忙给他装系统，正好体验了一下。因为RedHat Enterprise Linux 6本地硬盘安装与之前版本变动较大，所以将安装做成教程如下：

　

　环境：
	　　(1)一台配置不错的台式机
	　　(2)机器上正常运行着XP系统
	　　(3有一个下载好的ISO文件和一个刻好的Linux 6光盘，不过电脑没光驱，而且下载好的镜像文件也在另一台电脑
　　可能他准备把另一台电脑的光驱拆了在这台使用，所以刻好一张Linux 6光盘，不过拆光驱太麻烦，所以我是使用的硬盘安装。教程看着挺长，其实就是解压文件与编辑好menu.lst就行了，其它的是为了便于理解做的一些说明。
　　准备条件：
	　　(1)RedHat Enterprise Linux 6安装镜像 &#160; &#160; &#160; &#160; &#160; &#160;下载见文章末尾
	　　(2)grub文件(用于引导安装) &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;下载&#160;&#160;
	　　(3)WinGrub(安装前查询盘符，有经验的网友可不用) &#160;下载
	　　安装过程：
	　　(1)将RedHat的ISO文件放在任意一个Fat32分区的盘符内，RedHat以前的版本都不支持NTFS分区，RedHat我没有测试，网上有资料说还是不支持，这个我没有验证，我直接把文件放在了Fat32格式的D盘Linux目录内。
	　　(2)安装下载好的WinGrub，这个软件安装完是不生成桌面图标的，在开始-程序中找到它运行，点击Tools&#8211;Partition list就会看到你现在的盘符，如下图：

　　可以看到D盘前面显示(hd0,1)，如果你将ISO文件放在E盘你就看E盘前面显示的东西就行了，其它盘一样,这个有什么用等会才知道。
　　(3)打开D盘Linux目录下的ISO文件，将images目录以及vmlinuz与initrd.img解压到当前目录也就是linux目录下，这是RedHat Enterprise Linux 6硬盘安装与之前版本不同的地方，之前版本只需要vmlinuz与initrd.img，而RedHat Enterprise Linux 6必须解压images目录，不然安装时会提示找不到\images\install.img文件。
　　(4)将下载好的Grub引导文件(grub4dos)中的grldr解压到C盘根目录，网上教程大都说把所有文件都解压出来，其实真正干活的就grldr一个。解压完以后在C盘根目录新建一个menu.lst文件，你可以新建一个TXT文件然后改名。打开menu.lst输入如下内容：

title Install RadHat 6
		root (hd0,0)
		kernel (hd0,1)/linux/vmlinuz boot=casper find_iso=/filename=/rhel-server-6.0-i386-dvd.iso
		initrd (hd0,1)/linux/initrd.img

　　解释下，上面出现的hd0,1就是ISO文件所在的盘(D盘)，linux是D盘的linux目录，rhel-server-6.0-i386-dvd.iso为镜像文件名字。vmlinuz&#160;与initrd.img是第三步解出来的文件。root (hd0,0)这是我以前C盘安装Ubuntu时的一个设置，意思是从C盘引导启动，好像删除也可以。
　　(5)修改C盘根目录的boot.ini，在最下面加上：

c:\grldr=&#34;安装RadHat 6企业版&#34;

　　经过以上几步重启就可以进入在启动菜单中看到&#8220;安装RadHat 6企业版&#8221;，选择后就可以进入安装。
　　在安装过程中会出现找install.img文件，并给出一个默认位置/images/install.img，你在前面加上/linux，即修改成/linux//images/install.img就行了。如果你的ISO文件以及从ISO中解压出的那三个文件夹放在了根目录就不会出现这个提示。
　　如果ISO文件放在D盘根目录，那相应的menu.lst文件要修改成：

title Install [...]]]></description>
			<content:encoded><![CDATA[<p>　　红帽在11月10日发布了其企业级Linux，RedHat Enterprise Linux 6的正式版，一直没有测试。前几天一个客户的孩子(上大一，Linux零基础)想学LInux，准备考RHCE，让我帮忙给他装系统，正好体验了一下。因为<a href="http://www.iewb.net/index.php/qg/3683.html">RedHat Enterprise Linux 6本地硬盘安装</a>与之前版本变动较大，所以将安装做成教程如下：<span id="more-3683"></span></p>
<blockquote>
<p>　<img alt="" height="150" src="https://byfiles.storage.live.com/y1plJPpVun_0SyXa-eVFSdprlZR3DDFrFBzWOMSzcBY3BS_sQf59CAx7vBhYUQz9I7BYLosdRHkfVo/3294383127423296844.jpg?psid=1" width="440" /></p>
</blockquote>
<p>　环境：<br />
	　　(1)一台配置不错的台式机<br />
	　　(2)机器上正常运行着XP系统<br />
	　　(3有一个下载好的ISO文件和一个刻好的Linux 6光盘，不过电脑没光驱，而且下载好的镜像文件也在另一台电脑</p>
<p>　　可能他准备把另一台电脑的光驱拆了在这台使用，所以刻好一张Linux 6光盘，不过拆光驱太麻烦，所以我是使用的硬盘安装。<span style="color:#006400;"><span style="color:#f00;">教程看着挺长，其实就是解压文件与编辑好menu.lst就行了，其它的是为了便于理解做的一些说明</span>。</span></p>
<p>　　准备条件：<br />
	　　(1)RedHat Enterprise Linux 6安装镜像 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;下载见文章末尾<br />
	　　(2)grub文件(用于引导安装) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://dl.dbank.com/c0koc05wj8" target="_blank">下载</a>&nbsp;&nbsp;<br />
	　　(3)WinGrub(安装前查询盘符，有经验的网友可不用) &nbsp;<a href="http://dl.dbank.com/c0zplnokhp" target="_blank">下载</a></p>
<p>	　　安装过程：<br />
	　　(1)将RedHat的ISO文件放在任意一个Fat32分区的盘符内，RedHat以前的版本都不支持NTFS分区，RedHat我没有测试，网上有资料说还是不支持，这个我没有验证，我直接把文件放在了Fat32格式的D盘Linux目录内。<br />
	　　(2)安装下载好的WinGrub，这个软件安装完是不生成桌面图标的，在开始-程序中找到它运行，点击Tools&#8211;Partition list就会看到你现在的盘符，如下图：</p>
<p style="text-align: center; "><img alt="" height="51" src="https://byfiles.storage.live.com/y1poDKUQ1e4hUJdhPWx809HJYX9S7AMaX_hKF3sTXQfQ55DY3SW4FMCl_LEE4HcixhUyK-Sbl5t8ik/wingrub.jpg?psid=1" width="337" /></p>
<p>　　可以看到D盘前面显示(hd0,1)，如果你将ISO文件放在E盘你就看E盘前面显示的东西就行了，其它盘一样,这个有什么用等会才知道。</p>
<p>　　(3)打开D盘Linux目录下的ISO文件，将images目录以及vmlinuz与initrd.img解压到当前目录也就是linux目录下，这是<a href="http://www.iewb.net/index.php/qg/3683.html">RedHat Enterprise Linux 6硬盘安装</a>与之前版本不同的地方，之前版本只需要vmlinuz与initrd.img，而RedHat Enterprise Linux 6必须解压images目录，不然安装时会提示找不到\images\install.img文件。</p>
<p>　　(4)将下载好的Grub引导文件(grub4dos)中的grldr解压到C盘根目录，网上教程大都说把所有文件都解压出来，其实真正干活的就grldr一个。解压完以后在C盘根目录新建一个menu.lst文件，你可以新建一个TXT文件然后改名。打开menu.lst输入如下内容：</p>
<blockquote>
<p>title Install RadHat 6<br />
		root (hd0,0)<br />
		kernel (hd0,1)/linux/vmlinuz boot=casper find_iso=/filename=/rhel-server-6.0-i386-dvd.iso<br />
		initrd (hd0,1)/linux/initrd.img</p>
</blockquote>
<p>　　解释下，上面出现的hd0,1就是ISO文件所在的盘(D盘)，linux是D盘的linux目录，rhel-server-6.0-i386-dvd.iso为镜像文件名字。vmlinuz&nbsp;与initrd.img是第三步解出来的文件。root (hd0,0)这是我以前C盘安装Ubuntu时的一个设置，意思是从C盘引导启动，好像删除也可以。</p>
<p>　　(5)修改C盘根目录的boot.ini，在最下面加上：</p>
<blockquote>
<p>c:\grldr=&quot;安装RadHat 6企业版&quot;</p>
</blockquote>
<p>　　经过以上几步重启就可以进入在启动菜单中看到&ldquo;安装RadHat 6企业版&rdquo;，选择后就可以进入安装。</p>
<p>　　在安装过程中会出现找install.img文件，并给出一个默认位置/images/install.img，你在前面加上/linux，即修改成/linux//images/install.img就行了。如果你的ISO文件以及从ISO中解压出的那三个文件夹放在了根目录就不会出现这个提示。</p>
<p>　　如果ISO文件放在D盘根目录，那相应的menu.lst文件要修改成：</p>
<blockquote>
<p>title Install RadHat 6<br />
		root (hd0,0)<br />
		kernel (hd0,1)/vmlinuz boot=casper find_iso=/filename=/rhel-server-6.0-i386-dvd.iso<br />
		initrd (hd0,1)/initrd.img</p>
</blockquote>
<p>　容易出现的问题：如果menu.lst没有设置好或没能设置，开机选择安装后会停在</p>
<blockquote>
<p>grub&gt;</p>
</blockquote>
<p>　　其实不设置menu.ls的一般都是高手，使用grub命令安装，敲击键盘e，进入编辑页面输入如下命令:</p>
<blockquote>
<p>root (hd0,1) &nbsp;回车<br />
		kernel (hd0,1)/linux/vmlinuz &nbsp;&nbsp;回车<br />
		initrd (hd0,1)/linux/initrd.img &nbsp;回车</p>
</blockquote>
<p>　　输入完成后按 b进入安装。文中的&nbsp;(hd0,1)的意思你的D盘，为什么是hd0,1可以查看安装教程第2步。</p>
<p>　　附：RedHat Enterprise Linux (RHEL) 6正式版几个下载地址：</p>
<p><strong>　　RedHat Enterprise Linux 6 32位下载</strong>：</p>
<p><a href="https://content-web.rhn.redhat.com/rhn/isos/rhel-6.0/md5sum/291d234c93442405972689b4b41c14bc/rhel-server-6.0-i386-dvd.iso?__gda__=1289452095_01d4d0835d8bf9a5fe6f7b34caea76a6&amp;ext=.iso" target="_blank">https://content-web.rhn.redhat.com/rhn/isos/rhel-6.0/md5sum/291d234c93442405972689b4b41c14bc/rhel-server-6.0-i386-dvd.iso?__gda__=1289452095_01d4d0835d8bf9a5fe6f7b34caea76a6&amp;ext=.iso</a></p>
<p><a href="http://ed2k://|file|%5B%E3%80%8A%E7%BA%A2%E5%B … 4wwtdley|/" target="_blank">ed2k://|file|%5B%E3%80%8A%E7%BA%A2%E5%B &hellip; 4wwtdley|/</a></p>
<p>　　<strong>RedHat Enterprise Linux 6 64位下载</strong>：</p>
<p><a href="https://content-web.rhn.redhat.com/rhn/isos/rhel-6.0/md5sum/f7141396c6a19399d63e8c195354317d/rhel-server-6.0-x86_64-dvd.iso?__gda__=1289476217_7b76911e4e5d00fda852ec4ebbcb59e8&amp;ext=.iso" target="_blank">https://content-web.rhn.redhat.com/rhn/isos/rhel-6.0/md5sum/f7141396c6a19399d63e8c195354317d/rhel-server-6.0-x86_64-dvd.iso?__gda__=1289476217_7b76911e4e5d00fda852ec4ebbcb59e8&amp;ext=.iso</a></p>
<p><a href="http://ed2k://|file|%5B%E3%80%8A%E7%BA%A2%E5%B … gzr73c4k|/" target="_blank">ed2k://|file|%5B%E3%80%8A%E7%BA%A2%E5%B &hellip; gzr73c4k|/</a></p>
<p>只可用迅雷或者电驴下载，下载速度很快，我在高速环境下使用迅雷速度达到16M/S。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年12月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3727.html" title="Linux VPN添加的按钮是灰色解决方案">Linux VPN添加的按钮是灰色解决方案</a></li>
<li>2011年11月15日 &#8212; <a href="http://www.iewb.net/index.php/qg/3701.html" title="构建RHEL6本地源与使用第三方源教程">构建RHEL6本地源与使用第三方源教程</a></li>
<li>2011年10月25日 &#8212; <a href="http://www.iewb.net/index.php/qg/3671.html" title="让本地测试环境支持WordPress自定义固定链接">让本地测试环境支持WordPress自定义固定链接</a></li>
<li>2011年10月24日 &#8212; <a href="http://www.iewb.net/index.php/qg/3648.html" title="Ubuntu(Linux）平台经典游戏推荐">Ubuntu(Linux）平台经典游戏推荐</a></li>
<li>2011年12月11日 &#8212; <a href="http://www.iewb.net/index.php/qg/3723.html" title="Redhat认证RHCE视频教程+RHCE试题汇总">Redhat认证RHCE视频教程+RHCE试题汇总</a></li>
<li>2011年11月23日 &#8212; <a href="http://www.iewb.net/index.php/qg/3717.html" title="干掉Nouveau安装Linux Nvidia显卡驱动">干掉Nouveau安装Linux Nvidia显卡驱动</a></li>
<li>2011年10月22日 &#8212; <a href="http://www.iewb.net/index.php/qg/3642.html" title="Ubuntu启动长时间黑屏解决方案">Ubuntu启动长时间黑屏解决方案</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3683.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让本地测试环境支持WordPress自定义固定链接</title>
		<link>http://www.iewb.net/index.php/qg/3671.html</link>
		<comments>http://www.iewb.net/index.php/qg/3671.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 02:51:02 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress自定义固定链接]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3671</guid>
		<description><![CDATA[　　首先说下几个前提，本文针对的是Ubuntu平台下架设的真实LAMP(Linux+Apache+MySQL+PHP)环境，如果你是WIN平台下使用的xampp，那么本文你没必要再往下看了。如果你使用的是其它发行版的Linux，看下思路应该也能解决。
　　本地测试环境不支持WordPress自定义固定链接是因为系统没有开启Mod Rewrite功能，不知道Mod Rewrite是什么的也没必要纠结，其实我也不知道。就像这篇文章说的一样，无论Linux还是windows都是一个工具，你只要学会用它完成你的工作就可以了，没必要学会所有的命令与参数来说明你多么会玩Linux。
废话有点多了，看解决方法：

(1)将 rewrite.load 添加到 /etc/apache2/mods-enabled
		命令：sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled
(2)编辑 apache 的配置文件
		命令：sudo gedit /etc/apache2/sites-enabled/000-default
在打开的文件中查找AllowOverride，将将与wordpress存放目录(DocumentRoot)相关的 AllowOverride None 修改为：AllowOverride All。一般只改第一个就行。也就是apache环境网站默认目录一般是/var/www/，不过一般我会修改下。
(3)设置已经完成，最后重启apache让设置生效
		命令：sudo /etc/init.d/apache2 restart

　　经过以上三个步骤一般WordPress自定义固定链接就可用了，如果不行那就是你的WordPress目录下.htaccess文件不可写，设置下目录权限或设置下文件权限即可。
　　文章中的几条命令来自自说Me话，作者将命令贴下来是怕用的时候找不到，其实启光博客将文章贴在这里也是一个目的，方便自己查找。大多数用户架设本地PHP环境一般是WIN平台下使用xampp，如果是的话你可以看下这篇文章，让你的本地环境支持WordPress自定义固定链接。
相关文章

2011年12月14日 &#8212; Linux VPN添加的按钮是灰色解决方案
2011年11月14日 &#8212; 硬盘安装RedHat Enterprise Linux 6
2011年10月24日 &#8212; Ubuntu(Linux）平台经典游戏推荐
2011年12月11日 &#8212; Redhat认证RHCE视频教程+RHCE试题汇总
2011年11月23日 &#8212; 干掉Nouveau安装Linux Nvidia显卡驱动
2011年10月22日 &#8212; Ubuntu启动长时间黑屏解决方案
2011年10月19日 &#8212; WordPress免费企业主题：SonyCorp
2011年10月14日 &#8212; 23套WordPress精品企业站主题/模板
2011年07月4日 &#8212; 打造Wordpress手机WAP页面－手机访问插件
2010年12月9日 &#8212; Wordpress博客的腾讯与新浪微博的API应用

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　首先说下几个前提，本文针对的是Ubuntu平台下架设的真实LAMP(Linux+Apache+MySQL+PHP)环境，如果你是WIN平台下使用的xampp，那么本文你没必要再往下看了。如果你使用的是其它发行版的Linux，看下思路应该也能解决。<span id="more-3671"></span></p>
<p>　　<a href="http://www.iewb.net/index.php/qg/3671.html">本地测试环境不支持WordPress自定义固定链接</a>是因为系统没有开启Mod Rewrite功能，不知道Mod Rewrite是什么的也没必要纠结，其实我也不知道。就像<a href="http://www.iewb.net/blog/index.php/wb/672.htm" target="_blank">这篇文章</a>说的一样，无论Linux还是windows都是一个工具，你只要学会用它完成你的工作就可以了，没必要学会所有的命令与参数来说明你多么会玩Linux。</p>
<p>废话有点多了，看解决方法：</p>
<blockquote>
<p>(1)将 rewrite.load 添加到 /etc/apache2/mods-enabled<br />
		命令：sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled</p>
<p>(2)编辑 apache 的配置文件<br />
		命令：sudo gedit /etc/apache2/sites-enabled/000-default</p>
<p>在打开的文件中查找AllowOverride，将将与wordpress存放目录(DocumentRoot)相关的 AllowOverride None 修改为：AllowOverride All。一般只改第一个就行。也就是apache环境网站默认目录一般是/var/www/，不过一般我会修改下。</p>
<p>(3)设置已经完成，最后重启apache让设置生效<br />
		命令：sudo /etc/init.d/apache2 restart</p>
</blockquote>
<p>　　经过以上三个步骤一般WordPress自定义固定链接就可用了，如果不行那就是你的WordPress目录下.htaccess文件不可写，设置下目录权限或设置下文件权限即可。</p>
<p>　　文章中的几条命令来自<a href="http://isayme.com/2011/04/41-set-mod-rewrite-for-wp-ubuntu/" target="_blank">自说Me话</a>，作者将命令贴下来是怕用的时候找不到，其实启光博客将文章贴在这里也是一个目的，方便自己查找。大多数用户架设本地PHP环境一般是WIN平台下使用xampp，如果是的话你可以看下<a href="http://zmingcx.com/local-build-wordpress-test-environment.html" target="_blank">这篇</a>文章，让你的<a href="http://www.iewb.net/index.php/qg/3671.html">本地环境支持WordPress自定义固定链接</a>。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年12月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3727.html" title="Linux VPN添加的按钮是灰色解决方案">Linux VPN添加的按钮是灰色解决方案</a></li>
<li>2011年11月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3683.html" title="硬盘安装RedHat Enterprise Linux 6">硬盘安装RedHat Enterprise Linux 6</a></li>
<li>2011年10月24日 &#8212; <a href="http://www.iewb.net/index.php/qg/3648.html" title="Ubuntu(Linux）平台经典游戏推荐">Ubuntu(Linux）平台经典游戏推荐</a></li>
<li>2011年12月11日 &#8212; <a href="http://www.iewb.net/index.php/qg/3723.html" title="Redhat认证RHCE视频教程+RHCE试题汇总">Redhat认证RHCE视频教程+RHCE试题汇总</a></li>
<li>2011年11月23日 &#8212; <a href="http://www.iewb.net/index.php/qg/3717.html" title="干掉Nouveau安装Linux Nvidia显卡驱动">干掉Nouveau安装Linux Nvidia显卡驱动</a></li>
<li>2011年10月22日 &#8212; <a href="http://www.iewb.net/index.php/qg/3642.html" title="Ubuntu启动长时间黑屏解决方案">Ubuntu启动长时间黑屏解决方案</a></li>
<li>2011年10月19日 &#8212; <a href="http://www.iewb.net/index.php/qg/3613.html" title="WordPress免费企业主题：SonyCorp">WordPress免费企业主题：SonyCorp</a></li>
<li>2011年10月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3573.html" title="23套WordPress精品企业站主题/模板">23套WordPress精品企业站主题/模板</a></li>
<li>2011年07月4日 &#8212; <a href="http://www.iewb.net/index.php/qg/3411.html" title="打造Wordpress手机WAP页面－手机访问插件">打造Wordpress手机WAP页面－手机访问插件</a></li>
<li>2010年12月9日 &#8212; <a href="http://www.iewb.net/index.php/qg/2462.html" title="Wordpress博客的腾讯与新浪微博的API应用">Wordpress博客的腾讯与新浪微博的API应用</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3671.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu启动长时间黑屏解决方案</title>
		<link>http://www.iewb.net/index.php/qg/3642.html</link>
		<comments>http://www.iewb.net/index.php/qg/3642.html#comments</comments>
		<pubDate>Sat, 22 Oct 2011 01:52:46 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[长时间黑屏]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3642</guid>
		<description><![CDATA[　　虽然不知道这是不是Ubuntu的通病，不过从10版本后很多机器都会出现Ubuntu启动过程中一直黑屏直到登录画面，中间显示器一点反应没有，根本看不到发生了什么，让人很难受。造成这种情况的原因主要是安装受限制驱动后Plymouth自动设置开机分辨率，解决方法：
（1）安装v86d和 hwinfo，然后查看显卡支持的分辨率：
	&#160;命令：

&#160;sudo apt-get install v86d hwinfo
		&#160;sudo hwinfo &#8211;framebuffer

上面命令是安装，第二行是查看支持的分辨率，这部一定要做，不然你修改成了不支持的分辨率还是会黑屏。
编辑/etc/default/grub（sudo gedit //etc/default/grub），添加

GRUB_GFXPAYLOAD_LINUX=1024&#215;768x24

添加在哪个地方都行，1024&#215;768x24可以根据你机器情况修改，不过一定要是显卡支持的才行，这就看到安装hwinfo的重要来了，很多网友随便查网上教程修改成1024&#215;768x32或1280&#215;1024x32之类造成修改没有效果。
	启用framebuffer：

echo FRAMEBUFFER=y &#124; sudo tee /etc/initramfs-tools/conf.d/splash

更新设置：

sudo update-grub
		sudo update-grub2
		sudo update-initramfs -u

一般通过上面的设置后开机长时间黑屏解决都能解决。如果有网友开机连操作系统(Grub)选择菜单都看不到，从开机就一直黑到登录窗口，可以安装GRUB启动管理器：

sudo apt-get install startupmanager

　　startupmanager是一个图形化的Grub启动顺序修改工具，安装完成后运行startupmanager，设置好默认启动的系统与分辨率后关闭软件，重启就可以看到Grub的选择菜单。看不到启动菜单也是由分辨率引起的，默认的640&#215;480、色深8有点扯淡，将色深改成24或以上（如果有的话）就好了。
个人通过ubuntu11.04与11.10测试以上修改可行，不保证适用于其它发行版。
相关文章

2011年12月14日 &#8212; Linux VPN添加的按钮是灰色解决方案
2011年11月14日 &#8212; 硬盘安装RedHat Enterprise Linux 6
2011年10月25日 &#8212; 让本地测试环境支持WordPress自定义固定链接
2011年10月24日 &#8212; Ubuntu(Linux）平台经典游戏推荐

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　虽然不知道这是不是Ubuntu的通病，不过从10版本后很多机器都会出现Ubuntu启动过程中一直黑屏直到登录画面，中间显示器一点反应没有，根本看不到发生了什么，让人很难受。<span id="more-3642"></span>造成这种情况的原因主要是安装受限制驱动后Plymouth自动设置开机分辨率，解决方法：</p>
<p>（1）安装v86d和 hwinfo，然后查看显卡支持的分辨率：<br />
	&nbsp;命令：</p>
<blockquote>
<p>&nbsp;sudo apt-get install v86d hwinfo<br />
		&nbsp;sudo hwinfo &#8211;framebuffer</p>
</blockquote>
<p>上面命令是安装，第二行是查看支持的分辨率，这部一定要做，不然你修改成了不支持的分辨率还是会黑屏。</p>
<p>编辑/etc/default/grub（sudo gedit //etc/default/grub），添加</p>
<blockquote>
<p>GRUB_GFXPAYLOAD_LINUX=1024&#215;768x24</p>
</blockquote>
<p>添加在哪个地方都行，1024&#215;768x24可以根据你机器情况修改，不过一定要是显卡支持的才行，这就看到安装hwinfo的重要来了，很多网友随便查网上教程修改成1024&#215;768x32或1280&#215;1024x32之类造成修改没有效果。</p>
<p>	启用framebuffer：</p>
<blockquote>
<p>echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash</p>
</blockquote>
<p>更新设置：</p>
<blockquote>
<p>sudo update-grub<br />
		sudo update-grub2<br />
		sudo update-initramfs -u</p>
</blockquote>
<p>一般通过上面的设置后开机长时间黑屏解决都能解决。如果有网友开机连操作系统(Grub)选择菜单都看不到，从开机就一直黑到登录窗口，可以安装GRUB启动管理器：</p>
<blockquote>
<p>sudo apt-get install startupmanager</p>
</blockquote>
<p>　　startupmanager是一个图形化的Grub启动顺序修改工具，安装完成后运行startupmanager，设置好默认启动的系统与分辨率后关闭软件，重启就可以看到Grub的选择菜单。看不到启动菜单也是由分辨率引起的，默认的640&#215;480、色深8有点扯淡，将色深改成24或以上（如果有的话）就好了。</p>
<p>个人通过ubuntu11.04与11.10测试以上修改可行，不保证适用于其它发行版。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年12月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3727.html" title="Linux VPN添加的按钮是灰色解决方案">Linux VPN添加的按钮是灰色解决方案</a></li>
<li>2011年11月14日 &#8212; <a href="http://www.iewb.net/index.php/qg/3683.html" title="硬盘安装RedHat Enterprise Linux 6">硬盘安装RedHat Enterprise Linux 6</a></li>
<li>2011年10月25日 &#8212; <a href="http://www.iewb.net/index.php/qg/3671.html" title="让本地测试环境支持WordPress自定义固定链接">让本地测试环境支持WordPress自定义固定链接</a></li>
<li>2011年10月24日 &#8212; <a href="http://www.iewb.net/index.php/qg/3648.html" title="Ubuntu(Linux）平台经典游戏推荐">Ubuntu(Linux）平台经典游戏推荐</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3642.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>强制Chrome浏览器Https加密访问网站</title>
		<link>http://www.iewb.net/index.php/qg/3508.html</link>
		<comments>http://www.iewb.net/index.php/qg/3508.html#comments</comments>
		<pubDate>Tue, 20 Sep 2011 06:52:40 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Https]]></category>
		<category><![CDATA[加密访问]]></category>
		<category><![CDATA[开发者工具]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3508</guid>
		<description><![CDATA[　　强制Chrome浏览器加密访问网站其实也就是强制Chrome浏览器http重定向到https，这种技巧对于经常修改Hosts的网友可能用处较大些。比如修改Hosts后访问Twitter，多数情况下访问http://www.twitter.com是不能访问的，要输入https://twitter.com才行。
　　本站以前介绍过可以手动输入网址后在账号中设置默认https访问，这样点网站内的链接才不会出现&#8220;链接被重置&#8221;等一些情况，不过现在有更简单实用的方法实现。
　　chrome://net-internals是一个Chrome内置的开发者工具，直接在浏览器地址栏输入地址栏输入chrome://net-internals/可打开选项页面。强制Chrome浏览器http重定向到https的方法：
　　1.在地址栏输入地址栏输入chrome://net-internals
	　　2.点倒数第二个HSTS标签，在Add domain下方的&#34;Domain:&#34;后面输入想强制Https访问的网址，如图：

　　输入网址后再点 Add按钮即可。
　　设置完成后所有该域名下的子目录都会强制加密访问，如果想删除相关设置，在Delete domain下的方&#34;Domain:&#34;后面输入想删除的网址，然后点delete按钮即可。


	
相关文章

2011年03月25日 &#8212; 2011最新浏览器性能评测
2010年11月27日 &#8212; ChromeTheme&#8211;在线制作个性Chrome主题
2010年11月23日 &#8212; Chrome博客上传助手(Blog file upload helper)
2010年11月11日 &#8212; Google Chrome功能使用进阶
2010年11月5日 &#8212; Chrome扩展推荐-快捷工具（静音插件）
2010年10月31日 &#8212; 酷狗音乐盒 For Chrome
2010年09月19日 &#8212; 抛弃六千用户说
2010年08月13日 &#8212; Chrome Web Store应用商店将于年底开放
2010年07月9日 &#8212; Chrome绿化及精简
2010年07月4日 &#8212; Chrome中国卫星电视插件

欢迎订阅启光博客RSS:http://www.iewb.net/index.php/feed&#160;
  
	&#169;游戏网赚&#169;调查网赚&#169;网盘赚钱&#169;点击赚钱&#169;冲浪赚钱&#169;邮件赚钱&#169;英文调查


]]></description>
			<content:encoded><![CDATA[<p>　　强制Chrome浏览器加密访问网站其实也就是强制Chrome浏览器http重定向到https，这种技巧对于经常修改Hosts的网友可能用处较大些。比如修改Hosts后访问Twitter，<span id="more-3508"></span>多数情况下访问http://www.twitter.com是不能访问的，要输入https://twitter.com才行。</p>
<p>　　本站以前介绍过可以手动输入网址后在账号中设置默认https访问，这样点网站内的链接才不会出现&ldquo;链接被重置&rdquo;等一些情况，不过现在有更简单实用的方法实现。</p>
<p>　　chrome://net-internals是一个Chrome内置的开发者工具，直接在浏览器地址栏输入地址栏输入chrome://net-internals/可打开选项页面。强制Chrome浏览器http重定向到https的方法：</p>
<p>　　1.在地址栏输入地址栏输入chrome://net-internals<br />
	　　2.点倒数第二个HSTS标签，在Add domain下方的&quot;Domain:&quot;后面输入想强制Https访问的网址，如图：</p>
<p style="text-align: center; "><img alt="" class="size-full wp-image-3509" height="270" src="http://www.iewb.net/wp-content/uploads/2011/09/net-internals.jpg" title="net-internals" width="311" /></p>
<p>　　输入网址后再点 Add按钮即可。</p>
<p>　　设置完成后所有该域名下的子目录都会强制加密访问，如果想删除相关设置，在Delete domain下的方&quot;Domain:&quot;后面输入想删除的网址，然后点delete按钮即可。</p>
<p style="text-align: center; "><img alt="" class="size-full wp-image-3510" height="123" src="http://www.iewb.net/wp-content/uploads/2011/09/net-internals2.jpg" title="net-internals2" width="385" /></p>
<p><font class="Apple-style-span" color="#555555" face="”微软雅黑”, Verdana, Arial, Helvetica, sans-serif"><span class="Apple-style-span" style="line-height: 20px; "><br />
	</span></font></p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年03月25日 &#8212; <a href="http://www.iewb.net/index.php/qg/3094.html" title="2011最新浏览器性能评测">2011最新浏览器性能评测</a></li>
<li>2010年11月27日 &#8212; <a href="http://www.iewb.net/index.php/qg/2277.html" title="ChromeTheme&#8211;在线制作个性Chrome主题">ChromeTheme&#8211;在线制作个性Chrome主题</a></li>
<li>2010年11月23日 &#8212; <a href="http://www.iewb.net/index.php/qg/2163.html" title="Chrome博客上传助手(Blog file upload helper)">Chrome博客上传助手(Blog file upload helper)</a></li>
<li>2010年11月11日 &#8212; <a href="http://www.iewb.net/index.php/qg/2016.html" title="Google Chrome功能使用进阶">Google Chrome功能使用进阶</a></li>
<li>2010年11月5日 &#8212; <a href="http://www.iewb.net/index.php/qg/1998.html" title="Chrome扩展推荐-快捷工具（静音插件）">Chrome扩展推荐-快捷工具（静音插件）</a></li>
<li>2010年10月31日 &#8212; <a href="http://www.iewb.net/index.php/qg/1952.html" title="酷狗音乐盒 For Chrome">酷狗音乐盒 For Chrome</a></li>
<li>2010年09月19日 &#8212; <a href="http://www.iewb.net/index.php/qg/1811.html" title="抛弃六千用户说">抛弃六千用户说</a></li>
<li>2010年08月13日 &#8212; <a href="http://www.iewb.net/index.php/qg/1657.html" title="Chrome Web Store应用商店将于年底开放">Chrome Web Store应用商店将于年底开放</a></li>
<li>2010年07月9日 &#8212; <a href="http://www.iewb.net/index.php/qg/1555.html" title="Chrome绿化及精简">Chrome绿化及精简</a></li>
<li>2010年07月4日 &#8212; <a href="http://www.iewb.net/index.php/qg/1536.html" title="Chrome中国卫星电视插件">Chrome中国卫星电视插件</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3508.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>修改Hosts访问Twitter/Facebook</title>
		<link>http://www.iewb.net/index.php/qg/3455.html</link>
		<comments>http://www.iewb.net/index.php/qg/3455.html#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:19:15 +0000</pubDate>
		<dc:creator>一天到晚游泳的鱼</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Hosts]]></category>
		<category><![CDATA[Twitter.com]]></category>

		<guid isPermaLink="false">http://www.iewb.net/?p=3455</guid>
		<description><![CDATA[　　以前没感觉Facebook多么特别，最近又玩了一些日子，感觉还不错。因为关注Facebook所以对最新Hosts比较关注，今天发现一个网友整理的，测试可直接使用。虽然一直在文章中说以后不再发布类似的文章，不过没忍住，网友低调点使用吧，希望对经常访问Twitter与Facebook的网友有此帮助。
　　修改HOSTS，将以下内容加入其中，无需安装IPV6或者别的多余操作，亲测速度很快。HOSTS文件位置：C:\WINDOWS\system32\drivers\etc\ &#160;，可以使用记事本打开修改。网友可参考：Youtube相关Hosts

#twitter相关
199.59.148.13 oauth.twitter.com
199.59.148.13 twitter.com
199.59.148.13 www.twitter.com
199.59.148.13 api.twitter.com
199.59.148.201 search.twitter.com
199.59.148.139 userstream.twitter.com
199.59.148.13 ssl.twitter.com
199.59.148.13 status.twitter.com
199.59.148.13 assets0.twitter.com
199.59.148.13 assets1.twitter.com
199.59.148.13 assets2.twitter.com
199.59.148.13 assets3.twitter.com
199.59.148.13 static.twitter.com
184.29.36.124 platform.twitter.com
219.76.10.138 platform0.twitter.com
199.59.148.206 help.twitter.com
199.59.148.206 support.twitter.com
209.84.4.102 si0.twimg.com
209.84.4.102 si1.twimg.com
209.84.4.102 si2.twimg.com
209.84.4.102 si3.twimg.com
209.84.4.102 si4.twimg.com
209.84.4.102 si5.twimg.com
#Facebook相关
69.63.189.16 facebook.com
69.63.189.16 www.facebook.com
69.63.181.31 m.facebook.com
69.63.181.20 login.facebook.com
69.63.179.70 secure.facebook.com
66.220.146.18 apps.facebook.com
69.63.181.31 touch.facebook.com
118.214.114.110 s-static.ak.facebook.com
66.220.147.47 api.facebook.com
69.63.181.16 zh-CN.facebook.com
202.157.186.28 static.ak.facebook.com
202.157.186.34 b.static.ak.facebook.com
69.63.178.57 secure-profile.facebook.com
69.63.178.57 secure-media-sf2p.facebook.com
69.63.178.15 ssl.facebook.com
69.63.190.18 apps.facebook.com
118.214.190.105 profile.ak.facebook.com
69.63.187.17 fbcdn.net
97.65.135.139 external.ak.fbcdn.net
124.155.222.50 vthumb.ak.fbcdn.net
97.65.135.163 static.ak.fbcdn.net
97.65.135.163 b.static.ak.fbcdn.net
202.157.186.34 creative.ak.fbcdn.net
118.214.190.128 profile.ak.fbcdn.net
69.63.176.21 s-hprofile-sf2p.fbcdn.net
125.56.199.9 photos-a.ak.fbcdn.net
125.56.199.9 photos-b.ak.fbcdn.net
125.56.199.9 photos-c.ak.fbcdn.net
125.56.199.9 photos-d.ak.fbcdn.net
125.56.199.9 photos-e.ak.fbcdn.net
125.56.199.9 [...]]]></description>
			<content:encoded><![CDATA[<p>　　以前没感觉Facebook多么特别，最近又玩了一些日子，感觉还不错。因为关注Facebook所以对最新Hosts比较关注，今天发现一个网友整理的，测试可直接使用。虽然一直在文章中说以后不再发布类似的文章，不过没忍住，网友低调点使用吧，希望对经常访问Twitter与Facebook的网友有此帮助。<span id="more-3455"></span></p>
<p><span class="Apple-style-span" style="color: rgb(81, 85, 92); font-family: helvetica, arial, sans-serif; line-height: 18px; ">　　修改HOSTS，将以下内容加入其中，无需安装IPV6或者别的多余操作，亲测速度很快。HOSTS文件位置：C:\WINDOWS\system32\drivers\etc\ &nbsp;，可以使用记事本打开修改。网友可参考：<a href="http://www.iewb.net/index.php/qg/3445.html" target="_blank">Youtube相关Hosts</a></span></p>
<blockquote>
<p>#twitter相关</p>
<p>199.59.148.13 oauth.twitter.com</p>
<p>199.59.148.13 twitter.com</p>
<p>199.59.148.13 www.twitter.com</p>
<p>199.59.148.13 api.twitter.com</p>
<p>199.59.148.201 search.twitter.com</p>
<p>199.59.148.139 userstream.twitter.com</p>
<p>199.59.148.13 ssl.twitter.com</p>
<p>199.59.148.13 status.twitter.com</p>
<p>199.59.148.13 assets0.twitter.com</p>
<p>199.59.148.13 assets1.twitter.com</p>
<p>199.59.148.13 assets2.twitter.com</p>
<p>199.59.148.13 assets3.twitter.com</p>
<p>199.59.148.13 static.twitter.com</p>
<p>184.29.36.124 platform.twitter.com</p>
<p>219.76.10.138 platform0.twitter.com</p>
<p>199.59.148.206 help.twitter.com</p>
<p>199.59.148.206 support.twitter.com</p>
<p>209.84.4.102 si0.twimg.com</p>
<p>209.84.4.102 si1.twimg.com</p>
<p>209.84.4.102 si2.twimg.com</p>
<p>209.84.4.102 si3.twimg.com</p>
<p>209.84.4.102 si4.twimg.com</p>
<p>209.84.4.102 si5.twimg.com</p>
<p>#Facebook相关</p>
<p>69.63.189.16 facebook.com</p>
<p>69.63.189.16 www.facebook.com</p>
<p>69.63.181.31 m.facebook.com</p>
<p>69.63.181.20 login.facebook.com</p>
<p>69.63.179.70 secure.facebook.com</p>
<p>66.220.146.18 apps.facebook.com</p>
<p>69.63.181.31 touch.facebook.com</p>
<p>118.214.114.110 s-static.ak.facebook.com</p>
<p>66.220.147.47 api.facebook.com</p>
<p>69.63.181.16 zh-CN.facebook.com</p>
<p>202.157.186.28<span class="Apple-tab-span" style="white-space:pre"> </span>static.ak.facebook.com</p>
<p>202.157.186.34 b.static.ak.facebook.com</p>
<p>69.63.178.57 secure-profile.facebook.com</p>
<p>69.63.178.57 secure-media-sf2p.facebook.com</p>
<p>69.63.178.15 ssl.facebook.com</p>
<p>69.63.190.18 apps.facebook.com</p>
<p>118.214.190.105 profile.ak.facebook.com</p>
<p>69.63.187.17 fbcdn.net</p>
<p>97.65.135.139 external.ak.fbcdn.net</p>
<p>124.155.222.50 vthumb.ak.fbcdn.net</p>
<p>97.65.135.163 static.ak.fbcdn.net</p>
<p>97.65.135.163 b.static.ak.fbcdn.net</p>
<p>202.157.186.34 creative.ak.fbcdn.net</p>
<p>118.214.190.128 profile.ak.fbcdn.net</p>
<p>69.63.176.21 s-hprofile-sf2p.fbcdn.net</p>
<p>125.56.199.9 photos-a.ak.fbcdn.net</p>
<p>125.56.199.9 photos-b.ak.fbcdn.net</p>
<p>125.56.199.9 photos-c.ak.fbcdn.net</p>
<p>125.56.199.9 photos-d.ak.fbcdn.net</p>
<p>125.56.199.9 photos-e.ak.fbcdn.net</p>
<p>125.56.199.9 photos-f.ak.fbcdn.net</p>
<p>125.56.199.9 photos-g.ak.fbcdn.net</p>
<p>125.56.199.9 photos-h.ak.fbcdn.net</p>
</blockquote>
<p>一些说明：<br />
	(1)文章发布之是测试可用，不保证以后还能正常 &nbsp; &nbsp; &nbsp;Hosts文件已经打包，网友可<a href="http://dl.dbank.com/c0staj41be" target="_blank">点此</a>直接下载</p>
<p>(2)修改Hosts后，无论Twitter还是Facebook都要强制加密访问才有效果，即https://facebook.com样式。</p>
<p>修改方法：twitter设置中包含强制 Https访问的选项， 链接：Twitter &mdash; Settings &mdash;Account&mdash;HTTPS Only&nbsp;https://twitter.com/settings/account</p>
<p>&nbsp;Facebook 页面右上方，点选工具栏的「帐号」进入「帐号设置」，打开「设置」目录下的「帐号安全」，并於项目内勾选「安全加密浏览方式（https）」下的「在可行的量程内，均以加密安全方式（https）浏览 Facebook」。</p>
<p>(3)此文网友可随意传播，不用给出本文链接</p>
<h3>相关文章</h3>
<ul class="related_post">
<li>2011年07月29日 &#8212; <a href="http://www.iewb.net/index.php/qg/3445.html" title="Youtube相关Hosts 免IPV6">Youtube相关Hosts 免IPV6</a></li>
<li>2011年06月22日 &#8212; <a href="http://www.iewb.net/index.php/qg/3398.html" title="IPV6+Hosts配置教程">IPV6+Hosts配置教程</a></li>
<li>2010年04月7日 &#8212; <a href="http://www.iewb.net/index.php/qg/1027.html" title="Take it or Leave it">Take it or Leave it</a></li>
<li>2010年01月30日 &#8212; <a href="http://www.iewb.net/index.php/qg/323.html" title="与未来生活息息相关的五个网站">与未来生活息息相关的五个网站</a></li>
</ul>
<hr /><small>欢迎订阅启光博客RSS:<a href="http://www.iewb.net/index.php/feed " target="_blank">http://www.iewb.net/index.php/feed&nbsp;</a>
<br />  <ul class="nav clearfix" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; display: block; list-style-type: none; list-style-position: initial; list-style-image: initial; ">
	<li class="page_item page-item-2411 first-child hover" style="margin-top: 0px; margin-right: 12px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; list-style-type: none; list-style-position: initial; list-style-image: initial; float: left; "><span style="color:#006400;">&copy;<a href="http://www.iewb.net/index.php/game">游戏网赚</a>&copy;<a href="http://www.iewb.net/index.php/diaocha">调查网赚</a>&copy;<a href="http://www.iewb.net/index.php/wangpa">网盘赚钱</a>&copy;<a href="http://www.iewb.net/index.php/click">点击赚钱</a>&copy;<a href="http://www.iewb.net/index.php/web">冲浪赚钱</a>&copy;<a href="http://www.iewb.net/index.php/mail">邮件赚钱</a>&copy;<a href="http://www.iewb.net/index.php/en-diaocha">英文调查</a></span></li>
</ul><br />

]]></content:encoded>
			<wfw:commentRss>http://www.iewb.net/index.php/qg/3455.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

