﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客网-毒菇求Buy-随笔分类-Linux</title><link>http://www.cnitblog.com/alsan/category/119.html</link><description>Not now, when?</description><language>zh-cn</language><lastBuildDate>Wed, 30 Apr 2008 04:25:45 GMT</lastBuildDate><pubDate>Wed, 30 Apr 2008 04:25:45 GMT</pubDate><ttl>60</ttl><item><title>CentOS 5安装vmware</title><link>http://www.cnitblog.com/alsan/archive/2008/04/30/43115.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Wed, 30 Apr 2008 04:02:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2008/04/30/43115.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/43115.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2008/04/30/43115.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/43115.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/43115.html</trackback:ping><description><![CDATA[首先，千万不能用xen版，xen版同vmware有冲突！<br><br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">$&nbsp;uname&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">mrs<br>Linux 2.6.18-53.el5 x86_64<br></span></div>
<br>然后，下载vmware-server，rpm或.tar.gz都可以。<br><br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">$ rpm&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">Uvh&nbsp;VMware</span><span style="color: #000000;">-</span><span style="color: #000000;">server</span><span style="color: #000000;">-</span><span style="color: #000000;">xxxxxxx.rpm<br>或<br>$ tar&nbsp;zxvf&nbsp;VMware</span><span style="color: #000000;">-</span><span style="color: #000000;">server</span><span style="color: #000000;">-</span><span style="color: #000000;">xxxxxxx.tar.gz</span></div>
<br>注：我用的是.tar.gz版。<br><br>安装所需的RPM包：<br><br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">$ yum <br></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --</span><span style="color: #000000;">disablerepo</span><span style="color: #000000;">=\*</span><span style="color: #000000;"> \<br></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --</span><span style="color: #000000;">enablerepo</span><span style="color: #000000;">=</span><span style="color: #0000ff;">local</span><span style="color: #000000;"> \<br></span><span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -</span><span style="color: #000000;">y \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel</span><span style="color: #000000;">-</span><span style="color: #000000;">devel kernel</span><span style="color: #000000;">-</span><span style="color: #000000;">headers gcc</span><span style="color: #000000;">-</span><span style="color: #000000;">c</span><span style="color: #000000;">++</span><span style="color: #000000;"> xinetd libXtst-devel libXrender-devel<br></span></div>
<br>注：local是自己建立的repository，用系统默认的也可以，不过上网down比较。<br><br>最后：<br><br>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">$&nbsp;.</span><span style="color: #000000;">/</span><span style="color: #000000;">vmware</span><span style="color: #000000;">-</span><span style="color: #000000;">install.pl</span></div>
<br><br> <img src ="http://www.cnitblog.com/alsan/aggbug/43115.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2008-04-30 12:02 <a href="http://www.cnitblog.com/alsan/archive/2008/04/30/43115.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux自动更新时间</title><link>http://www.cnitblog.com/alsan/archive/2008/04/11/42232.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 11 Apr 2008 01:48:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2008/04/11/42232.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/42232.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2008/04/11/42232.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/42232.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/42232.html</trackback:ping><description><![CDATA[# crontab -e<br><br># auto sync with time server at 0:00 everyday<br>0 0 * * * rdate -t 60 -s stdtime.gov.hk<br><br><img src ="http://www.cnitblog.com/alsan/aggbug/42232.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2008-04-11 09:48 <a href="http://www.cnitblog.com/alsan/archive/2008/04/11/42232.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Mail forward</title><link>http://www.cnitblog.com/alsan/archive/2006/09/21/17126.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Thu, 21 Sep 2006 00:37:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2006/09/21/17126.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/17126.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2006/09/21/17126.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/17126.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/17126.html</trackback:ping><description><![CDATA[
		<p style="FONT-SIZE: 12px; FONT-FAMILY: verdana">在Linux中，如何将（sendmail/procmail）Mailbox中的内容转发到其它地址？</p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: verdana; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">cat </span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">var</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">spool</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">mail</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">user </span>
				<span style="COLOR: #000000">|</span>
				<span style="COLOR: #000000"> formail </span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">s sendmail other@address</span>
		</div>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: verdana"> </p>
