﻿<?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>BlogJava-Lost Temple-随笔分类-linux</title><link>http://www.blogjava.net/izuk/category/13666.html</link><description>我是一个程序员</description><language>zh-cn</language><lastBuildDate>Mon, 15 Mar 2010 15:59:41 GMT</lastBuildDate><pubDate>Mon, 15 Mar 2010 15:59:41 GMT</pubDate><ttl>60</ttl><item><title>linux mount fat分区时正确保存文件名的大小写</title><link>http://www.blogjava.net/izuk/archive/2007/05/26/120130.html</link><dc:creator>izuk</dc:creator><author>izuk</author><pubDate>Fri, 25 May 2007 23:20:00 GMT</pubDate><guid>http://www.blogjava.net/izuk/archive/2007/05/26/120130.html</guid><wfw:comment>http://www.blogjava.net/izuk/comments/120130.html</wfw:comment><comments>http://www.blogjava.net/izuk/archive/2007/05/26/120130.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/izuk/comments/commentRss/120130.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/izuk/services/trackbacks/120130.html</trackback:ping><description><![CDATA[问题是从一个Linux/Windows共享的FAT分区上所有的CVS目录在linux下都变成了小写开始的。<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;"></span><a target="_blank"  href="http://www.linuxquestions.org/questions/showthread.php?t=304167"><span style="color: #000000;">http:</span><span style="color: #008000;">//</span><span style="color: #008000;">www.linuxquestions.org/questions/showthread.php?t=304167</span></a><span style="color: #008000;"></span></div>
<br>同时把答案抄在这里备份一下：<br><br style="font-family: Courier;"><span style="font-family: Tahoma;">Try using the shortname option:</span><br style="font-family: Courier;"><span style="font-family: Courier;">
mount -t vfat -o shortname=[lower|win95|winnt|mixed] /dev /mountpoint</span><br style="font-family: Courier;"><span style="font-family: Courier;">
(choose one of the options, I would go with winnt or mixed first, the default is lower<br><br>------<br>忍不住牢骚一句：这个blog系统在Firefox下用户体验真是suck。<br></span><span style="font-family: Comic Sans MS;"></span><span style="color: #000000;"><span style="font-family: Courier; font-size: 8pt;"></span><span style="font-family: Courier;"></span></span><span style="color: #000000; font-size: 8pt;"><span style="font-family: Courier;"></span><br></span><img src ="http://www.blogjava.net/izuk/aggbug/120130.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/izuk/" target="_blank">izuk</a> 2007-05-26 07:20 <a href="http://www.blogjava.net/izuk/archive/2007/05/26/120130.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>RHEL3的yum配置</title><link>http://www.blogjava.net/izuk/archive/2006/08/01/61232.html</link><dc:creator>izuk</dc:creator><author>izuk</author><pubDate>Tue, 01 Aug 2006 09:20:00 GMT</pubDate><guid>http://www.blogjava.net/izuk/archive/2006/08/01/61232.html</guid><wfw:comment>http://www.blogjava.net/izuk/comments/61232.html</wfw:comment><comments>http://www.blogjava.net/izuk/archive/2006/08/01/61232.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/izuk/comments/commentRss/61232.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/izuk/services/trackbacks/61232.html</trackback:ping><description><![CDATA[一个比较老的系统了, uname的结果是<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">Linux pc </span><span style="color: rgb(0, 0, 0);">2.4</span><span style="color: rgb(0, 0, 0);">.</span><span style="color: rgb(0, 0, 0);">21</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">4</span><span style="color: rgb(0, 0, 0);">.EL #</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"> Fri Oct </span><span style="color: rgb(0, 0, 0);">3</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">18</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">13</span><span style="color: rgb(0, 0, 0);">:</span><span style="color: rgb(0, 0, 0);">58</span><span style="color: rgb(0, 0, 0);"> EDT </span><span style="color: rgb(0, 0, 0);">2003</span><span style="color: rgb(0, 0, 0);"> i686 i686 i386 GNU</span><span style="color: rgb(0, 0, 0);">/</span><span style="color: rgb(0, 0, 0);">Linux<br /></span></div>安装的yum版本是 yum-2.0.7-1.noarch.rpm. <br /><br />找的源是针对Centos3的, 请参考:<br /><i><font face="Courier New" size="2">
      Centos-3 is a distribution 
      that rebuilds the Enterprise Linux 3 release by taking the Source 
      RPMs and rebuilding them with full binary compatibility to the 
      upstream RPM packages of the EL3 line (see the project website
      for more details about this distribution: 
      <a href="http://www.centos.org/">www.centos.org</a>).
      <br />
      Centos 3 represents a rebuild of the latest updated release of Enterprise Linux 3</font></i><br /><br />用的是DUKE大学提供的source, 参见 <a href="http://linux.duke.edu/dist/centos-3/packages.ptml">Packages for Centos-3</a>:<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);">[duke</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">base]<br />name</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">Linux@DUKE Centos $releasever </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> $basearch </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> Base<br />baseurl</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">http:</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">install.linux.duke.edu/pub/linux/base/centos-3/$basearch/</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">gpgcheck</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"><br /><br />[updates]<br />name</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">Linux@DUKE Centos $releasever </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> $basearch </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> Updates<br />baseurl</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">http:</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">install.linux.duke.edu/pub/linux/updates/centos-3/$basearch/</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">gpgcheck</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"><br /><br />[duke</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">distrib]<br />name</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">Linux@DUKE Freely Distributable add</span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">on packages </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> Centos $releasever </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> $basearch<br />baseurl</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">http:</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">install.linux.duke.edu/pub/linux/add-on/distrib/centos-3/$basearch/</span><span style="color: rgb(0, 128, 0);"><br /></span><span style="color: rgb(0, 0, 0);">gpgcheck</span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);"><br /></span></div><br />需要导入的key参见 <a href="http://linux.duke.edu/dist/centos-3/verify.ptml">Using Signature Checking in Yum</a> :<br />但好像其中i386下的一个key是错误的,最后导入的key是这样的:<br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);"></span><span style="color: rgb(0, 128, 0);"></span><span style="color: rgb(0, 128, 0);"></span><span style="color: rgb(0, 0, 0);">rpm </span><span style="color: rgb(0, 0, 0);">--</span><span style="color: rgb(0, 0, 255);">import</span><span style="color: rgb(0, 0, 0);"> http:</span><span style="color: rgb(0, 128, 0);">//</span><span style="color: rgb(0, 128, 0);">install.linux.duke.edu/pub/linux/base/centos-3/i386/RPM-GPG-KEY-CentOS-3<br />rpm --import http://install.linux.duke.edu/pub/linux/add-on/distrib/Linux-at-DUKE-GPG-KEY<br /></span></div><br />最后,如果业务有需要,还是购买正式的RHEL服务吧,呵呵,或者用其他免费的版本.<br /><img src ="http://www.blogjava.net/izuk/aggbug/61232.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/izuk/" target="_blank">izuk</a> 2006-08-01 17:20 <a href="http://www.blogjava.net/izuk/archive/2006/08/01/61232.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>