<?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; Linux技术</title>
	<atom:link href="http://www.zhaojian.net/linuxjishu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhaojian.net</link>
	<description>赵健在这里！- 关注生活，专注互联网。快乐分享，快乐生活。</description>
	<lastBuildDate>Fri, 03 Feb 2012 08:29:29 +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>解决Ubuntu 11.04无线网卡驱动导致无法找到无线网络</title>
		<link>http://www.zhaojian.net/ubuntu-1104/</link>
		<comments>http://www.zhaojian.net/ubuntu-1104/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 15:41:03 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[Ubuntu 11.04无法找到无线网络]]></category>
		<category><![CDATA[Ubuntu 11.04无法连接无线网]]></category>
		<category><![CDATA[Ubuntu 11.04无线网]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=1195</guid>
		<description><![CDATA[解决Ubuntu 11.04无线网卡驱动导致无法找到无线网络，我是最近准备适应下11.10，所以才安装来11.04，不过这种问题也有可能继续延续至11.10，因为官方并没有收到关于此问题都bug报告。 主要是由于驱动都问题，首先要把 附加驱动 里面的 Broadcon STA 无线驱动 移除，然后查看自己网卡驱动型号，可用命令：sudo lshw ，列出PC所有硬件型号，找到network相关的可以查看到我本机的网卡型号是：BCM4311 802.11b/g WLAN ，出现此问题的大多为此网卡，甚至可直接安装解决。 不过需要您先直连有线网络安装驱动，命令：sudo apt-get install firmware-b43-installer 安装完成后，重启，就会发现多出来的无线网，能找到无线网，也能连接。 标签：Ubuntu 11.04无法找到无线网络, Ubuntu 11.04无法连接无线网, Ubuntu 11.04无线网]]></description>
			<content:encoded><![CDATA[<p>解决<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/ubuntu-11-04%e6%97%a0%e7%ba%bf%e7%bd%91/" title="查看 Ubuntu 11.04无线网 中的全部文章" target="_blank">Ubuntu 11.04无线网</a></span>卡驱动导致无法找到无线网络，<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>是最近准备适应下11.10，所以才安装来11.04，不过这种问题也有可能继续延续至11.10，因为官方并没有收到关于此问题都bug报告。</p>
<p>主要是由于驱动都问题，首先要把 附加驱动 里面的 Broadcon STA 无线驱动 移除，然后查看自己网卡驱动型号，可用命令：sudo lshw ，列出PC所有硬件型号，找到network相关的可以查看到<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>本机的网卡型号是：BCM4311 802.11b/g WLAN ，出现此问题的大多为此网卡，甚至可直接安装解决。</p>
<p>不过需要您先直连有线网络安装驱动，<a href="http://www.zhaojian.net/tag/%e5%91%bd%e4%bb%a4/" class="st_tag internal_tag" rel="tag" title="标签 命令 下的日志">命令</a>：sudo apt-get install firmware-b43-installer</p>
<p>安装完成后，重启，就会发现多出来的无线网，能找到无线网，也能连接。</p>

	标签：<a href="http://www.zhaojian.net/tag/ubuntu-11-04%e6%97%a0%e6%b3%95%e6%89%be%e5%88%b0%e6%97%a0%e7%ba%bf%e7%bd%91%e7%bb%9c/" title="Ubuntu 11.04无法找到无线网络" rel="tag">Ubuntu 11.04无法找到无线网络</a>, <a href="http://www.zhaojian.net/tag/ubuntu-11-04%e6%97%a0%e6%b3%95%e8%bf%9e%e6%8e%a5%e6%97%a0%e7%ba%bf%e7%bd%91/" title="Ubuntu 11.04无法连接无线网" rel="tag">Ubuntu 11.04无法连接无线网</a>, <a href="http://www.zhaojian.net/tag/ubuntu-11-04%e6%97%a0%e7%ba%bf%e7%bd%91/" title="Ubuntu 11.04无线网" rel="tag">Ubuntu 11.04无线网</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/ubuntu-1104/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ecshop2.7.2最新版的nginx伪静态rewrite重写规则适用于lnmp</title>
		<link>http://www.zhaojian.net/ecshop-nginx-rewrite/</link>
		<comments>http://www.zhaojian.net/ecshop-nginx-rewrite/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 10:14:18 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[ecshop nginx rewrite]]></category>
		<category><![CDATA[ecshop nginx重写]]></category>
		<category><![CDATA[ecshop rewrite规则]]></category>
		<category><![CDATA[ecshop重写规则]]></category>
		<category><![CDATA[lnmp ecshop]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=1187</guid>
		<description><![CDATA[ecshop2.7.2最新版的nginx伪静态rewrite重写规则适用于lnmp 12345678910111213141516171819202122232425262728293031323334if (!-e $request_filename) &#160; &#160; { &#160; &#160; rewrite ^/index.html$ /index.php last; &#160; &#160; rewrite ^/category$ /index.php last; &#160; &#160; rewrite ^/feed-c([0-9]+).xml$ /feed.php?cat=$1 last; &#160; &#160; rewrite ^/feed-b([0-9]+).xml$ /feed.php?brand=$1 last; &#160; &#160; rewrite ^/feed-type([^-]+).xml$ /feed.php?type=$1 last; &#160; &#160; rewrite ^/feed.xml$ /feed.php last; &#160; &#160; rewrite ^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&#38;amp;brand=$2&#38;amp;price_min=$3&#38;amp;price_max=$4&#38;amp;filter_attr=$5&#38;amp;page=$6&#38;amp;sort=$7&#38;amp;order=$8 last; &#160; &#160; rewrite ^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /category.php?id=$1&#38;amp;brand=$2&#38;amp;price_min=$3&#38;amp;price_max=$4&#38;amp;filter_attr=$5 last; [...]]]></description>
			<content:encoded><![CDATA[<p>ecshop2.7.2最新版的nginx伪静态rewrite重写规则适用于lnmp</p>
<p><div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">if (!-e $request_filename)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; rewrite ^/index.html$ /index.php last;<br />
&nbsp; &nbsp; rewrite ^/category$ /index.php last;<br />
&nbsp; &nbsp; rewrite ^/feed-c([0-9]+).xml$ /feed.php?cat=$1 last;<br />
&nbsp; &nbsp; rewrite ^/feed-b([0-9]+).xml$ /feed.php?brand=$1 last;<br />
&nbsp; &nbsp; rewrite ^/feed-type([^-]+).xml$ /feed.php?type=$1 last;<br />
&nbsp; &nbsp; rewrite ^/feed.xml$ /feed.php last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&amp;amp;brand=$2&amp;amp;price_min=$3&amp;amp;price_max=$4&amp;amp;filter_attr=$5&amp;amp;page=$6&amp;amp;sort=$7&amp;amp;order=$8 last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*).html$ /category.php?id=$1&amp;amp;brand=$2&amp;amp;price_min=$3&amp;amp;price_max=$4&amp;amp;filter_attr=$5 last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /category.php?id=$1&amp;amp;brand=$2&amp;amp;page=$3&amp;amp;sort=$4&amp;amp;order=$5 last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*).html$ /category.php?id=$1&amp;amp;brand=$2&amp;amp;page=$3 last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)-b([0-9]+)(.*).html$ /category.php?id=$1&amp;amp;brand=$2 last;<br />
&nbsp; &nbsp; rewrite ^/category-([0-9]+)(.*).html$ /category.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/goods-([0-9]+)(.*).html$ /goods.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /article_cat.php?id=$1&amp;amp;page=$2&amp;amp;sort=$3&amp;amp;order=$4 last;<br />
&nbsp; &nbsp; rewrite ^/article_cat-([0-9]+)-([0-9]+)-(.+)(.*).html$ /article_cat.php?id=$1&amp;amp;page=$2&amp;amp;keywords=$3 last;<br />
&nbsp; &nbsp; rewrite ^/article_cat-([0-9]+)-([0-9]+)(.*).html$ /article_cat.php?id=$1&amp;amp;page=$2 last;<br />
&nbsp; &nbsp; rewrite ^/article_cat-([0-9]+)(.*).html$ /article_cat.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/article-([0-9]+)(.*).html$ /article.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+).html /brand.php?id=$1&amp;amp;cat=$2&amp;amp;page=$3&amp;amp;sort=$4&amp;amp;order=$5 last;<br />
&nbsp; &nbsp; rewrite ^/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*).html /brand.php?id=$1&amp;amp;cat=$2&amp;amp;page=$3 last;<br />
&nbsp; &nbsp; rewrite ^/brand-([0-9]+)-c([0-9]+)(.*).html /brand.php?id=$1&amp;amp;cat=$2 last;<br />
&nbsp; &nbsp; rewrite ^/brand-([0-9]+)(.*).html /brand.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/tag-(.*).html /search.php?keywords=$1 last;<br />
&nbsp; &nbsp; rewrite ^/snatch-([0-9]+).html$ /snatch.php?id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/group_buy-([0-9]+).html$ /group_buy.php?act=view&amp;amp;id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/auction-([0-9]+).html$ /auction.php?act=view&amp;amp;id=$1 last;<br />
&nbsp; &nbsp; rewrite ^/exchange-id([0-9]+)(.*).html$ /exchange.php?id=$1&amp;amp;act=view last;<br />
&nbsp; &nbsp; rewrite ^/exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /exchange.php?cat_id=$1&amp;amp;integral_min=$2&amp;amp;integral_max=$3&amp;amp;page=$4&amp;amp;sort=$5&amp;amp;order=$6 last;<br />
&nbsp; &nbsp; rewrite ^/exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*).html$ /exchange.php?cat_id=$1&amp;amp;page=$2&amp;amp;sort=$3&amp;amp;order=$4 last;<br />
&nbsp; &nbsp; rewrite ^/exchange-([0-9]+)-([0-9]+)(.*).html$ /exchange.php?cat_id=$1&amp;amp;page=$2 last;<br />
&nbsp; &nbsp; rewrite ^/exchange-([0-9]+)(.*).html$ /exchange.php?cat_id=$1 last;<br />
&nbsp; &nbsp; }</div></td></tr></tbody></table></div>
<p>&nbsp;</p>

	标签：<a href="http://www.zhaojian.net/tag/ecshop-nginx-rewrite/" title="ecshop nginx rewrite" rel="tag">ecshop nginx rewrite</a>, <a href="http://www.zhaojian.net/tag/ecshop-nginx%e9%87%8d%e5%86%99/" title="ecshop nginx重写" rel="tag">ecshop nginx重写</a>, <a href="http://www.zhaojian.net/tag/ecshop-rewrite%e8%a7%84%e5%88%99/" title="ecshop rewrite规则" rel="tag">ecshop rewrite规则</a>, <a href="http://www.zhaojian.net/tag/ecshop%e9%87%8d%e5%86%99%e8%a7%84%e5%88%99/" title="ecshop重写规则" rel="tag">ecshop重写规则</a>, <a href="http://www.zhaojian.net/tag/lnmp-ecshop/" title="lnmp ecshop" rel="tag">lnmp ecshop</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/ecshop-nginx-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.6 修改国内网易163高速源</title>
		<link>http://www.zhaojian.net/centos-56-163/</link>
		<comments>http://www.zhaojian.net/centos-56-163/#comments</comments>
		<pubDate>Fri, 27 May 2011 20:22:20 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[CentOS 5.6修改源]]></category>
		<category><![CDATA[CentOS 5.6网易源]]></category>
		<category><![CDATA[CentOS 5.6网络安装]]></category>
		<category><![CDATA[CentOS163源]]></category>
		<category><![CDATA[CentOS网易源]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=1129</guid>
		<description><![CDATA[&#160; CentOS 5.6 修改国内网易163高速源 cd&#160;/etc/yum.repos.d/ cp&#160;CentOS-Base.repo CentOS-Base.repo.bak vi&#160;CentOS-Base.repo 粘贴如下内容 # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. &#160;You should use this for CentOS updates # unless [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="http://www.zhaojian.net/tag/centos/" class="st_tag internal_tag" rel="tag" title="标签 centos 下的日志">CentOS</a> 5.6 修改国内网易163高速源</p>
<p>	cd&nbsp;/etc/yum.repos.d/<br />
	cp&nbsp;CentOS-Base.repo CentOS-Base.repo.bak<br />
	vi&nbsp;CentOS-Base.repo</p>
<p>	粘贴如下内容</p>
<p>	# CentOS-Base.repo</p>
<p>#</p>
<p># The mirror system uses the connecting IP address of the client and the</p>
<p># update status of each mirror to pick mirrors that are updated to and</p>
<p># geographically close to the client. &nbsp;You should use this for CentOS updates</p>
<p># unless you are manually picking other mirrors.</p>
<p>#</p>
<p># If the mirrorlist= does not work for you, as a fall back you can try the&nbsp;</p>
<p># remarked out baseurl= line instead.</p>
<p>#</p>
<p>#</p>
<p>&nbsp;</p>
<p>[base]</p>
<p>name=CentOS-5.6 &#8211; Base &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/os/i386/">http://mirrors.163.com/centos/5.6/os/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=os">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=os</a></p>
<p>gpgcheck=1</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>
<p>&nbsp;</p>
<p>#released updates&nbsp;</p>
<p>[updates]</p>
<p>name=CentOS-5.6 &#8211; Updates &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/updates/i386/">http://mirrors.163.com/centos/5.6/updates/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=updates">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=updates</a></p>
<p>gpgcheck=1</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>
<p>&nbsp;</p>
<p>#packages used/produced in the build but not released</p>
<p>[addons]</p>
<p>name=CentOS-5.6 &#8211; Addons &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/addons/i386/">http://mirrors.163.com/centos/5.6/addons/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=addons">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=addons</a></p>
<p>gpgcheck=1</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>
<p>&nbsp;</p>
<p>#additional packages that may be useful</p>
<p>[extras]</p>
<p>name=CentOS-5.6 &#8211; Extras &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/extras/i386/">http://mirrors.163.com/centos/5.6/extras/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=extras">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=extras</a></p>
<p>gpgcheck=1</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>
<p>&nbsp;</p>
<p>#additional packages that extend functionality of existing packages</p>
<p>[centosplus]</p>
<p>name=CentOS-5.6 &#8211; Plus &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/centosplus/i386/">http://mirrors.163.com/centos/5.6/centosplus/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=centosplus">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=centosplus</a></p>
<p>gpgcheck=1</p>
<p>enabled=0</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>
<p>&nbsp;</p>
<p>#contrib &#8211; packages by Centos Users</p>
<p>[contrib]</p>
<p>name=CentOS-5.6 &#8211; Contrib &#8211; 163.com</p>
<p>baseurl=<a href="http://mirrors.163.com/centos/5.6/contrib/i386/">http://mirrors.163.com/centos/5.6/contrib/i386/</a></p>
<p>#mirrorlist=<a href="http://mirrorlist.centos.org/?release=5.6&#038;arch=i386&#038;repo=contrib">http://mirrorlist.centos.org/?release=5.6&amp;arch=i386&amp;repo=contrib</a></p>
<p>gpgcheck=1</p>
<p>enabled=0</p>
<p>gpgkey=<a href="http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5">http://mirrors.163.com/centos/5.6/os/i386/RPM-GPG-KEY-CentOS-5</a></p>

	标签：<a href="http://www.zhaojian.net/tag/centos-5-6%e4%bf%ae%e6%94%b9%e6%ba%90/" title="CentOS 5.6修改源" rel="tag">CentOS 5.6修改源</a>, <a href="http://www.zhaojian.net/tag/centos-5-6%e7%bd%91%e6%98%93%e6%ba%90/" title="CentOS 5.6网易源" rel="tag">CentOS 5.6网易源</a>, <a href="http://www.zhaojian.net/tag/centos-5-6%e7%bd%91%e7%bb%9c%e5%ae%89%e8%a3%85/" title="CentOS 5.6网络安装" rel="tag">CentOS 5.6网络安装</a>, <a href="http://www.zhaojian.net/tag/centos163%e6%ba%90/" title="CentOS163源" rel="tag">CentOS163源</a>, <a href="http://www.zhaojian.net/tag/centos%e7%bd%91%e6%98%93%e6%ba%90/" title="CentOS网易源" rel="tag">CentOS网易源</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/centos-56-163/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 个最酷的 Linux 单行命令</title>
		<link>http://www.zhaojian.net/10-ge-zui-ku-de-linux-dan-xing-ming-ling/</link>
		<comments>http://www.zhaojian.net/10-ge-zui-ku-de-linux-dan-xing-ming-ling/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 11:51:57 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[命令]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=1098</guid>
		<description><![CDATA[下面是来自 Commandlinefu 网站由用户投票决出的 10 个最酷的 Linux 单行命令，希望对你有用。 【10】sudo !! 以 root 帐户执行上一条命令。 【9】python -m SimpleHTTPServer 利用 Python 搭建一个简单的 Web 服务器，可通过 http://$HOSTNAME:8000 访问。 【8】:w !sudo tee % 在 Vim 中无需权限保存编辑的文件。 【7】cd - 更改到上一次访问的目录。 【6】^foo^bar 将上一条命令中的 foo 替换为 bar，并执行。 【5】cp filename{,.bak} 快速备份或复制文件。 【4】mtr google.com traceroute + ping。 【3】!whatever:p 搜索命令历史，但不执行。 【2】$ssh-copy-id user@host 将 ssh keys 复制到 user@host 以启用无密码 [...]]]></description>
			<content:encoded><![CDATA[<p>下面是来自 Commandlinefu 网站由用户投票决出的 10 个最酷的 <a href="http://www.zhaojian.net/tag/linux/" class="st_tag internal_tag" rel="tag" title="标签 linux 下的日志">Linux</a> 单行<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e5%91%bd%e4%bb%a4/" title="查看 命令 中的全部文章" target="_blank">命令</a></span>，希望对你有用。<br />
【10】sudo !!<br />
以 root 帐户执行上一条<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e5%91%bd%e4%bb%a4/" title="查看 命令 中的全部文章" target="_blank">命令</a></span>。<br />
【9】python -m SimpleHTTPServer<br />
利用 Python 搭建一个简单的 Web 服务器，可通过 http://$HOSTNAME:8000 访问。<br />
【8】:w !sudo tee %<br />
在 Vim 中无需权限保存编辑的文件。<br />
【7】cd -<br />
更改到上一次访问的目录。<br />
【6】^foo^bar<br />
将上一条命令中的 foo 替换为 bar，并执行。<br />
【5】cp filename{,.bak}<br />
快速备份或复制文件。<br />
【4】mtr google.com<br />
traceroute + ping。<br />
【3】!whatever:p<br />
搜索命令历史，但不执行。<br />
【2】$ssh-copy-id user@host<br />
将 ssh keys 复制到 user@host 以启用无密码 SSH 登录。<br />
【1】ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg<br />
把 Linux 桌面录制为视频。</p>

	标签：<a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.zhaojian.net/tag/%e5%91%bd%e4%bb%a4/" title="命令" rel="tag">命令</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/10-ge-zui-ku-de-linux-dan-xing-ming-ling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows下的Apache+PHP+MySQL绿色环境套件包PHPnow1.5.5发布</title>
		<link>http://www.zhaojian.net/windows-xia-de-apache-php-mysql-lvse-huanjing-taojian-bao-phpnow-1-5-5-fabu/</link>
		<comments>http://www.zhaojian.net/windows-xia-de-apache-php-mysql-lvse-huanjing-taojian-bao-phpnow-1-5-5-fabu/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 13:15:34 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Apache技术]]></category>
		<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[MySQL技术]]></category>
		<category><![CDATA[PHP技术]]></category>
		<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dedecms]]></category>
		<category><![CDATA[discuz]]></category>
		<category><![CDATA[eaccelerator]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[phpnow]]></category>
		<category><![CDATA[php本地环境]]></category>
		<category><![CDATA[php绿色套件]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Zend Optimizer]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=664</guid>
		<description><![CDATA[PHPnow 是 Win32 下绿色的 Apache + PHP + MySQL 环境套件包。简易安装、快速搭建支持虚拟主机的 PHP 环境。附带 PnCp.cmd 控制面板，帮助你快速配置你的套件，使用非常方便。 安装 PHPnow 只需解压、初始化，就可得到一个标准的 PHP + MySQL 的服务器环境。然后就可以直接安装 Discuz! 等程序，或者进行 PHP 开发调试。 国内的专业PHP集成环境，在中国农历新年即将到来时候发布，一个更新。这的确让人激动。希望这个让初 学者上手的套件环境不要离我们远去。 官方主页：http://www.phpnow.org 最新版本包含： Apache-2.0.63 / 2.2.14 PHP-5.2.12 MySQL-5.0.89 / 5.1.42 Zend Optimizer-3.3.3 phpMyAdmin-3.2.5 * eAccelerator 0.9.6-svn379 * 默认没有启用。执行 PnCp.cmd 选 3 启用。 下载:PHPnow-1.5.5 标签：apache, dedecms, discuz, eaccelerator, mysql, PHP, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zhaojian.net/tag/phpnow/" class="st_tag internal_tag" rel="tag" title="标签 phpnow 下的日志">PHPnow</a> 是 Win32 下绿色的 <a href="http://www.zhaojian.net/tag/apache/" class="st_tag internal_tag" rel="tag" title="标签 apache 下的日志">Apache</a> + <a href="http://www.zhaojian.net/tag/php/" class="st_tag internal_tag" rel="tag" title="标签 PHP 下的日志">PHP</a> + <a href="http://www.zhaojian.net/tag/mysql/" class="st_tag internal_tag" rel="tag" title="标签 mysql 下的日志">MySQL</a>  环境套件包。简易安装、快速搭建支持虚拟主机的 <span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/php/" title="查看 PHP 中的全部文章" target="_blank">PHP</a></span> 环境。附带 PnCp.cmd 控制面板，帮助你快速配置你的套件，使用非常方便。<br />
安装  <span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/php/" title="查看 PHP 中的全部文章" target="_blank">PHP</a></span>now 只需解压、初始化，就可得到一个标准的 PHP + MySQL 的服务器环境。然后就可以直接安装 <a href="http://www.zhaojian.net/tag/discuz/" class="st_tag internal_tag" rel="tag" title="标签 discuz 下的日志">Discuz</a>! 等程序，或者进行  PHP 开发调试。</p>
<p>国内的专业PHP集成环境，在中国农历新年即将到来时候发布，一个更新。这的确让人激动。希望这个让初 学者上手的套件环境不要离<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>们远去。<br />
官方主页：<a href="http://www.phpnow.org/">http://www.phpnow.org</a></p>
<p>最新版本包含：</p>
<ul>
<li><a href="http://httpd.apache.org/">Apache</a>-2.0.63 / 2.2.14</li>
<li><a href="http://cn.php.net/">PHP</a>-5.2.12</li>
<li><a href="http://www.mysql.com/">MySQL</a>-5.0.89  / 5.1.42</li>
<li><a href="http://zend.com/products/zend_optimizer">Zend Optimizer</a>-3.3.3</li>
<li><a href="http://www.phpmyadmin.net/">phpMyAdmin</a>-3.2.5</li>
<li>* <a href="http://www.zhaojian.net/tag/eaccelerator/" class="st_tag internal_tag" rel="tag" title="标签 eaccelerator 下的日志">eAccelerator</a>  0.9.6-svn379</li>
</ul>
<p>* 默认没有启用。执行 PnCp.cmd 选 3  启用。</p>
<p>下载:<a href="http://www.phpnow.org/download.html" target="_blank">PHPnow-1.5.5</a></p>

	标签：<a href="http://www.zhaojian.net/tag/apache/" title="apache" rel="tag">apache</a>, <a href="http://www.zhaojian.net/tag/dedecms/" title="dedecms" rel="tag">dedecms</a>, <a href="http://www.zhaojian.net/tag/discuz/" title="discuz" rel="tag">discuz</a>, <a href="http://www.zhaojian.net/tag/eaccelerator/" title="eaccelerator" rel="tag">eaccelerator</a>, <a href="http://www.zhaojian.net/tag/mysql/" title="mysql" rel="tag">mysql</a>, <a href="http://www.zhaojian.net/tag/php/" title="PHP" rel="tag">PHP</a>, <a href="http://www.zhaojian.net/tag/phpmyadmin/" title="phpMyAdmin" rel="tag">phpMyAdmin</a>, <a href="http://www.zhaojian.net/tag/phpnow/" title="phpnow" rel="tag">phpnow</a>, <a href="http://www.zhaojian.net/tag/php%e6%9c%ac%e5%9c%b0%e7%8e%af%e5%a2%83/" title="php本地环境" rel="tag">php本地环境</a>, <a href="http://www.zhaojian.net/tag/php%e7%bb%bf%e8%89%b2%e5%a5%97%e4%bb%b6/" title="php绿色套件" rel="tag">php绿色套件</a>, <a href="http://www.zhaojian.net/tag/windows/" title="windows" rel="tag">windows</a>, <a href="http://www.zhaojian.net/tag/zend-optimizer/" title="Zend Optimizer" rel="tag">Zend Optimizer</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/windows-xia-de-apache-php-mysql-lvse-huanjing-taojian-bao-phpnow-1-5-5-fabu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux下解决Xmarks不能同步或连接被重置方法</title>
		<link>http://www.zhaojian.net/linuxxia-jie-jue-xmarksbu-neng-tong-bu-huo-lian-jie-bei-zhong-zhi-fang-fa/</link>
		<comments>http://www.zhaojian.net/linuxxia-jie-jue-xmarksbu-neng-tong-bu-huo-lian-jie-bei-zhong-zhi-fang-fa/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:48:51 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[技术随笔]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Xmarks]]></category>
		<category><![CDATA[xmarks不能同步]]></category>
		<category><![CDATA[xmarks同步]]></category>
		<category><![CDATA[xmarks更新]]></category>
		<category><![CDATA[xmarks连接被重置]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=629</guid>
		<description><![CDATA[在终端运行 sudo gedit /etc/hosts 在弹出的编辑器中输入以下内容： #xmarks 64.147.188.86 www.xmarks.com 64.147.188.92 api.xmarks.com 64.147.188.89 login.xmarks.com 64.147.188.87 sync.xmarks.com 64.147.188.86 static.xmarks.com 64.147.188.86 download.xmarks.com 64.147.188.86 my.xmarks.com 保存后，打开xmarks设置菜单，选择“高级”，加密那个下拉框里面选择“全部加密”，就可以同步了。 标签：Firefox, hosts, linux, ubuntu, Xmarks, xmarks不能同步, xmarks同步, xmarks更新, xmarks连接被重置]]></description>
			<content:encoded><![CDATA[<p>在终端运行</p>
<p>sudo gedit /etc/<a href="http://www.zhaojian.net/tag/hosts/" class="st_tag internal_tag" rel="tag" title="标签 hosts 下的日志">hosts</a></p>
<p>在弹出的编辑器中输入以下内容：</p>
<p>#<a href="http://www.zhaojian.net/tag/xmarks/" class="st_tag internal_tag" rel="tag" title="标签 Xmarks 下的日志">xmarks</a><br />
64.147.188.86   <a href="http://www.xmarks.com">www.xmarks.com</a><br />
64.147.188.92   api.xmarks.com<br />
64.147.188.89   login.xmarks.com<br />
64.147.188.87   sync.xmarks.com<br />
64.147.188.86   static.xmarks.com<br />
64.147.188.86   download.xmarks.com<br />
64.147.188.86   my.xmarks.com<br />
保存后，打开xmarks设置菜单，选择“高级”，加密那个下拉框里面选择“全部加密”，就可以同步了。</p>

	标签：<a href="http://www.zhaojian.net/tag/firefox/" title="Firefox" rel="tag">Firefox</a>, <a href="http://www.zhaojian.net/tag/hosts/" title="hosts" rel="tag">hosts</a>, <a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.zhaojian.net/tag/ubuntu/" title="ubuntu" rel="tag">ubuntu</a>, <a href="http://www.zhaojian.net/tag/xmarks/" title="Xmarks" rel="tag">Xmarks</a>, <a href="http://www.zhaojian.net/tag/xmarks%e4%b8%8d%e8%83%bd%e5%90%8c%e6%ad%a5/" title="xmarks不能同步" rel="tag">xmarks不能同步</a>, <a href="http://www.zhaojian.net/tag/xmarks%e5%90%8c%e6%ad%a5/" title="xmarks同步" rel="tag">xmarks同步</a>, <a href="http://www.zhaojian.net/tag/xmarks%e6%9b%b4%e6%96%b0/" title="xmarks更新" rel="tag">xmarks更新</a>, <a href="http://www.zhaojian.net/tag/xmarks%e8%bf%9e%e6%8e%a5%e8%a2%ab%e9%87%8d%e7%bd%ae/" title="xmarks连接被重置" rel="tag">xmarks连接被重置</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/linuxxia-jie-jue-xmarksbu-neng-tong-bu-huo-lian-jie-bei-zhong-zhi-fang-fa/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>黑客再爆Linux内核高危漏洞，一个命令可以攻击所有Linux系统</title>
		<link>http://www.zhaojian.net/hei-ke-zai-bao-linuxnei-he-gao-wei-lou-dong-yi-ge-ming-ling-ke-yi-gong-ji-suo-you-linuxxi-tong/</link>
		<comments>http://www.zhaojian.net/hei-ke-zai-bao-linuxnei-he-gao-wei-lou-dong-yi-ge-ming-ling-ke-yi-gong-ji-suo-you-linuxxi-tong/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 09:02:21 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[内核]]></category>
		<category><![CDATA[漏洞]]></category>
		<category><![CDATA[黑客]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=442</guid>
		<description><![CDATA[在微软本月月经日(8.11)的同一天，国外黑客taviso和julien公开了可以攻击所有新旧Linux系统的一个漏洞，包括但不限于 RedHat,CentOS,Suse,Debian,Ubuntu,Slackware,Mandriva,Gentoo及其衍生系统。黑客只需要执行一个命令，就可以通过此漏洞获得root权限，即使开启了SELinux也于事无补。攻击这个漏洞到底有多简单，下面我们看图说话，有图有真相。 CHANGELOGS: 2009/08/16 chenjun@xfocus提供了debian/ubuntu系统的修复方式。 2009/08/16 根据网友要求添加漏洞详情和exploit下载地址。 2009/08/16 改进修复方式，避免RHEL下的无效修复。感谢小阮MM反馈并提供服务器协助定位解决。 2009/08/16 添加攻击经验记录。感谢cnbird分享经验。 2009/08/17 修正攻击经验记录。感谢xiaoyu,wzt指出selinux相关错误。 如上图所示，利用此漏洞极其简单，并且影响所有的Linux内核，baoz强烈建议系统管理员或安全人员参考下列临时修复方案，以防止Linux系统被攻击 。 1、使用Grsecurity或者Pax内核安全补丁，并开启KERNEXEC防护功能。 2、升级到2.6.31-rc6或2.4.37.5以上的内核版本。 3、如果您使用的是RedHa tEnterprise Linux 4/5的系统或Centos4/5的系统，您可以通过下面的操作简单的操作防止被攻击。 在/etc/modprobe.conf文件中加入下列内容： install pppox /bin/true install bluetooth /bin/true install appletalk /bin/true install ipx /bin/true install sctp /bin/true 执行/sbin/lsmod &#124; grep -e ppp -e blue -e app -e ipx -e sct，如果没有输出，你不需要重启，如果有输出，你需要重启系统，才可以对此攻击免疫。 下图是免疫前后的效果对比图： 4、如果您使用的是Debian或Ubuntu系统，您可以通过下面的操作防止被攻击（感谢chenjun提供） cat > /etc/modprobe.d/mitigate-2692.conf]]></description>
			<content:encoded><![CDATA[<p>在微软本月月经日(8.11)的同一天，国外<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e9%bb%91%e5%ae%a2/" title="查看 黑客 中的全部文章" target="_blank">黑客</a></span>taviso和julien公开了可以攻击所有新旧Linux系统的一个<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e6%bc%8f%e6%b4%9e/" title="查看 漏洞 中的全部文章" target="_blank">漏洞</a></span>，包括但不限于 RedHat,<a href="http://www.zhaojian.net/tag/centos/" class="st_tag internal_tag" rel="tag" title="标签 centos 下的日志">CentOS</a>,Suse,Debian,<a href="http://www.zhaojian.net/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="标签 ubuntu 下的日志">Ubuntu</a>,Slackware,Mandriva,Gentoo及其衍生系统。<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e9%bb%91%e5%ae%a2/" title="查看 黑客 中的全部文章" target="_blank">黑客</a></span>只需要执行一个命令，就可以通过此<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e6%bc%8f%e6%b4%9e/" title="查看 漏洞 中的全部文章" target="_blank">漏洞</a></span>获得root权限，即使开启了SELinux也于事无补。攻击这个<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e6%bc%8f%e6%b4%9e/" title="查看 漏洞 中的全部文章" target="_blank">漏洞</a></span>到底有多简单，下面<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>们看图说话，有图有真相。</p>
<p>CHANGELOGS:</p>
<p>2009/08/16 chenjun@xfocus提供了debian/ubuntu系统的修复方式。</p>
<p>2009/08/16 根据网友要求添加漏洞详情和exploit下载地址。</p>
<p>2009/08/16 改进修复方式，避免RHEL下的无效修复。感谢小阮MM反馈并提供服务器协助定位解决。</p>
<p>2009/08/16 添加攻击经验记录。感谢cnbird分享经验。</p>
<p>2009/08/17 修正攻击经验记录。感谢xiaoyu,wzt指出se<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/linux/" title="查看 linux 中的全部文章" target="_blank">linux</a></span>相关错误。</p>
<p><img src="http://baoz.net/wp-content/2009/08/linuxlocalroot1.png" alt="" /></p>
<p>如上图所示，利用此漏洞极其简单，并且影响所有的Linux<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e5%86%85%e6%a0%b8/" title="查看 内核 中的全部文章" target="_blank">内核</a></span>，baoz强烈建议系统管理员或安全人员参考下列临时修复方案，以防止Linux系统被攻击 。</p>
<p>1、使用Grsecurity或者Pax<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e5%86%85%e6%a0%b8/" title="查看 内核 中的全部文章" target="_blank">内核</a></span>安全补丁，并开启KERNEXEC防护功能。</p>
<p>2、升级到2.6.31-rc6或2.4.37.5以上的<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/%e5%86%85%e6%a0%b8/" title="查看 内核 中的全部文章" target="_blank">内核</a></span>版本。</p>
<p>3、如果您使用的是RedHa tEnterprise <a href="http://www.zhaojian.net/tag/linux/" class="st_tag internal_tag" rel="tag" title="标签 linux 下的日志">Linux</a> 4/5的系统或Centos4/5的系统，您可以通过下面的操作简单的操作防止被攻击。</p>
<p>在/etc/modprobe.conf文件中加入下列内容：</p>
<p>install pppox /bin/true<br />
install bluetooth /bin/true<br />
install appletalk /bin/true<br />
install ipx /bin/true<br />
install sctp /bin/true</p>
<p>执行/sbin/lsmod | grep -e ppp -e blue -e app -e ipx -e sct，如果没有输出，你不需要重启，如果有输出，你需要重启系统，才可以对此攻击免疫。</p>
<p>下图是免疫前后的效果对比图：</p>
<p><img src="http://baoz.net/wp-content/2009/08/2.6local.png" alt="" /></p>
<p><img src="http://baoz.net/wp-content/2009/08/mianyi.png" alt="" /></p>
<p>4、如果您使用的是Debian或Ubuntu系统，您可以通过下面的操作防止被攻击（感谢chenjun提供）</p>
<p>cat > /etc/modprobe.d/mitigate-2692.conf << EOM<br />
install ppp_generic /bin/true<br />
install pppoe /bin/true<br />
install pppox /bin/true<br />
install slhc /bin/true<br />
install bluetooth /bin/true<br />
install ipv6 /bin/true<br />
install irda /bin/true<br />
install ax25 /bin/true<br />
install x25 /bin/true<br />
install ipx /bin/true<br />
install appletalk /bin/true<br />
EOM<br />
/etc/init.d/bluez-utils stop</p>
<p>很明显，第三、四个方案最简单也相对有效，对业务影响也最小，如果您对编译和安装Linux内核不熟悉，千万不要使用前两个方案，否则您的系统可能永远无法启动。</p>
<p>如果你希望了解漏洞详情，请访问下列URL：</p>
<p><a href="http://archives.neohapsis.com/archives/fulldisclosure/2009-08/0174.html">http://archives.neohapsis.com/archives/fulldisclosure/2009-08/0174.html</a></p>
<p><a href="http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html">http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html</a></p>
<p><a href="https://bugzilla.redhat.com/show_bug.cgi?id=516949">https://bugzilla.redhat.com/show_bug.cgi?id=516949</a></p>
<p>如果你希望亲手验证此漏洞，你可以下载下列两个代码包测试（有可能导致系统不稳定，当机等现象，后果自负）：</p>
<p><a href="http://www.securityfocus.com/data/vulnerabilities/exploits/wunderbar_emporium-3.tgz">http://www.securityfocus.com/data/vulnerabilities/exploits/wunderbar_emporium-3.tgz</a></p>
<p><a href="http://www.securityfocus.com/data/vulnerabilities/exploits/36038-4.tgz">http://www.securityfocus.com/data/vulnerabilities/exploits/36038-4.tgz</a></p>
<p>攻击经验记录：</p>
<p>1、exp和se<span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/linux/" title="查看 linux 中的全部文章" target="_blank">linux</a></span>多多少少有点关系，和内核版本，系统版本也有关系，根据wzt提供的信息Recent kernels with mmap_min_addr support may prevent exploitation if<br />
the sysctl vm.mmap_min_addr is set above zero来看，exp和vm.mmap_min_addr有更紧密的关系，具体如何大家自己去摸索好了。最好的办法是，把所有的RHEL4.x 5.x都装一次，开关selinux，挨个exp一遍。xiaoyu提醒大家，如果改变了exp的状态，首先要重启，其次建议删除老的文件，重新编译一次 exp。</p>
<p>2、回连的shell溢出虽然可以成功，但uid不是0，解决办法是用一个带pty的shell。这个经验由cnbird提供。</p>
<p>Linux在微软的月经日爆如此严重的漏洞，挺值得纪念的。如果您希望了解本漏洞更多的内幕、八卦和细节，请访问<a href="http://baoz.net/linux-sockops-wrap-proto-ops-local-root-exploit">http://baoz.net/linux-sockops-wrap-proto-ops-local-root-exploit</a></p>

	标签：<a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.zhaojian.net/tag/%e5%86%85%e6%a0%b8/" title="内核" rel="tag">内核</a>, <a href="http://www.zhaojian.net/tag/%e6%bc%8f%e6%b4%9e/" title="漏洞" rel="tag">漏洞</a>, <a href="http://www.zhaojian.net/tag/%e9%bb%91%e5%ae%a2/" title="黑客" rel="tag">黑客</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/hei-ke-zai-bao-linuxnei-he-gao-wei-lou-dong-yi-ge-ming-ling-ke-yi-gong-ji-suo-you-linuxxi-tong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>项目管理员失踪-CentOS的迷糊未来</title>
		<link>http://www.zhaojian.net/xiang-mu-guan-li-yuan-shi-zong-centosde-mi-hu-wei-lai/</link>
		<comments>http://www.zhaojian.net/xiang-mu-guan-li-yuan-shi-zong-centosde-mi-hu-wei-lai/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 12:44:35 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=421</guid>
		<description><![CDATA[CentOS 是一个建立在红帽企业Linux基础上的免费提供源代码的 Linux 发行部，目前已经触及了重大冲击的道路：该项目的主要管理者，兰斯戴维斯目前失踪中。这是怎样的一个问题，因为戴维斯是CentOS.org域名、IRC 频道和CentOS资金唯一的管理员。 其他CentOS小组成员在一封公开信中详细介绍了项目的困境： 这是CentOS开发组成员给给兰斯戴维斯的一封公开信，令人遗憾的是，我们不得不发出这封信，但我们没有其他选择。一段时间以来，我们一直在试图解决这些问题： 您似乎已经爬进了一个洞&#8230;这是不能接受的。 您长期承诺的CentOS计划资金没有如期到来，您是 centos.org 域名的唯一管理员却没有承担起应有的责任，作为 IRC 频道和 CentOS 资金管理员，一样如此。 在过去的两个星期内，当我们尝试呼叫你在英国专用的电话号码时，总是提示线路繁忙。直到昨天，才有你摘机的语音邮件声音，和我离开的消息迫切要求答复。 Karanbir报告还呼吁，并保留邮件没有收到您的回覆。 请不要让你所管理的 CentOS 项目就这么消亡。 很显然，一旦所有开发者都离开，那么这个项目肯定就死了。 请与我联系，或者回复此邮件，安排必要的工作，以保持该项目和 centos.org 域名持续进行。 此致 Russ Herrold Ralph Angenendt Karanbir Singh Jim Perrin Donavan Nelson Tim Verhoeven Tru Huynh Johnny Hughes 标签：centos, linux]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zhaojian.net/tag/centos/" class="st_tag internal_tag" rel="tag" title="标签 centos 下的日志">CentOS</a> 是一个建立在红帽企业Linux基础上的免费提供源代码的 <a href="http://www.zhaojian.net/tag/linux/" class="st_tag internal_tag" rel="tag" title="标签 linux 下的日志">Linux</a> 发行部，目前已经触及了重大冲击的道路：该项目的主要管理者，兰斯戴维斯目前失踪中。这是怎样的一个问题，因为戴维斯是CentOS.org域名、IRC 频道和CentOS资金唯一的管理员。</p>
<p>其他CentOS小组成员在一封公开信中详细介绍了项目的困境：</p>
<p>这是CentOS开发组成员给给兰斯戴维斯的一封公开信，令人遗憾的是，<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>们不得不发出这封信，但<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>们没有其他选择。一段时间以来，我们一直在试图解决这些问题： 您似乎已经爬进了一个洞&#8230;这是不能接受的。</p>
<p>您长期承诺的CentOS计划资金没有如期到来，您是 <span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/centos/" title="查看 centos 中的全部文章" target="_blank">centos</a></span>.org 域名的唯一管理员却没有承担起应有的责任，作为 IRC 频道和 CentOS 资金管理员，一样如此。</p>
<p>在过去的两个星期内，当我们尝试呼叫你在英国专用的电话号码时，总是提示线路繁忙。直到昨天，才有你摘机的语音邮件声音，和我离开的消息迫切要求答复。 Karanbir报告还呼吁，并保留邮件没有收到您的回覆。</p>
<p>请不要让你所管理的 CentOS 项目就这么消亡。</p>
<p>很显然，一旦所有开发者都离开，那么这个项目肯定就死了。</p>
<p>请与我联系，或者回复此邮件，安排必要的工作，以保持该项目和 <span class='wp_keywordlink_affiliate'><a href="http://www.zhaojian.net/tag/centos/" title="查看 centos 中的全部文章" target="_blank">centos</a></span>.org 域名持续进行。</p>
<p>此致</p>
<p>Russ Herrold<br />
Ralph Angenendt<br />
Karanbir Singh<br />
Jim Perrin<br />
Donavan Nelson<br />
Tim Verhoeven<br />
Tru Huynh<br />
Johnny Hughes</p>

	标签：<a href="http://www.zhaojian.net/tag/centos/" title="centos" rel="tag">centos</a>, <a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/xiang-mu-guan-li-yuan-shi-zong-centosde-mi-hu-wei-lai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux各发行版本优缺点评测</title>
		<link>http://www.zhaojian.net/linuxge-fa-xing-ban-ben-you-que-dian-ping-ce/</link>
		<comments>http://www.zhaojian.net/linuxge-fa-xing-ban-ben-you-que-dian-ping-ce/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 10:42:00 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[评测]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=370</guid>
		<description><![CDATA[Linux最早由Linus Benedict Torvalds在1991年开始编写。在这之前，Richard Stallman创建了Free Software Foundation（FSF）组织以及GNU项目，并不断的编写创建GNU程序（此类程序的许可方式均为GPL: General Public License）。在不断的有杰出的程序员和开发者加入到GNU组织中后，便造就了今天我们所看到的Linux，或称GNU/Linux。 Linux的发行版本可以大体分为两类，一类是商业公司维护的发行版本，一类是社区组织维护的发行版本，前者以著名的Redhat（RHEL）为代表，后者以Debian为代表。下面介绍一下各个发行版本的特点： Redhat，应该称为Redhat系列，包括RHEL(Redhat Enterprise Linux，也就是所谓的Redhat Advance Server，收费版本)、Fedora Core(由原来的Redhat桌面版本发展而来，免费版本)、CentOS(RHEL的社区克隆版本，免费)。Redhat应该说是在国内使用人群最多 的Linux版本，甚至有人将Redhat等同于Linux，而有些老鸟更是只用这一个版本的Linux。所以这个版本的特点就是使用人群数量大，资料非 常多，言下之意就是如果你有什么不明白的地方，很容易找到人来问，而且网上的一般Linux教程都是以Redhat为例来讲解的。Redhat系列的包管 理方式采用的是基于RPM包的YUM包管理方式，包分发方式是编译好的二进制文件。稳定性方面RHEL和CentOS的稳定性非常好，适合于服务器使用， 但是Fedora Core的稳定性较差，最好只用于桌面应用。 Debian，或者称Debian系列，包括Debian和Ubuntu等。Debian是社区类Linux的典范，是迄今为止最遵循GNU规范 的Linux系统。Debian最早由Ian Murdock于1993年创建，分为三个版本分支（branch）： stable, testing 和 unstable。其中，unstable为最新的测试版本，其中包括最新的软件包，但是也有相对较多的bug，适合桌面用户。testing的版本都经 过unstable中的测试，相对较为稳定，也支持了不少新技术（比如SMP等）。而stable一般只用于服务器，上面的软件包大部分都比较过时，但是 稳定和安全性都非常的高。Debian最具特色的是apt-get / dpkg包管理方式，其实Redhat的YUM也是在模仿Debian的APT方式，但在二进制文件发行方式中，APT应该是最好的了。Debian的资 料也很丰富，有很多支持的社区，有问题求教也有地方可去:) Ubuntu严格来说不能算一个独立的发行版本，Ubuntu是基于Debian的unstable版本加强而来，可以这么说，Ubuntu就是 一个拥有Debian所有的优点，以及自己所加强的优点的近乎完美的 Linux桌面系统。根据选择的桌面系统不同，有三个版本可供选择，基于Gnome的Ubuntu，基于KDE的Kubuntu以及基于Xfc的 Xubuntu。特点是界面非常友好，容易上手，对硬件的支持非常全面，是最适合做桌面系统的Linux发行版本。 Gentoo，伟大的Gentoo是Linux世界最年轻的发行版本，正因为年轻，所以能吸取在她之前的所有发行版本的优点，这也是Gentoo 被称为最完美的Linux发行版本的原因之一。Gentoo最初由Daniel Robbins（FreeBSD的开发者之一）创建，首个稳定版本发布于2002年。由于开发者对FreeBSD的熟识，所以Gentoo拥有媲美 FreeBSD的广受美誉的ports系统 ——Portage包管理系统。不同于APT和YUM等二进制文件分发的包管理系统，Portage是基于源代码分发的，必须编译后才能运行，对于大型软 件而言比较慢，不过正因为所有软件都是在本地机器编译的，在经过各种定制的编译参数优化后，能将机器的硬件性能发挥到极致。Gentoo是所有Linux 发行版本里安装最复杂的，但是又是安装完成后最便于管理的版本，也是在相同硬件环境下运行最快的版本。 最后，介绍一下FreeBSD，需要强调的是：FreeBSD并不是一个Linux系统！但FreeBSD与Linux的用户群有相当一部分是重 合的，二者支持的硬件环境也比较一致，所采用的软件也比较类似，所以可以将FreeBSD视为一个Linux版本来比较。FreeBSD拥有两个分支： stable和current。顾名思义，stable是稳定版，而 current则是添加了新技术的测试版。FreeBSD采用Ports包管理系统，与Gentoo类似，基于源代码分发，必须在本地机器编后后才能运 行，但是Ports系统没有Portage系统使用简便，使用起来稍微复杂一些。FreeBSD的最大特点就是稳定和高效，是作为服务器操作系统的最佳选 择，但对硬件的支持没有Linux完备，所以并不适合作为桌面系统。 下面给为选择一个Linux发行版本犯愁的朋友一些建议： 如果你只是需要一个桌面系统，而且既不想使用盗版，又不想花大量的钱购买商业软件，那么你就需要一款适合桌面使用的Linux发行版本了，如果你 不想自己定制任何东西，不想在系统上浪费太多时间，那么很简单，你就根据自己的爱好在ubuntu、kubuntu以及xubuntu中选一款吧，三者的 区别仅仅是桌面程序的不一样。 如果你需要一个桌面系统，而且还想非常灵活的定制自己的Linux系统，想让自己的机器跑得更欢，不介意在Linux系统安装方面浪费一点时间，那么你的唯一选择就是Gentoo，尽情享受Gentoo带来的自由快感吧！ [...]]]></description>
			<content:encoded><![CDATA[<p>Linux最早由Linus Benedict Torvalds在1991年开始编写。在这之前，Richard<br />
Stallman创建了Free Software<br />
Foundation（FSF）组织以及GNU项目，并不断的编写创建GNU程序（此类程序的许可方式均为GPL: General Public<br />
License）。在不断的有杰出的程序员和开发者加入到GNU组织中后，便造就了今天<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>们所看到的Linux，或称GNU/<a href="http://www.zhaojian.net/tag/linux/" class="st_tag internal_tag" rel="tag" title="标签 linux 下的日志">Linux</a>。<br />
Linux的发行版本可以大体分为两类，一类是商业公司维护的发行版本，一类是社区组织维护的发行版本，前者以著名的Redhat（RHEL）为代表，后者以Debian为代表。下面介绍一下各个发行版本的特点：<br />
Redhat，应该称为Redhat系列，包括RHEL(Redhat Enterprise Linux，也就是所谓的Redhat<br />
Advance Server，收费版本)、Fedora<br />
Core(由原来的Redhat桌面版本发展而来，免费版本)、<a href="http://www.zhaojian.net/tag/centos/" class="st_tag internal_tag" rel="tag" title="标签 centos 下的日志">CentOS</a>(RHEL的社区克隆版本，免费)。Redhat应该说是在国内使用人群最多<br />
的Linux版本，甚至有人将Redhat等同于Linux，而有些老鸟更是只用这一个版本的Linux。所以这个版本的特点就是使用人群数量大，资料非<br />
常多，言下之意就是如果你有什么不明白的地方，很容易找到人来问，而且网上的一般Linux教程都是以Redhat为例来讲解的。Redhat系列的包管<br />
理方式采用的是基于RPM包的YUM包管理方式，包分发方式是编译好的二进制文件。稳定性方面RHEL和CentOS的稳定性非常好，适合于服务器使用，<br />
但是Fedora Core的稳定性较差，最好只用于桌面应用。<br />
Debian，或者称Debian系列，包括Debian和Ubuntu等。Debian是社区类Linux的典范，是迄今为止最遵循GNU规范<br />
的Linux系统。Debian最早由Ian Murdock于1993年创建，分为三个版本分支（branch）： stable, testing<br />
和<br />
unstable。其中，unstable为最新的测试版本，其中包括最新的软件包，但是也有相对较多的bug，适合桌面用户。testing的版本都经<br />
过unstable中的测试，相对较为稳定，也支持了不少新技术（比如SMP等）。而stable一般只用于服务器，上面的软件包大部分都比较过时，但是<br />
稳定和安全性都非常的高。Debian最具特色的是apt-get /<br />
dpkg包管理方式，其实Redhat的YUM也是在模仿Debian的APT方式，但在二进制文件发行方式中，APT应该是最好的了。Debian的资<br />
料也很丰富，有很多支持的社区，有问题求教也有地方可去:)<br />
Ubuntu严格来说不能算一个独立的发行版本，Ubuntu是基于Debian的unstable版本加强而来，可以这么说，Ubuntu就是<br />
一个拥有Debian所有的优点，以及自己所加强的优点的近乎完美的<br />
Linux桌面系统。根据选择的桌面系统不同，有三个版本可供选择，基于Gnome的Ubuntu，基于KDE的Kubuntu以及基于Xfc的<br />
Xubuntu。特点是界面非常友好，容易上手，对硬件的支持非常全面，是最适合做桌面系统的Linux发行版本。<br />
Gentoo，伟大的Gentoo是Linux世界最年轻的发行版本，正因为年轻，所以能吸取在她之前的所有发行版本的优点，这也是Gentoo<br />
被称为最完美的Linux发行版本的原因之一。Gentoo最初由Daniel<br />
Robbins（FreeBSD的开发者之一）创建，首个稳定版本发布于2002年。由于开发者对FreeBSD的熟识，所以Gentoo拥有媲美<br />
FreeBSD的广受美誉的ports系统<br />
——Portage包管理系统。不同于APT和YUM等二进制文件分发的包管理系统，Portage是基于源代码分发的，必须编译后才能运行，对于大型软<br />
件而言比较慢，不过正因为所有软件都是在本地机器编译的，在经过各种定制的编译参数优化后，能将机器的硬件性能发挥到极致。Gentoo是所有Linux<br />
发行版本里安装最复杂的，但是又是安装完成后最便于管理的版本，也是在相同硬件环境下运行最快的版本。<br />
最后，介绍一下FreeBSD，需要强调的是：FreeBSD并不是一个Linux系统！但FreeBSD与Linux的用户群有相当一部分是重<br />
合的，二者支持的硬件环境也比较一致，所采用的软件也比较类似，所以可以将FreeBSD视为一个Linux版本来比较。FreeBSD拥有两个分支：<br />
stable和current。顾名思义，stable是稳定版，而<br />
current则是添加了新技术的测试版。FreeBSD采用Ports包管理系统，与Gentoo类似，基于源代码分发，必须在本地机器编后后才能运<br />
行，但是Ports系统没有Portage系统使用简便，使用起来稍微复杂一些。FreeBSD的最大特点就是稳定和高效，是作为服务器操作系统的最佳选<br />
择，但对硬件的支持没有Linux完备，所以并不适合作为桌面系统。<br />
下面给为选择一个Linux发行版本犯愁的朋友一些建议：<br />
如果你只是需要一个桌面系统，而且既不想使用盗版，又不想花大量的钱购买商业软件，那么你就需要一款适合桌面使用的Linux发行版本了，如果你<br />
不想自己定制任何东西，不想在系统上浪费太多时间，那么很简单，你就根据自己的爱好在ubuntu、kubuntu以及xubuntu中选一款吧，三者的<br />
区别仅仅是桌面程序的不一样。<br />
如果你需要一个桌面系统，而且还想非常灵活的定制自己的Linux系统，想让自己的机器跑得更欢，不介意在Linux系统安装方面浪费一点时间，那么你的唯一选择就是Gentoo，尽情享受Gentoo带来的自由快感吧！<br />
如果你需要的是一个服务器系统，而且你已经非常厌烦各种Linux的配置，只是想要一个比较稳定的服务器系统而已，那么你最好的选择就是CentOS了，安装完成后，经过简单的配置就能提供非常稳定的服务了。<br />
如果你需要的是一个坚如磐石的非常稳定的服务器系统，那么你的唯一选择就是FreeBSD。<br />
如果你需要一个稳定的服务器系统，而且想深入摸索一下Linux的各个方面的知识，想自己定制许多内容，那么<span class='wp_keywordlink'><a href="http://www.zhaojian.net" title="赵健在这里" target="_blank">我</a></span>推荐你使用Gentoo。</p>

	标签：<a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a>, <a href="http://www.zhaojian.net/tag/%e8%af%84%e6%b5%8b/" title="评测" rel="tag">评测</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/linuxge-fa-xing-ban-ben-you-que-dian-ping-ce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux.com重装上阵华丽登场</title>
		<link>http://www.zhaojian.net/linuxcomzhong-zhuang-shang-zhen-hua-li-deng-chang/</link>
		<comments>http://www.zhaojian.net/linuxcomzhong-zhuang-shang-zhen-hua-li-deng-chang/#comments</comments>
		<pubDate>Fri, 15 May 2009 06:55:12 +0000</pubDate>
		<dc:creator>赵健</dc:creator>
				<category><![CDATA[Linux技术]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.zhaojian.net/?p=362</guid>
		<description><![CDATA[数月前Linux基金会收购了Sourceforge旗下的Linux.com网站，Linux基金会表示它将变成Linux社区成员参与和分享知识之地。 昨天Linux.com新网站正式上线，乍一看它更像是一个新闻站点，包含了软件、企业计算、嵌入式/硬件、移动等新闻栏目。 标签：linux]]></description>
			<content:encoded><![CDATA[<p>数月前Linux基金会收购了Sourceforge旗下的Linux.com网站，Linux基金会表示它将变成Linux社区成员参与和分享知识之地。</p>
<p>昨天Linux.com新网站正式上线，乍一看它更像是一个新闻站点，包含了软件、企业计算、嵌入式/硬件、移动等新闻栏目。</p>

	标签：<a href="http://www.zhaojian.net/tag/linux/" title="linux" rel="tag">linux</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.zhaojian.net/linuxcomzhong-zhuang-shang-zhen-hua-li-deng-chang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