<img src ="http://www.cnitblog.com/alsan/aggbug/17126.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2006-09-21 08:37 <a href="http://www.cnitblog.com/alsan/archive/2006/09/21/17126.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Access转MySQL</title><link>http://www.cnitblog.com/alsan/archive/2005/11/16/4575.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Wed, 16 Nov 2005 09:29:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/11/16/4575.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/4575.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/11/16/4575.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/4575.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/4575.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">试了很多方法，最有效方便的要算这个。</P>
<OL style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
<LI>安装MyODBC，可以从<A href="http://www.mysql.com/downloads/api-myodbc.html">MySQL Connector/ODBC Downloads</A>上下载 
<LI>配置ODBC Datasource，指向要迁移的MySQL数据库 
<LI>逐个表迁移 
<OL type=a>
<LI>打开.mdb文件 
<LI>在要迁移的表上右击，选export 
<LI>在save as type中选ODBC Database 
<LI>修改在表名（可以不改） 
<LI>在Select Data Source页中选Machine Data Source tab 
<LI>双击之前配置的ODBC Datasource</LI></OL>
<LI>完成</LI></OL>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">这个方法有几个限制，最烦人的是每次只可转一个表，而且MySQL的表名是大小写敏感的，在转换后要检查程序中的表名是否匹配。但我认为这是最方便的方法，更重要的是无须安装第三方软件或写program。<BR><BR>另外可参考一份国外的artical - <A href="http://www.kitebird.com/articles/access-migrate.html">Migrating from Microsoft Access to MySQL</A>，其中详细介绍了几种其它方法。</P><img src ="http://www.cnitblog.com/alsan/aggbug/4575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-11-16 17:29 <a href="http://www.cnitblog.com/alsan/archive/2005/11/16/4575.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>开机自动运行VNCServer</title><link>http://www.cnitblog.com/alsan/archive/2005/11/11/4336.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 11 Nov 2005 06:34:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/11/11/4336.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/4336.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/11/11/4336.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/4336.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/4336.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">以前一直找不到方法怎样开机自动运行VNCServer，今日因为服务器更新系统后不能上网而到处找配置文件，结果，我要的答案未找到，却找到了怎样开机自动行VNCServer。<BR><BR>其实在ntsysv中早就见到有这个服务存在，但一打开就会出错。原来问题就在未配置那个用户为默认的VNC用户。在/etc/sysconfig下有个vncservers的文件，里面就可以设这个用户及其相应的端口。<BR><BR>那我以后就可以不用每次要使用VNC前，都要先手动打开VNCServer了。</P><img src ="http://www.cnitblog.com/alsan/aggbug/4336.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-11-11 14:34 <a href="http://www.cnitblog.com/alsan/archive/2005/11/11/4336.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>奇怪的问题</title><link>http://www.cnitblog.com/alsan/archive/2005/11/11/4332.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 11 Nov 2005 06:22:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/11/11/4332.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/4332.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/11/11/4332.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/4332.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/4332.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">一时手痕，用apt-get将FC3升级到FC4。在未boot机前无手太大问题，但boot机后就不能上网了。<BR><BR>问题是可以ping 127.0.1，也可以ping 192.168.0.1（本机IP），但ping不通其它内网机器，包括gateway。检查过所有网络配置，基本上与之前一样，没有因为更新系统而有所改动。<BR><BR>上网查了一查资料，其中有一编说将gatwaway的IP作为nameserver的IP，试了，果然可以ping通gateway，但还是不能ping通其它机器及外网。<BR><BR>再进一步修改，将外网IP作为nameserver的IP，又不能ping通gateway了。<BR><BR>以gateway的IP作为首选nameserver的IP，以外网DNS作为次选nameserver的IP，结果可以上网了。<BR><BR>再修改resolv.conf，删除gateway的IP，还是可以上网。<BR><BR>boot机再试，还是可以上网。<BR><BR>问题在那里？</P><img src ="http://www.cnitblog.com/alsan/aggbug/4332.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-11-11 14:22 <a href="http://www.cnitblog.com/alsan/archive/2005/11/11/4332.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>为PHP安装插件</title><link>http://www.cnitblog.com/alsan/archive/2005/10/23/3509.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sat, 22 Oct 2005 23:37:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/23/3509.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3509.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/23/3509.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3509.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3509.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">FC3自带了PHP4.3.11，但部份插件（如GD支持等）默认是不安装的。<BR><BR>以前并到这种情况，我都是非常“老实”地重新译PHP。其实有个更简单的方法，就是使用apt-get更新。<BR></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #000000">apt</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #0000ff">get</SPAN><SPAN style="COLOR: #000000">&nbsp;install&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">gd&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">ncurses&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">domxml&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">xmlrpc&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">imap&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">ldap&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">mysql&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">pgsql&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">snmp&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">odbc&nbsp;php</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">mbstring</SPAN></DIV><img src ="http://www.cnitblog.com/alsan/aggbug/3509.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-23 07:37 <a href="http://www.cnitblog.com/alsan/archive/2005/10/23/3509.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>获取外网IP地址</title><link>http://www.cnitblog.com/alsan/archive/2005/10/23/3508.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sat, 22 Oct 2005 22:20:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/23/3508.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3508.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/23/3508.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3508.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3508.html</trackback:ping><description><![CDATA[
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">一个简单方法可以获取外网IP地址：<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">lynx </span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">source http:</span>
				<span style="COLOR: #008000">//</span>
				<span style="COLOR: #008000">www.3322.org/dyndns/getip</span>
		</div>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
				<br />或者<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">curl <a href="http://www.3322.org/dyndns/getip">http:</a></span>
				<span style="COLOR: #008000">//</span>
				<span style="COLOR: #008000">www.3322.org/dyndns/getip</span>
		</div>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
				<br />两种方法都可在Windows中使用，但都必须安装相对的软件，即lynxport或curl for Windows。</p>
<img src ="http://www.cnitblog.com/alsan/aggbug/3508.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-23 06:20 <a href="http://www.cnitblog.com/alsan/archive/2005/10/23/3508.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>动态更新3322.org域名</title><link>http://www.cnitblog.com/alsan/archive/2005/10/23/3507.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sat, 22 Oct 2005 21:28:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/23/3507.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3507.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/23/3507.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3507.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3507.html</trackback:ping><description><![CDATA[
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
		</p>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">在家建了个网站，用的是3322.org的动态域名。3322.org有提供Linux的客户端更新程序，但是必须要服务器直接ADSL，而我的ADSL是接router的。<br /><br />原本想写个java程序定时更新，但在查找资料时发现有其他人用更方便的方法实现了，方法如下：<br /><br /># 建立/usr/sbin/ipupdater.sh，内容如下：<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">lynx </span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">mime_header </span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">auth</span>
				<span style="COLOR: #000000">=</span>
				<span style="COLOR: #000000">
						<strong>user</strong>:<strong>password</strong> "</span>
				<span style="COLOR: #000000">
				</span>
				<span style="COLOR: #000000">
						<a href="http://www.3322.org/dyndns/update?system=dyndns&amp;wildcard=on&amp;hostname=domain.3322.org">http://www.3322.org/dyndns/update?system=dyndns&amp;wildcard=on&amp;hostname=<strong>domain</strong>.3322.org</a>"</span>
				<span style="COLOR: #000000">
				</span>
		</div>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">注意：以上内容中<strong>user</strong>、<strong>password</strong>、<strong>domain</strong>都需改为你自己的设定内容<br /><br />另外，也可以使用 <em><a href="http://curl.haxx.se/">curl</a> </em>达到相同目的。curl有个好处，就是有Windows版，虽然lynx也有，但不好用。<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<img src="http://www.cnitblog.com/images/OutliningIndicators/None.gif" align="top" />
				<span style="COLOR: #000000">curl </span>
				<span style="COLOR: #000000">-</span>
				<span style="COLOR: #000000">u <strong>user</strong>:<strong>password</strong><a href="http://www.3322.org/dyndns/update?system=dyndns&amp;wildcard=on&amp;hostname=domain.3322.org">http:</a></span>
				<span style="COLOR: #008000">//</span>
				<span style="COLOR: #008000">www.3322.org/dyndns/update?system=dyndns&amp;wildcard=on&amp;hostname=<strong>domain</strong>.3322.org</span>
		</div>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana"># 改为可执行</p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">chmod </span>
				<span style="COLOR: #000000">+</span>
				<span style="COLOR: #000000">x </span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">usr</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">sbin</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">ipupdater.sh</span>
		</div>
		<p>
		</p>
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
				<br /># 建立/etc/cron.d/3322.cron<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">*/</span>
				<span style="COLOR: #000000">5</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #000000">*</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #000000">*</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #000000">*</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #000000">*</span>
				<span style="COLOR: #000000"> </span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">usr</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">sbin</span>
				<span style="COLOR: #000000">/</span>
				<span style="COLOR: #000000">ipupdater.sh &gt; /var/log/ipupdater.log</span>
		</div>
		<br />
		<p style="FONT-SIZE: 12px; FONT-FAMILY: Verdana"># 调用<br /></p>
		<div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee">
				<span style="COLOR: #000000">crontab </span>
				<span style="COLOR: #000000">3322</span>
				<span style="COLOR: #000000">.cron<br />service crond restart</span>
		</div>
