<?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.wuwx.net/tags/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wuwx.net</link>
	<description>严以律己·宽以待人·自强不息·知行合一</description>
	<lastBuildDate>Mon, 19 Dec 2011 00:27:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom:link rel='hub' href='http://www.wuwx.net/?pushpress=hub'/>
<cloud domain='www.wuwx.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>在线修改VMWARE虚拟机分区大小</title>
		<link>http://www.wuwx.net/archives/6072</link>
		<comments>http://www.wuwx.net/archives/6072#comments</comments>
		<pubDate>Fri, 18 Nov 2011 07:22:02 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[网站应用]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/6072</guid>
		<description><![CDATA[一、编辑虚拟机虚拟磁盘大小 原来只有16G，现在给他扩大到36G 二、在Linux系统中用fdisk删除原分区 三、使用原有的起始位置新建分区 四、使用resize2fs重置文件系统 五、查看新分区的大小]]></description>
			<content:encoded><![CDATA[<p>一、编辑虚拟机虚拟磁盘大小</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image15.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb15.png" width="322" height="165" /></a></p>
<p><span id="more-6072"></span>
<p>原来只有16G，现在给他扩大到36G</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image16.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb16.png" width="282" height="67" /></a></p>
<p>二、在Linux系统中用fdisk删除原分区</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image17.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb17.png" width="501" height="101" /></a></p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image18.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb18.png" width="194" height="39" /></a></p>
<p>三、使用原有的起始位置新建分区</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image19.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb19.png" width="359" height="360" /></a></p>
<p>四、使用resize2fs重置文件系统</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image20.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb20.png" width="535" height="84" /></a></p>
<p>五、查看新分区的大小</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/11/image21.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/11/image_thumb21.png" width="434" height="45" /></a></p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6072" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/6072/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable ARP for VIP</title>
		<link>http://www.wuwx.net/archives/6050</link>
		<comments>http://www.wuwx.net/archives/6050#comments</comments>
		<pubDate>Thu, 17 Nov 2011 02:52:43 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/6050</guid>
		<description><![CDATA[echo 1 &#62; /proc/sys/net/ipv4/conf/eth0/arp_ignore echo 2 &#62; /proc/sys/net/ipv4/conf/eth0/arp_announce net.ipv4.conf.eth0.arp_ignore = 1 net.ipv4.conf.eth0.arp_announce = 2]]></description>
			<content:encoded><![CDATA[<blockquote><p>echo 1 &gt; /proc/sys/net/ipv4/conf/eth0/arp_ignore     <br />echo 2 &gt; /proc/sys/net/ipv4/conf/eth0/arp_announce</p>
</blockquote>
<blockquote><p>net.ipv4.conf.eth0.arp_ignore = 1      <br />net.ipv4.conf.eth0.arp_announce = 2</p>
</blockquote>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6050" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/6050/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为CentOS Linux安装配置ntp服务</title>
		<link>http://www.wuwx.net/archives/5979</link>
		<comments>http://www.wuwx.net/archives/5979#comments</comments>
		<pubDate>Sat, 11 Jun 2011 13:57:05 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ntp]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5979</guid>
		<description><![CDATA[具体只看命令不解释： [root@iscsi sysconfig]# yum install ntp[root@iscsi sysconfig]# chkconfig --level 2345 ntpd on[root@iscsi sysconfig]# vim /etc/sysconfig/ntpdOPTIONS="-u ntp:ntp -x -p /var/run/ntpd.pid"[root@iscsi sysconfig]# service ntpd restart]]></description>
			<content:encoded><![CDATA[<p>具体只看命令不解释：</p>
<p>[root@iscsi sysconfig]# yum install ntp<br />[root@iscsi sysconfig]# chkconfig --level 2345 ntpd on<br />[root@iscsi sysconfig]# vim /etc/sysconfig/ntpd<br />OPTIONS="-u ntp:ntp -x -p /var/run/ntpd.pid"<br />[root@iscsi sysconfig]# service ntpd restart</p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5979" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5979/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在CentOS Linux系统上提供iSCSI存储服务</title>
		<link>http://www.wuwx.net/archives/5978</link>
		<comments>http://www.wuwx.net/archives/5978#comments</comments>
		<pubDate>Sat, 11 Jun 2011 13:45:00 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5978</guid>
		<description><![CDATA[一、硬件环境介绍 　　先看iSCSI服务器的硬盘配置信息，/dev/sda给本机使用，将/dev/sdb和/dev/sdc作为共享存储提供给其他客户机。 二、安装相关服务 　　通过yum命令先把服务器需要的服务装上：yum install scsi-target-utils 三、配置相关服务 配置iptables防火墙，打开TCP 3260端口，并重新启动iptables：-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3260 -j ACCEPT 安装完成后，编辑其配置文件：vim /etc/tgt/targets.conf ，找个合适的位置加上要共享出去的存储的配置信息： &#60;target iqn.2008-09.cn.edu.neu.oracle.iscsi:storage&#62;&#160;&#160;&#160; backing-store /dev/sdb&#160;&#160;&#160; backing-store /dev/sdc&#60;/target&#62; 重新启动tgtd服务：service tgtd restart 并保持tgtd服务随系统启动：chkconfig --level 2345 tgtd on 四、配置结果测试 查看共享情况：tgtadm --op show --mode target]]></description>
			<content:encoded><![CDATA[<h5>一、硬件环境介绍</h5>
<p>　　先看iSCSI服务器的硬盘配置信息，/dev/sda给本机使用，将/dev/sdb和/dev/sdc作为共享存储提供给其他客户机。</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/06/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/06/image_thumb.png" width="501" height="321"></a></p>
<h5>二、安装相关服务</h5>
<p>　　通过yum命令先把服务器需要的服务装上：yum install scsi-target-utils</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/06/image1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/06/image_thumb1.png" width="372" height="129"></a></p>
<h5>三、配置相关服务</h5>
<p>配置iptables防火墙，打开TCP 3260端口，并重新启动iptables：<br />-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3260 -j ACCEPT</p>
<p>安装完成后，编辑其配置文件：vim /etc/tgt/targets.conf ，找个合适的位置加上要共享出去的存储的配置信息：</p>
<p>&lt;target iqn.2008-09.cn.edu.neu.oracle.iscsi:storage&gt;<br />&nbsp;&nbsp;&nbsp; backing-store /dev/sdb<br />&nbsp;&nbsp;&nbsp; backing-store /dev/sdc<br />&lt;/target&gt;</p>
<p>重新启动tgtd服务：service tgtd restart</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/06/image2.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/06/image_thumb2.png" width="541" height="52"></a></p>
<p>并保持tgtd服务随系统启动：chkconfig --level 2345 tgtd on</p>
<p>四、配置结果测试</p>
<p>查看共享情况：tgtadm --op show --mode target</p>
<p><a href="http://www.wuwx.net/wp-content/uploads/2011/06/image3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2011/06/image_thumb3.png" width="425" height="434"></a></p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5978" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5978/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux系统中指定IPv6域名服务器</title>
		<link>http://www.wuwx.net/archives/5945</link>
		<comments>http://www.wuwx.net/archives/5945#comments</comments>
		<pubDate>Fri, 15 Oct 2010 02:15:43 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5945</guid>
		<description><![CDATA[编辑/etc/resolv.conf文件，参考IPv4域名服务器设置，假如IPv6服务器地址： nameserver xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx vim会有红色警告，不理会他就是了~]]></description>
			<content:encoded><![CDATA[<p>编辑/etc/resolv.conf文件，参考IPv4域名服务器设置，假如IPv6服务器地址：</p>
<blockquote><p>nameserver xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx</p>
</blockquote>
<p>vim会有红色警告，不理会他就是了~</p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5945" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5945/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RedHat(RHEL) &amp; CentOS &amp; Fedora Linux 静态路由持久化</title>
		<link>http://www.wuwx.net/archives/5900</link>
		<comments>http://www.wuwx.net/archives/5900#comments</comments>
		<pubDate>Wed, 17 Mar 2010 05:50:37 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[路由]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5900</guid>
		<description><![CDATA[　　如果你需要将RedHat(RHEL) &#38; CentOS &#38; Fedora Linux 静态路由持久化的话，你需要打开/etc/sysconfig/network-scripts/route-eth0文件去添加自定义的静态路由为网卡eth0，保存后重新启动网络服务。 #vi /etc/sysconfig/network-scripts/route-eth010.0.0.0/8 via 10.1.2.3#service network restart]]></description>
			<content:encoded><![CDATA[<p>　　如果你需要将RedHat(RHEL) &amp; CentOS &amp; Fedora Linux 静态路由持久化的话，你需要打开/etc/sysconfig/network-scripts/route-eth0文件去添加自定义的静态路由为网卡eth0，保存后重新启动网络服务。<br />
<blockquote>
<p>#vi /etc/sysconfig/network-scripts/route-eth0<br />10.0.0.0/8 via 10.1.2.3<br />#service network restart</p>
</blockquote>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5900" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5900/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS中修改系统HASHSIZE大小</title>
		<link>http://www.wuwx.net/archives/5899</link>
		<comments>http://www.wuwx.net/archives/5899#comments</comments>
		<pubDate>Tue, 16 Mar 2010 12:08:07 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[hashsize]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/?p=5899</guid>
		<description><![CDATA[　　在启动系统后，直接编辑/etc/modprobe.conf文件，然后在最后面加一行： options ip_conntrack hashsize=100000 　　如果你使用的系统是之前版本的Fedora或其他发行版本的Linux系统，也有可能需要加的是 options nf_conntrack hashsize=100000 　　这个取决于你的系统里模块名到底是ip_conntrack还是nf_conntrack，我就被这模块名不同搞晕了。把Fedora的写法放到CentOS里去，结果怎么重新启动HASHSIZE值就是没变化，后来经过ELM提醒，也可以通过lsmod查看模块列表来看出来你的模块到底是ip_conntrack还是nf_conntrack，才发现CentOS里模块叫ip_conntrack，而在Fedora里这个模块名叫nf_conntrack。 [root@proxy proc]# lsmod &#124; grep connip_conntrack_netbios_ns 6977 0 ip_conntrack 53281 4 ip_conntrack_netbios_ns,iptable_nat,ip_nat,xt_statenfnetlink 10713 2 ip_nat,ip_conntrack 　　修改完以后重新启动系统，然后可以看到你的hashsize值就被改了 [root@proxy proc]# more /proc/sys/net/ipv4/netfilter/ip_conntrack_buckets100000[root@proxy proc]# more /proc/sys/net/ipv4/netfilter/ip_conntrack_max 800000 　　这样修改完之后，不需要额外再去修改ip_conntrack_max值了，ip_conntrack_max的值会被自动设置为HASHSIZE值的8倍。]]></description>
			<content:encoded><![CDATA[<p>　　在启动系统后，直接编辑/etc/modprobe.conf文件，然后在最后面加一行：</p>
<blockquote><p>options ip_conntrack hashsize=100000</p>
</blockquote>
<p>　　如果你使用的系统是之前版本的Fedora或其他发行版本的Linux系统，也有可能需要加的是</p>
<blockquote><p>options nf_conntrack hashsize=100000</p>
</blockquote>
<p>　　这个取决于你的系统里模块名到底是ip_conntrack还是nf_conntrack，我就被这模块名不同搞晕了。把Fedora的写法放到CentOS里去，结果怎么重新启动HASHSIZE值就是没变化，后来经过<a href="http://www.wenzk.net/">ELM</a>提醒，也可以通过lsmod查看模块列表来看出来你的模块到底是ip_conntrack还是nf_conntrack，才发现CentOS里模块叫ip_conntrack，而在Fedora里这个模块名叫nf_conntrack。</p>
<blockquote><p>[root@proxy proc]# lsmod | grep conn<br />ip_conntrack_netbios_ns 6977 0 <br />ip_conntrack 53281 4 ip_conntrack_netbios_ns,iptable_nat,ip_nat,xt_state<br />nfnetlink 10713 2 ip_nat,ip_conntrack</p>
</blockquote>
<p>　　修改完以后重新启动系统，然后可以看到你的hashsize值就被改了</p>
<blockquote><p>[root@proxy proc]# more /proc/sys/net/ipv4/netfilter/ip_conntrack_buckets<br />100000<br />[root@proxy proc]# more /proc/sys/net/ipv4/netfilter/ip_conntrack_max <br />800000</p>
</blockquote>
<p>　　这样修改完之后，不需要额外再去修改ip_conntrack_max值了，ip_conntrack_max的值会被自动设置为HASHSIZE值的8倍。</p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5899" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5899/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下使用ethtool查看网卡速度</title>
		<link>http://www.wuwx.net/archives/5879</link>
		<comments>http://www.wuwx.net/archives/5879#comments</comments>
		<pubDate>Thu, 14 Jan 2010 12:58:49 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[开源技术]]></category>
		<category><![CDATA[ethtool]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[网卡]]></category>
		<category><![CDATA[速度]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5879</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.wuwx.net/wp-content/uploads/2010/01/image9.png" width="493" height="353"></p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5879" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5879/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux 基金会与 VISA 发的信用卡</title>
		<link>http://www.wuwx.net/archives/5802</link>
		<comments>http://www.wuwx.net/archives/5802#comments</comments>
		<pubDate>Wed, 29 Jul 2009 03:35:34 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[业界动态]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Visa]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5802</guid>
		<description><![CDATA[　　从Fenny的相册看到这个信用卡，这卡比多拉A梦卡牛B多了…，要是能拥有张这样的信用卡，可以极大地满足虚荣心啊，国内能不能申请到这张卡还是个未知数，目前只对美国开放申请。具体申请流程可以参考Linux Foundation官方消息，新浪网对这个消息也有所报道：Linux基金会推Visa白金信用卡促开源发展。]]></description>
			<content:encoded><![CDATA[<p>　　从<a href="http://www.flickr.com/photos/fenng/3766019770/" target="_blank">Fenny的相册</a>看到这个信用卡，这卡比多拉A梦卡牛B多了…，要是能拥有张这样的信用卡，可以极大地满足虚荣心啊，国内能不能申请到这张卡还是个未知数，目前只对美国开放申请。具体申请流程可以参考<a href="http://www.linuxfoundation.org/programs/linux-credit-card" target="_blank">Linux Foundation官方消息</a>，新浪网对这个消息也有所报道：<a href="http://tech.sina.com.cn/s/2009-07-29/09291004419.shtml" target="_blank">Linux基金会推Visa白金信用卡促开源发展</a>。</p>
<p><img title="3766019770_0955415a52" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="315" alt="3766019770_0955415a52" src="http://www.wuwx.net/wp-content/uploads/2009/07/3766019770_0955415a52.jpg" width="500" border="0"></p>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5802" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5802/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>教你批量删除掉文件末尾的&#8220;^M&#8221;</title>
		<link>http://www.wuwx.net/archives/5574</link>
		<comments>http://www.wuwx.net/archives/5574#comments</comments>
		<pubDate>Sun, 06 Jul 2008 07:05:59 +0000</pubDate>
		<dc:creator>有颜色的猫</dc:creator>
				<category><![CDATA[编程开发]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[^M]]></category>
		<category><![CDATA[删除]]></category>
		<category><![CDATA[替换]]></category>

		<guid isPermaLink="false">http://www.wuwx.net/archives/5574</guid>
		<description><![CDATA[　　Windows下创建的文本文件，再放在Linux下用vi进行编辑，文件中会出现很多^M，如果一个一个手工删除，那是非常麻烦的，我们可以利用vi的替换命令将其批量替换掉，vi的替换命令语法如下： :%s/原始的文本内容/替换他们的内容/g 　　不过这里的“^M”是特殊字符，并不是由“^”字符和“M”字符分别组成的，他需要使用“Ctrl+vm”以完成输入，所以整个命令组合起来就是： :%s/^M//g 　　需要在键盘上输入的内容是： :%s/Ctrl+vm//g]]></description>
			<content:encoded><![CDATA[<p>　　Windows下创建的文本文件，再放在Linux下用vi进行编辑，文件中会出现很多^M，如果一个一个手工删除，那是非常麻烦的，我们可以利用vi的替换命令将其批量替换掉，vi的替换命令语法如下：</p>
<blockquote><p>:%s/原始的文本内容/替换他们的内容/g</p>
</blockquote>
<p>　　不过这里的“^M”是特殊字符，并不是由“^”字符和“M”字符分别组成的，他需要使用“Ctrl+vm”以完成输入，所以整个命令组合起来就是：</p>
<blockquote><p>:%s/^M//g</p>
</blockquote>
<p>　　需要在键盘上输入的内容是：</p>
<blockquote><p>:%s/Ctrl+vm//g</p>
</blockquote>
 <img src="http://www.wuwx.net/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5574" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.wuwx.net/archives/5574/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