<img src ="http://www.cnitblog.com/alsan/aggbug/3507.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-23 05:28 <a href="http://www.cnitblog.com/alsan/archive/2005/10/23/3507.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>apt-get "The following packages have been kept back"提示的解决</title><link>http://www.cnitblog.com/alsan/archive/2005/10/17/3337.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Mon, 17 Oct 2005 01:37:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/17/3337.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3337.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/17/3337.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3337.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3337.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">在apt-get update的时，可能会因为有部份packages的安装版比release版更新而出现"The following packages have been kept back"这个问题，解决方法是使用apt-get -u dist-upgrade统一更新到发布的版本。</P><img src ="http://www.cnitblog.com/alsan/aggbug/3337.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-17 09:37 <a href="http://www.cnitblog.com/alsan/archive/2005/10/17/3337.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我的无盘XP方案</title><link>http://www.cnitblog.com/alsan/archive/2005/10/04/3055.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Tue, 04 Oct 2005 14:16:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/04/3055.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3055.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/04/3055.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3055.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3055.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">其实也不是我第一个做出来，只是我是这样实现的。<BR><BR>我的无盘XP方案是以k12ltsp作为无盘服务器的OS，然后在k12ltsp里安装vmware，vmware里当然要安装XP啦。而工作站就以rdesktop的方式使用guest machine。<BR><BR>无盘服务器及工作站的配置比较简单，只要依照k12ltsp的安装说明做就可以了。但在k12ltsp中安装vmware却并不容易，搞了2天成成功，详细可参看<A href="/alsan/archive/2005/10/04/3044.html">Linux2.6下VMWARE安装成功</A>。<BR><BR>在安装好vmware及后，就需要解决服务器无人看守运行的问题。因为用无盘的人（我屋企人）基本上是不会操作Linux的（其实XP也不是太会），所以必须把除开/关机等动作外的其它事情由系统自动执行。<BR><BR>首先，开机自动进入一个运行vmware的指定帐户。没办法，因为vmware必须在host上运行一个实例，而这个实例又必须在GUI下运行，无法以daemon的方式运行，只能以设定一个特定帐户，并在该帐户自动登录后，再自动运行vmware及自动启动guest machine。<BR><BR>要在进入gnome后自动logon一个帐户，可以root身份logon，并执行gdmsetup。在general tab里面选择要自动登录的帐户。<BR><BR>注意，不能以root作为自动登录的帐户。<BR><BR>在自动登录后，就要自动运行vmware及启动guest machine了。以下是一个启动guest machine的shell script:</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #000000">#</SPAN><SPAN style="COLOR: #000000">!/</SPAN><SPAN style="COLOR: #000000">bin</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">sh<BR>#&nbsp;VMWare&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;guest&nbsp;machine&nbsp;startup&nbsp;script<BR><BR>ps&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">ef&nbsp;</SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000">&nbsp;grep&nbsp;vmx&nbsp;</SPAN><SPAN style="COLOR: #000000">|</SPAN><SPAN style="COLOR: #000000">&nbsp;grep&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">v&nbsp;grep&nbsp;</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;vm_running<BR><BR></SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;test&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">s&nbsp;vm_running<BR>then<BR>&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">vmware&nbsp;is&nbsp;running</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;&nbsp;&nbsp;&nbsp;vmware&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">x&nbsp;</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">path</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">to</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">your</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">vm.vmx<BR>fi</SPAN></DIV>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">当然，要把这个script设为可执行。然后，将这个script加入到Application/Preferences/More Preferences/Sessions里的Startup Programs列表中。<BR><BR>而客户机的帐别，就要加入自动执行rdesktop的script：</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #000000">rdesktop&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">u&nbsp;remote_user&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">f&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">a&nbsp;</SPAN><SPAN style="COLOR: #000000">16</SPAN><SPAN style="COLOR: #000000">&nbsp;guest_machine_ip</SPAN></DIV>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">至此，整个无盘网已经完成。但一些细节调整及设置，例如：对XP的优化、系统权限等，就要因人而异，各自修行了。<BR><BR>注：因为现在只有我太太一个人用，而且我的“服务器”性能有限，所以选用XP，而多人使用时，应该使用Windows Server 2003及已激活的terminal server比较好。另外，这个方案不适用于游戏网。<BR><BR>下一个目标，就是将这个无盘网改成一个cluster，每多一部机，就多一分力量。</P><img src ="http://www.cnitblog.com/alsan/aggbug/3055.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-04 22:16 <a href="http://www.cnitblog.com/alsan/archive/2005/10/04/3055.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux2.6下VMWARE安装成功</title><link>http://www.cnitblog.com/alsan/archive/2005/10/04/3044.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Mon, 03 Oct 2005 22:29:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/10/04/3044.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/3044.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/10/04/3044.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/3044.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/3044.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">转用K12LTSP后，一直不能安装VMWARE （GSX Server 3.2，Workstation 4.5）。直到昨天，下载了Workstation 5.0及安装了vmware-any-any-update94.tar.gz后，才能正常安装使用。<BR><BR>现在离开我的计划只差最后一步了，就是要上cluster。因为要上cluster又要compile kernel，而我的kernel又不太好compile（已compile了N次了，都不成功，暂时不试了）。</P><img src ="http://www.cnitblog.com/alsan/aggbug/3044.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-10-04 06:29 <a href="http://www.cnitblog.com/alsan/archive/2005/10/04/3044.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3字体美化终极篇(与windows媲美!)</title><link>http://www.cnitblog.com/alsan/archive/2005/07/22/1092.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 22 Jul 2005 02:24:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/22/1092.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/1092.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/22/1092.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/1092.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/1092.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 转自www.linuxsir.net作者:pengbing_linux在这里 我相信你按照步奏完成以后你会发现 好像又看到了window里的字了。祝你好运首先声明这些所有的包都来自网上,本人自身不承担任何责任。 http://download.linuxsir.org 里找到fc3_fonts下载里面所有的字体文件 fc3_fonts.tar.gz 将你下载的文件夹覆盖到你的电脑 ...&nbsp;&nbsp;<a href='http://www.cnitblog.com/alsan/archive/2005/07/22/1092.html'>阅读全文</a><img src ="http://www.cnitblog.com/alsan/aggbug/1092.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-22 10:24 <a href="http://www.cnitblog.com/alsan/archive/2005/07/22/1092.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>输入法设置</title><link>http://www.cnitblog.com/alsan/archive/2005/07/21/1090.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Thu, 21 Jul 2005 13:34:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/21/1090.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/1090.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/21/1090.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/1090.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/1090.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">下载<A href="http://www.fcitx.org/main/?q=node/9/">小企鹅输入法</A></P>
<OL style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
<LI>tar jxvf fcitx-x.x.x-bin.tar.bz2 
<LI>fcitx-x.x.x-bin.tar.bz2/fcitx-install 
<LI>vi /etc/X11/xinit/xinput.d/fcitx<BR><CODE>XMODIFIERS="@im=fcitx"<BR>XIM=fcitx<BR>XIM_PROGRAM=fcitx</CODE> 
<LI>ln -fs /etc/X11/xinit/xinput.d/fcitx /etc/alternatives/xinput-zh_CN 
<LI>vi /etc/sysconfig/i18n<BR><CODE>LANG="en_US.UTF-8"<BR>LC_CTYPE="zh_CN.UTF-8"<BR>SUPPORTED="zh_HK.UTF-8:zh_HK:zh:zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en"<BR>SYSFONT="latarcyrheb-sun16"</CODE> 
<LI>从新login</LI></OL><img src ="http://www.cnitblog.com/alsan/aggbug/1090.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-21 21:34 <a href="http://www.cnitblog.com/alsan/archive/2005/07/21/1090.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ssh设置</title><link>http://www.cnitblog.com/alsan/archive/2005/07/19/1064.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Tue, 19 Jul 2005 04:50:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/19/1064.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/1064.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/19/1064.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/1064.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/1064.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">#新增 sysadm 帳號：<BR>useradd sysadm<BR>passwd sysadm<BR><BR>#不允許 root 使用 ssh 登入：<BR>cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak<BR>vi /etc/ssh/sshd_config<BR>37行<BR><FONT color=red>#PermitRootLogin yes 改成--&gt; PermitRootLogin no</FONT><BR><BR>#限制只有 wheel 群組的人可以使用 su：<BR>cp /etc/pam.d/su /etc/pam.d/su.bak<BR>vi /etc/pam.d/su<BR>6行<BR><FONT color=red>#auth required /lib/security/$ISA/pam_wheel.so use_uid</FONT><BR><BR>#取消這一行前面的 #<BR><BR>#把 sysadm 帳號加入 wheel 群組：<BR>cp /etc/group /etc/group.bak<BR>vi /etc/group<BR><FONT color=red>root:x:0:root,sysadm<BR>wheel:x:10:root,sysadm</FONT><BR><BR>/etc/rc.d/init.d/sshd restart<BR><BR>用 sysadm 帳號登入後，再用 su - 指令變成 root<BR><BR>OpenSSH 官方文件：http://www.openssh.com/manual.html</P><img src ="http://www.cnitblog.com/alsan/aggbug/1064.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-19 12:50 <a href="http://www.cnitblog.com/alsan/archive/2005/07/19/1064.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>apt-get配置</title><link>http://www.cnitblog.com/alsan/archive/2005/07/19/1060.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Tue, 19 Jul 2005 01:35:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/19/1060.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/1060.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/19/1060.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/1060.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/1060.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">apt.conf (apt-0.5.15cnc6-1.1.fc3.fr)</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">&nbsp;$Id:&nbsp;apt.conf&nbsp;20&nbsp;2004-03-04&nbsp;20:35:08Z&nbsp;dude&nbsp;$<BR></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">&nbsp;See&nbsp;the&nbsp;apt.conf(5)&nbsp;man&nbsp;page&nbsp;for&nbsp;syntax&nbsp;and&nbsp;all&nbsp;available&nbsp;options</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>APT&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;Clean</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Installed&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Get&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assume</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Yes&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">false</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Download</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Only&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">false</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Show</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Upgraded&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fix</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Broken&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ignore</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Missing&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">false</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compile&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">false</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;};<BR>};<BR><BR>Acquire&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;Retries&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Http&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Proxy&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">&nbsp;</SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: #008000">http://user</SPAN><SPAN style="COLOR: #008000">:pass@host:port/</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;}<BR>};<BR><BR>RPM&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;Ignore&nbsp;{&nbsp;};<BR>&nbsp;&nbsp;&nbsp;&nbsp;Hold&nbsp;{&nbsp;};<BR></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">&nbsp;&nbsp;&nbsp;&nbsp;Allow-Duplicated&nbsp;{&nbsp;"^kernel$";&nbsp;"^kernel-";&nbsp;"^kmodule-";&nbsp;"^gpg-pubkey$"&nbsp;};</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;Allow</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Duplicated&nbsp;{&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">^kernel$</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">^kernel-</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">^kmodule-</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;};<BR>&nbsp;&nbsp;&nbsp;&nbsp;Allow</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Duplicated</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Warning&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">false</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Options&nbsp;{&nbsp;};<BR>&nbsp;&nbsp;&nbsp;&nbsp;Install</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Options&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Erase</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Options&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;Source&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Build</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">Command&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">rpmbuild&nbsp;--rebuild</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;};<BR>};<BR><BR></SPAN></DIV></DIV>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">sources.list (for Fedora 3)</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #000000">#&nbsp;List&nbsp;of&nbsp;available&nbsp;apt&nbsp;repositories&nbsp;available&nbsp;from&nbsp;ayo.freshrpms.net.<BR>#&nbsp;This&nbsp;file&nbsp;should&nbsp;contain&nbsp;an&nbsp;uncommented&nbsp;</SPAN><SPAN style="COLOR: #0000ff">default</SPAN><SPAN style="COLOR: #000000">&nbsp;suitable&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">&nbsp;your&nbsp;system.<BR>#<BR>#&nbsp;See&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net/&nbsp;for&nbsp;a&nbsp;list&nbsp;of&nbsp;other&nbsp;repositories&nbsp;and&nbsp;mirrors.</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#<BR>#&nbsp;$Id:&nbsp;sources.list.i386&nbsp;</SPAN><SPAN style="COLOR: #000000">720</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">2004</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">05</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">19</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">18</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #000000">24</SPAN><SPAN style="COLOR: #000000">:16Z&nbsp;dude&nbsp;$<BR><BR>#&nbsp;Fedora&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">3</SPAN><SPAN style="COLOR: #000000"><BR>rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/3/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/3/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/3/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/3/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Fedora&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">2</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/2/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/2/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/2/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/2/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Fedora&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;core&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;tupdates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Fedora&nbsp;Linux&nbsp;Development<BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/development/i386&nbsp;core</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/development/i386&nbsp;core</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;fedora/linux/1/i386&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">9</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/9/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/9/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">8.0</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/8.0/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/8.0/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">7.3</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.3/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.3/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">7.2</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.2/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.2/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">7.1</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.1/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.1/i386&nbsp;powertools&nbsp;dma</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.1/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.1/i386&nbsp;powertools&nbsp;dma</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">7.0</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.0/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.0/i386&nbsp;powertools&nbsp;dma</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.0/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/7.0/i386&nbsp;powertools&nbsp;dma</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Red&nbsp;Hat&nbsp;Linux&nbsp;</SPAN><SPAN style="COLOR: #000000">6.2</SPAN><SPAN style="COLOR: #000000"><BR>#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/6.2/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/6.2/i386&nbsp;powertools</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/6.2/i386&nbsp;os&nbsp;updates&nbsp;freshrpms</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">#rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ayo.freshrpms.net&nbsp;redhat/6.2/i386&nbsp;powertools</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR></SPAN></DIV></DIV>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">mirror-select.list (for LTSP)</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #000000">#&nbsp;DO&nbsp;NOT&nbsp;EDIT&nbsp;ME</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;Use&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">apt-get&nbsp;mirror-select</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;instead.<BR>#&nbsp;Fedora&nbsp;Core&nbsp;(University&nbsp;of&nbsp;Southern&nbsp;California,&nbsp;USA)<BR>rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">mirrors.usc.edu/pub/linux/fedora/fedora/&nbsp;fedora/2/i386&nbsp;os&nbsp;updates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">mirrors.usc.edu/pub/linux/fedora/fedora/&nbsp;fedora/2/i386&nbsp;os&nbsp;updates</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR>#&nbsp;Fedora&nbsp;Extras&nbsp;(University&nbsp;of&nbsp;Southern&nbsp;California,&nbsp;USA)<BR>rpm&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">mirrors.usc.edu/pub/linux/fedora/fedora/&nbsp;fedora/2/i386&nbsp;stable</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000">rpm</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">src&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">mirrors.usc.edu/pub/linux/fedora/fedora/&nbsp;fedora/2/i386&nbsp;stable</SPAN><SPAN style="COLOR: #008000"><BR></SPAN><SPAN style="COLOR: #000000"><BR></SPAN></DIV></DIV><img src ="http://www.cnitblog.com/alsan/aggbug/1060.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-19 09:35 <a href="http://www.cnitblog.com/alsan/archive/2005/07/19/1060.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>一个方便载入ISO的SCRIPT</title><link>http://www.cnitblog.com/alsan/archive/2005/07/17/1041.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 17 Jul 2005 10:04:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/17/1041.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/1041.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/17/1041.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/1041.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/1041.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">在/usr/local/sbin建立一个叫mount-iso的script，并改为可执行。这个script可以有1或2个参数，分别是要mount的iso文件名及mount point。如果只有1个参数，默认使用/mnt/iso为mount point。</P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #0000ff"></SPAN><SPAN style="COLOR: #000000"><FONT color=#0000ff>ISO=$1</FONT><BR></SPAN><SPAN style="COLOR: #000000">MOUNT_POINT=/mnt/iso<BR></SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #000000">if [ $# -eq 2 ]<BR>then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MOUNT_POINT=$2<BR></SPAN><SPAN style="COLOR: #000000">fi<BR></SPAN><SPAN style="COLOR: #000000"><BR>mount&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">o&nbsp;loop&nbsp;$ISO&nbsp;$MOUNT_POINT</SPAN></DIV></DIV><img src ="http://www.cnitblog.com/alsan/aggbug/1041.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-17 18:04 <a href="http://www.cnitblog.com/alsan/archive/2005/07/17/1041.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>6000ev重光日</title><link>http://www.cnitblog.com/alsan/archive/2005/07/12/892.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Tue, 12 Jul 2005 10:58:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/12/892.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/892.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/12/892.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/892.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/892.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">因为想个6000EV负责更多既任务（例如更多既DHCP内容），于是DOWN左个新版frimware，谂住update D点都有好处。结果，不但未见好处，矩仲话要摆工！！！<BR><BR>情况系：ping唔通，telnet同http都无返应，power同pc灯长着，status闪。由灯睇来，应该系正常既，有power，所以power着。有网线，所以pc灯着，status闪，系因为我要上网查资料，所以无插电话线。ping唔通，即系...坏左...（费话）。<BR><BR>无计，上网查。查到一遍用com口连过去修改既文章。照做，但原来好多呢方面既野我都无（设备，经验）。<BR><BR>首先，要有一个COM口线。几经辛苦至系“多年积蓄”里面找到，原来我都好多年无搞过个COM口啦。<BR><BR>第二个问题，我无可以连COM口既WINDOWS机（因为原文系用HYPER TERMINAL）。我部主机系LINUX，平时用既系NOTEBOOK。NOTEBOOK上无COM/PRN。主机有，但系原来我从来未系LINUX下用过COM口程序！！！什至连LINUX下COM口叫咩都未知！！！<BR><BR>OK，又上网查。终于查到可以用minicom。又要花一段时间学用minicom啦:(<BR><BR>一边睇man page，一边连。但系因为太多不定因素（个COM口有无坏？而家插既系COM1定COM2？条线有无接错？个ADSL究竟仲有无反应？）<BR><BR>经多次完全无反应，有返应但不知所云，到有反应而且仲系正常人睇得明既文字（终于由原始社会进入文明社会），终于放下心头大石...既一半。<BR><BR>入到去个菜单，同平时无咩大分别。但系如果退出去个CONSOLE度，就会发现原来个PROMPT原本系IP地址，但而家就变左MAC地址。呢个就系成件事既问题所在！！！<BR><BR>网上既资料话用tftp down过个image过来。但系我连IP都无，点DOWN？<BR><BR>无计，玩一埔大细。退返出去用户菜单，system maintanence/factory default，GO。<BR><BR>等左10零秒，又见返个菜单。再退出去console，终于见到熟悉既192.168.1.1。呢一刻既心情...真系唔识形容。<BR><BR>OK，应该可以收工啦，最起码其它既野唔使系呢度搞。<BR><BR>退出minicom。突然谂起，不如记低个minicom既设置，下次唔使再搞多次啦。再入过minicom。<BR><BR>出事，又好似之前0甘连唔到！！！<BR><BR>网上既资料话，用COM口连，用38400N81呢个参数就得，但我发现系我呢种情况，系9600N81。可能系出厂值同默认值系唔一样既。呢样要再试清楚。<BR><BR>唔理0甘多啦，接返网线，睇吓ping唔ping得通再讲啦。<BR><BR>ping唔通！！！D汗水好似卡通片既主角0甘，大滴大滴向下流`_`！<BR><BR>要冷静，要冷静，急系解决唔到任何问题既，深呼吸，再深呼吸。<BR><BR>又一次证实处事要冷静呢个系千古不变既定律。个ADSL既默认IP同个内网既IP系两个唔同网段里面架，点可能ping得通！！<BR></P><img src ="http://www.cnitblog.com/alsan/aggbug/892.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-12 18:58 <a href="http://www.cnitblog.com/alsan/archive/2005/07/12/892.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3升级K12LTSP4.2</title><link>http://www.cnitblog.com/alsan/archive/2005/07/03/705.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 03 Jul 2005 13:58:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/03/705.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/705.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/03/705.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/705.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/705.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">其实都唔算升级，因为K12LTSP4.2都系用FC3内核，只系增加左LTSP支持。因为增加左新硬盘，所以唔想刻碟，而直接用ISO系硬盘安装。<BR><BR>装好之后发觉虽然K12LTSP都系用FC3，但系有好多野都明显有改善。比如话关机，以前要系inittab里面改shutdown做halt，而家就唔使，可以直接POWER OFF关机。呢样野唔知系唔系因为我一装完就即刻UPDATE系统有关，不过我基本上每3几日就UPDATE一次，应该唔会0甘好彩就系呢两日修改左呢个BUG，所以我认为系K12LTSP本身做左呢样野。</P><img src ="http://www.cnitblog.com/alsan/aggbug/705.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-03 21:58 <a href="http://www.cnitblog.com/alsan/archive/2005/07/03/705.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3增加新硬盘</title><link>http://www.cnitblog.com/alsan/archive/2005/07/01/668.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 01 Jul 2005 08:48:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/07/01/668.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/668.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/07/01/668.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/668.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/668.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">由于我的主板是带Hi Point IDE RAID的磐英主板，所以在新增硬盘时要相对修正。</P>
<OL style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
<LI>fdisk /dev/hdg 
<OL type=a>
<LI>n (add new partitation)</LI>
<LI>p (primary)</LI>
<LI>1 (partitation letter 1)</LI>
<LI>w (write the change and exist fdisk)<BR></LI></OL></LI>
<LI>format with ext3 (ext2 with journal)<BR>mkfs -t ext3 /dev/hdg1<BR></LI>
<LI>mount
<OL type=a>
<LI>mkdir /home/data</LI>
<LI>echo "/dev/hdg1 /home/data ext3 default 1 2" &gt;&gt; /etc/fstab</LI>
<LI>mount -a</LI></OL></LI></OL><img src ="http://www.cnitblog.com/alsan/aggbug/668.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-07-01 16:48 <a href="http://www.cnitblog.com/alsan/archive/2005/07/01/668.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows使用Linux共享的打印机</title><link>http://www.cnitblog.com/alsan/archive/2005/06/26/560.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 26 Jun 2005 10:20:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/26/560.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/560.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/26/560.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/560.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/560.html</trackback:ping><description><![CDATA[<OL style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
<LI>Linux服务器端配置 
<OL>
<LI>配置print queue 
<OL>
<LI>使用printtool建立新的print queue 
<LI>/dev/lp0 ==&gt; lpt打印机 
<LI>/dev/usb/lp0 ==&gt; usb打印机 
<LI>必须将所建立的print queue设为共享</LI></OL>
<LI>修改cups配置 
<OL>
<LI>修改/etc/cups/cupsd.conf，在&lt;Location /&gt;段中加入本地网段IP，如192.168.0.* 
<LI>修改/etc/cups/mime.convs及mime.types，将application/octect-stream前的#去除</LI></OL>
<LI>修改smaba配置 
<OL>
<LI>在global段中加入 
<OL>
<LI>load printers = yes 
<LI>printing = cups 
<LI>printcap name = cups 
<LI>print command = lp c -d%p -oraw; rm %s 
<LI>use client driver = yes</LI></OL>
<LI>prints段内容 
<OL>
<LI>comment = All printers 
<LI>path = /var/spool/samba 
<LI>printable = yes 
<LI>browseable = no 
<LI>guest ok = yes 
<LI>use client driver = yes 
<LI>create mode = 0777 
<LI>public = yes</LI></OL>
<LI>[model]段内容 
<OL>
<LI>comment = [model comment] 
<LI>path = /var/spool/samba 
<LI>read only = no 
<LI>guest ok = yes 
<LI>printable&nbsp;= yes 
<LI>printing = cups 
<LI>printer name = [model]</LI></OL></LI></OL></LI></OL>
<LI>Windows客户端配置 
<OL>
<LI>配置netbios名称解释：在\windows\system32\drivers\etc\hosts中加入服务器的ip解释 
<LI>新增打印机，driver使用Windows自带的驱动</LI></OL></LI></OL><img src ="http://www.cnitblog.com/alsan/aggbug/560.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-26 18:20 <a href="http://www.cnitblog.com/alsan/archive/2005/06/26/560.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3的完美console</title><link>http://www.cnitblog.com/alsan/archive/2005/06/18/440.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sat, 18 Jun 2005 05:25:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/18/440.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/440.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/18/440.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/440.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/440.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">将FC3改成使用utf-8后，X-windows下可以正常显示中文，但putty还是乱码。查了一下putty的设置，发现有个Translation的设定项，其中可以选utf-8。选定后save，connect，oh~~yes！不但见到中文，还可以使用windows下的输入法直接输入！</P><img src ="http://www.cnitblog.com/alsan/aggbug/440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-18 13:25 <a href="http://www.cnitblog.com/alsan/archive/2005/06/18/440.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3显示中文</title><link>http://www.cnitblog.com/alsan/archive/2005/06/18/439.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sat, 18 Jun 2005 03:33:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/18/439.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/439.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/18/439.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/439.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/439.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">修改/etc/sysconfig/i18n，内容如下：<BR><BR></P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #000000">LANG</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">zh_CN.UTF-8</SPAN><SPAN style="COLOR: #000000">"<BR></SPAN><SPAN style="COLOR: #000000">LANGUAGE="zh_CN.UTF-8:zh_CN.UTF-8:zh_CN"<BR>SUPPORTED</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">zh_HK.UTF-8:zh_HK:zh:zh_CN.UTF-8:zh_CN:zh:zh_TW.UTF-8:zh_TW:zh:en_US.UTF-8:en_US:en"</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #000000">SYSFONT</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">1at0-sun16</SPAN><SPAN style="COLOR: #000000">"</SPAN></DIV></DIV><img src ="http://www.cnitblog.com/alsan/aggbug/439.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-18 11:33 <a href="http://www.cnitblog.com/alsan/archive/2005/06/18/439.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux下getResourceAsStream的一个问题</title><link>http://www.cnitblog.com/alsan/archive/2005/06/17/436.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Fri, 17 Jun 2005 11:31:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/17/436.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/436.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/17/436.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/436.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/436.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">今天发现在Linux下使用getResourceAsStream有一个不能完整读取数据的问题。代码如下：<BR><BR></P>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; FONT-SIZE: 12px; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: Verdana">
<DIV><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;void testDataCompare()&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">try</SPAN><SPAN style="COLOR: #000000">&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;InputStream&nbsp;iStream&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;getClass().getResourceAsStream(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/data.bin</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[]&nbsp;dSrc&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[iStream.available()];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iStream.read(dSrc);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FileInputStream&nbsp;fStream&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;FileInputStream(</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;File(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">data.bin</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[]&nbsp;dTrg&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">byte</SPAN><SPAN style="COLOR: #000000">[fStream.available()];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fStream.read(dTrg);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;boolean&nbsp;success&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">false</SPAN><SPAN style="COLOR: #000000">;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(dSrc.length&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;dTrg.length)&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000">&nbsp;i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;&nbsp;i</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">dSrc.length&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;(success&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;(dSrc[i]&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;dTrg[i]));&nbsp;i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.</SPAN><SPAN style="COLOR: #0000ff">out</SPAN><SPAN style="COLOR: #000000">.println(success&nbsp;</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">same</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;:&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">not&nbsp;same</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR>&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;</SPAN><SPAN style="COLOR: #0000ff">catch</SPAN><SPAN style="COLOR: #000000">(Exception&nbsp;e)&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e.printStackTrace();<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>}</SPAN></DIV></DIV>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">注：</P>
<OL style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">
<LI>iStream及fStream所读取的其实是同一个文件，整个文件大小为902 byte。 
<LI>Windows及Linux下均使用jdk1.5.0_01。 
<LI>程序在Windows下compile及打包成jar。 
<LI>将dSrc及dTrg的内容dump出来看，发现dSrc在507 byte之后所有内容均是0。 
<LI>同一段代码在Windows XP下完全无问题。<BR></LI></OL>
<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">有其他人有类似情况吗？或者有无类似环境可以测试？<BR></P><img src ="http://www.cnitblog.com/alsan/aggbug/436.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-17 19:31 <a href="http://www.cnitblog.com/alsan/archive/2005/06/17/436.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3升级PHP5</title><link>http://www.cnitblog.com/alsan/archive/2005/06/14/376.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Tue, 14 Jun 2005 00:48:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/14/376.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/376.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/14/376.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/376.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/376.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">基本上与其它Linux系统上安装php没什么区别。不过我在安装FC3时选择了安装httpd及php，但在升级时需要apxs的路径，查遍整个HDD都找不到，只有连httpd一齐升级了。<BR><BR>在升级apache中，发现可以保留/etc/init.d/httpd及/etc/sysconfig/httpd这两个文件，当升级完后修改/etc/init.d/httpd这个文件中apachectl及httpd两个variable的路径，就可以开机自启apahce。</P><img src ="http://www.cnitblog.com/alsan/aggbug/376.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-14 08:48 <a href="http://www.cnitblog.com/alsan/archive/2005/06/14/376.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JMagick安装（Linux版）</title><link>http://www.cnitblog.com/alsan/archive/2005/06/12/355.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 12 Jun 2005 07:46:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/12/355.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/355.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/12/355.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/355.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/355.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">原以为是一项“简单任务”，结果足足玩了2天。<BR><BR>要安装JMagick，必须先安装ImageMagick。<BR><BR>ImageMagick在FC3下有RPM，所以apt-get install ImageMagick。安装测试好之后，运行jmagick的./configure，死左。它说找不到ImageMagick的api.h。<BR><BR>上JMagick的网查，有人说要安装ImageMagick-devel，OK，apt-get install ImageMagick-devel。再运行jmagick的./configure，死在之前的错误的下一句，说找不到ImageMagick的Lib所在。<BR><BR>再上网查，有人说要指定ImageMagick/lib，但是ImageMagick下根本就没有lib这个目录，死心。<BR><BR>无计，download source自己compile吧。./configure, make all, make install，测试，不支持jpeg！！？<BR><BR>再查，有人说要libjpeg, libpng, libwmf, ...但所有这些包我都有，而且昨天才用apt-get upgrade更新过系统，怎可能？<BR><BR>继续查，终于有人说出真相（都系鬼佬好，肯讲真话），要libjpg-devel, libpng-devel, ...至真！！顺便安装了jasper，可支持jpeg2000，可惜的是apt-get找不到jasper，要自己down RPM。<BR><BR>ImageMagick安装好，就再行JMagick的./configure，这次OK了:) make all，有错！！？话没有对magick_PixelPacket.c compile的rule，my god...<BR><BR>又查，有人说./configure, make all, make, cd generate, 行一个自己写的shall script，然后又...非常复杂，...<BR><BR>算，可能是中间一个step做错了，又或者这个错是个bug，已经被fix。rm -fR JMagick, cvs -d :pserver:anonyous@jmagick.yro....<BR><BR>再运行./configure, make all, 还是有错。<BR><BR>不死心，make clean, ./configure, make all, 没有出错！！！！make install, make test, 所有结果正常！！！！<BR><BR>运行我的app，出错，UnsafifiedLinkError，找不到JMagick的iso。<BR><BR>查，export LD_LIBRARY_PATH="/usr/local/lib"，BINGO！！<BR><BR>最后总结，再一次证明linux下的东西是灵活而强大的，不是linux够灵活强大，是要用linux的人要够灵活强大，否则，还是用windows吧。要我再做一次，可能就compile不过了。</P><img src ="http://www.cnitblog.com/alsan/aggbug/355.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-12 15:46 <a href="http://www.cnitblog.com/alsan/archive/2005/06/12/355.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>我的my.cnf</title><link>http://www.cnitblog.com/alsan/archive/2005/06/12/354.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 12 Jun 2005 07:45:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/12/354.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/354.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/12/354.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/354.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/354.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">[mysqld]<BR>datadir=/var/lib/mysql<BR>socket=/var/lib/mysql/mysql.sock<BR>default-character-set=utf8<BR>thread_stack=128<BR><BR>[mysql.server]<BR>user=mysql<BR><BR>[safe_mysqld]<BR>pid-file=/var/lib/mysql/mysql.pid<BR></P><img src ="http://www.cnitblog.com/alsan/aggbug/354.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-12 15:45 <a href="http://www.cnitblog.com/alsan/archive/2005/06/12/354.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FC3安装MySQL 5</title><link>http://www.cnitblog.com/alsan/archive/2005/06/12/352.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 12 Jun 2005 07:44:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/12/352.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/352.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/12/352.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/352.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/352.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">FC3自带的MySQL版本太低了， 想升级到MySQL 5，所以从管方网站下载了最新的RPM，心谂RPM应该省事了吧？结果在启动时总是说不能连接server。将所有新装的rpm都删除，从新安装FC3自带的版本也不行，重启再试，还是不行。<BR><BR>正感到绝望的时候，谂起apt-get。心想，用apt-get升级一下，可能就可以搞掂。OK，去！<BR><BR>先将现存的所有mysql*包删除，再用apt-get upgrade更新所有包，再用apt-get install mysql及mysql-server，再用apt-get remove mysql及mysql-server再从新安装MySQL 5的RPM，service mysql start，BINGO！nice to see you again.</P><img src ="http://www.cnitblog.com/alsan/aggbug/352.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-12 15:44 <a href="http://www.cnitblog.com/alsan/archive/2005/06/12/352.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>mysql消除Asked for 196608 thread stack, but got 126976的方法</title><link>http://www.cnitblog.com/alsan/archive/2005/06/12/353.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 12 Jun 2005 07:44:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/12/353.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/353.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/12/353.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/353.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/353.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">消去这个问题 Asked for 196608 thread stack, but got 126976 最简单的方法是在my.cnf的[mysqld]中加入thread_stack=128K 重启即可 </P><img src ="http://www.cnitblog.com/alsan/aggbug/353.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-12 15:44 <a href="http://www.cnitblog.com/alsan/archive/2005/06/12/353.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Linux update</title><link>http://www.cnitblog.com/alsan/archive/2005/06/12/351.html</link><dc:creator>毒菇求Buy</dc:creator><author>毒菇求Buy</author><pubDate>Sun, 12 Jun 2005 07:43:00 GMT</pubDate><guid>http://www.cnitblog.com/alsan/archive/2005/06/12/351.html</guid><wfw:comment>http://www.cnitblog.com/alsan/comments/351.html</wfw:comment><comments>http://www.cnitblog.com/alsan/archive/2005/06/12/351.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/alsan/comments/commentRss/351.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/alsan/services/trackbacks/351.html</trackback:ping><description><![CDATA[<P style="FONT-SIZE: 12px; FONT-FAMILY: Verdana">从<A href="http://ayo.freshrpms.net/">freshrpms.net</A>下载apt-get的rpm包，然后通过freshrpms.net升级。<BR><BR>1. apt-get update - 获取可升级的包列表<BR>2. apt-get upgrade - 升级所有可升级的包<BR>3. apt-get install (pkg) - 安装新包<BR>4. apt-get clean - 清除所下载的包<BR>5. apt-get autoclean - 清除所下载的旧包<BR></P><img src ="http://www.cnitblog.com/alsan/aggbug/351.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/alsan/" target="_blank">毒菇求Buy</a> 2005-06-12 15:43 <a href="http://www.cnitblog.com/alsan/archive/2005/06/12/351.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>