<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Information Retrieval Blog &#187; ubuntu</title>
	<atom:link href="http://blog.zye.me/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.zye.me</link>
	<description>REAL TIME DATA PROCESSING, DISTRIBUTED COMPUTING, PATTERN DISCOVERY</description>
	<lastBuildDate>Tue, 31 Jan 2012 02:05:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>latex 中文支持script ＆ samples &#8212; memos</title>
		<link>http://blog.zye.me/2010/02/55536.html</link>
		<comments>http://blog.zye.me/2010/02/55536.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 17:21:02 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Latex]]></category>
		<category><![CDATA[kile]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[中文支持]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=55536</guid>
		<description><![CDATA[介绍如何在ubuntu 下按章cjk 支持，一下脚本在ubuntu 9.10 + kile 下测试好使。 latex 下安装中文支持，需要安装一系列宏包，然后拷贝生成字体什么的，甚是繁琐。一步抄作出问题，会浪费很多时间。 不如写成一个script， shell 脚本。出问题，或机器重装，运行此脚本即可，一劳永逸。 备忘。 脚本下载：installcjk samples : documentclass{article} usepackage{CJK} begin{document} begin{CJK}{UTF8}{song} 这是so8848 end{CJK} end{document}]]></description>
			<content:encoded><![CDATA[<p>介绍如何在ubuntu 下按章cjk 支持，一下脚本在ubuntu 9.10 + kile 下测试好使。</p>
<p>latex 下安装中文支持，需要安装一系列宏包，然后拷贝生成字体什么的，甚是繁琐。一步抄作出问题，会浪费很多时间。</p>
<p>不如写成一个script， shell 脚本。出问题，或机器重装，运行此脚本即可，一劳永逸。</p>
<p>备忘。 脚本下载：<a href="http://blog.zye.me/wp-content/uploads/2010/02/installcjk1.zip">installcjk</a></p>
<h3>samples :</h3>
<div id="_mcePaste"><span style="color: #808080;">documentclass{article}</span></div>
<div id="_mcePaste"><span style="color: #808080;">usepackage{CJK}</span></div>
<div id="_mcePaste"><span style="color: #808080;">begin{document}</span></div>
<div id="_mcePaste"><span style="color: #808080;">begin{CJK}{UTF8}{song}</span></div>
<div id="_mcePaste"><span style="color: #808080;">这是so8848</span></div>
<div id="_mcePaste"><span style="color: #808080;">end{CJK}</span></div>
<div id="_mcePaste"><span style="color: #808080;">end{document}</span></div>
<div><span style="color: #808080;"><br />
</span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2010/02/55536.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Whole Website or Directories by using wget in Linux</title>
		<link>http://blog.zye.me/2009/09/54411.html</link>
		<comments>http://blog.zye.me/2009/09/54411.html#comments</comments>
		<pubDate>Sat, 19 Sep 2009 18:43:41 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[crawler]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=54411</guid>
		<description><![CDATA[Download Whole Website or Directories by using wget in Linux You might have googled a software for downloading a specified website or directory on either Windows or Linux platform . Yes, a bunch of tools can do this for you. Actually, we can do this by using a simple command, wget, on Linux platform. It <a href='http://blog.zye.me/2009/09/54411.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<h1>Download Whole Website or Directories by using wget in Linux</h1>
<p>You might have googled a software for downloading a specified website or directory on either Windows or Linux platform . Yes, a bunch of tools can do this for you. Actually, we can do this by using a simple command, wget, on Linux platform. It is highly customizable, just a powerful crawler. You will find it fantastic and really cool. Let me just show you how!</p>
<p><strong>wget </strong></p>
<p><strong>&#8211;recursive </strong></p>
<p><strong>&#8211;no-clobber </strong></p>
<p><strong>&#8211;page-requisites </strong></p>
<p><strong>&#8211;html-extension </strong></p>
<p><strong>&#8211;convert-links </strong></p>
<p><strong>&#8211;restrict-file-names=windows </strong></p>
<p><strong>&#8211;domains techstroke.com </strong></p>
<p><strong>&#8211;no-parent </strong></p>
<p><strong>www.techstroke.com/Windows/</strong></p>
<p>The command above let you download the &#8220;windows&#8221; directory at the domain of &#8220;<strong>techstroke.com&#8221; </strong>recursively, starting from the url  <strong>www.techstroke.com/Windows/</strong></p>
<p>How do you like it? Hah, really cool?</p>
<p>Finally, let me explain a bit more about the parameters. Of course, you can refer to its documentation.</p>
<p><strong><span style="font-family: mceinline;"><span style="font-family: mceinline;">The options are:</span></span></strong></p>
<p><strong>–recursive: </strong>download the entire Web site.</p>
<p>–domains-techstroke.com: don’t follow links outside techstroke.com.</p>
<p>–no-parent: don’t follow links outside the directory /Windows/.</p>
<p>–page-requisites: get all the elements that compose the page (images, CSS and so on).</p>
<p>–html-extension: save files with the .html extension.</p>
<p>–convert-links: convert links so that they work locally, off-line.</p>
<p>–restrict-file-names=windows: modify filenames so that they will work in Windows as well.</p>
<p>–no-clobber: don’t overwrite any existing files (used in case the download is interrupted and</p>
<p>resumed).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/09/54411.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 安装图形界面</title>
		<link>http://blog.zye.me/2009/06/52550.html</link>
		<comments>http://blog.zye.me/2009/06/52550.html#comments</comments>
		<pubDate>Sat, 13 Jun 2009 00:15:30 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[图形界面]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=52550</guid>
		<description><![CDATA[Ubuntu Server 安装图形界面 1、安装 X 窗口系统：sudo apt-get install x-window-system-core 2、安装登录管理器：sudo apt-get install xdm/gdm/kdm[注]。最常见的图形化登录管理器包括 XDM、GDM、KDM，用户可根据自己的需要选择其中之一 3、 安装桌面环境或窗口管理器：sudo apt-get install ubuntu-desktop/kubuntu-desktop/xubuntu-desktop。这将分别安装 GNOME、KDE、XFCE 桌面环境。对于 GNOME、KDE、XFCE 这些桌面环境来说，为了获得更强的定制效果，也可仅安装最基本的组件，如：sudo apt-get install gnome-core/kde-core/xfce4。 如果不需要桌面环境，也可选择安装窗口管理器代替。那样的话，可以执行指令 sudo apt-get install fluxbox/icewm/enlightenment/fvwm]]></description>
			<content:encoded><![CDATA[<h4 id="subjcns!2FC6D3091545F119!174" class="beTitle">Ubuntu Server 安装图形界面</h4>
<p>1、安装 X 窗口系统：sudo apt-get install x-window-system-core</p>
<p>2、安装登录管理器：sudo apt-get install xdm/gdm/kdm[<a href="http://linuxtoy.org/archives/minimalist-install-of-ubuntu.html#comment" target="_blank">注</a>]。最常见的图形化登录管理器包括 XDM、GDM、KDM，用户可根据自己的需要选择其中之一</p>
<p>3、 安装桌面环境或窗口管理器：sudo apt-get install ubuntu-desktop/kubuntu-desktop/xubuntu-desktop。这将分别安装 GNOME、KDE、XFCE 桌面环境。对于 GNOME、KDE、XFCE 这些桌面环境来说，为了获得更强的定制效果，也可仅安装最基本的组件，如：sudo apt-get install gnome-core/kde-core/xfce4。</p>
<p>如果不需要桌面环境，也可选择安装窗口管理器代替。那样的话，可以执行指令 sudo apt-get install fluxbox/icewm/enlightenment/fvwm</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/06/52550.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kile spell check doesn&#8217;t work</title>
		<link>http://blog.zye.me/2009/05/51752.html</link>
		<comments>http://blog.zye.me/2009/05/51752.html#comments</comments>
		<pubDate>Wed, 06 May 2009 01:50:50 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Latex]]></category>
		<category><![CDATA[kile]]></category>
		<category><![CDATA[spell check]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=51752</guid>
		<description><![CDATA[Just for future reference. the following steps were what I followed: 1. open the Synaptic manager and install Kile apsell kcontrol 2. goto Applications-&#62;Other-&#62;Spell Checker (it seems that it is not necessary) in client choose Aspell, this will change the dictionary to Aspell (for me by default appeared Ispell as dictionary). 3. restart Kile (if <a href='http://blog.zye.me/2009/05/51752.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Just for future reference. the following steps were what I followed:<br />
 1. open the Synaptic manager and install<br />
 Kile<br />
 apsell<br />
 kcontrol</p>
<p>2. goto Applications-&gt;Other-&gt;Spell Checker (it seems that it is not necessary)</p>
<p>in client choose Aspell, this will change the dictionary to Aspell (for me by default appeared Ispell as dictionary).</p>
<p>3. restart Kile (if it is open)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/05/51752.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu kile下 解决中文问题-CJK{GBK}</title>
		<link>http://blog.zye.me/2009/05/51675.html</link>
		<comments>http://blog.zye.me/2009/05/51675.html#comments</comments>
		<pubDate>Mon, 04 May 2009 00:02:58 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Latex]]></category>
		<category><![CDATA[CJK]]></category>
		<category><![CDATA[kile]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[中文]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=51675</guid>
		<description><![CDATA[1. 安装TexLive 和 Latex 宏包 安装这些其实还可以避免其他很多ubuntu kile 下的问题 打开终端，执行下述命令安装TexLive和常用的一些Latex宏包（可以根据自己的需要增改）： sudo apt-get install texlive texlive-math-extra texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra texlive-common latex-beamer 如果硬盘充裕的话，直接完整安装也可以： sudo apt-get install texlive-full latex-beamer 安装完后，就可以安装CJK的相关软件包了，如果只需要获得中文支持，那么执行： sudo apt-get install latex-cjk-chinese ttf-arphic-* hbf-* 否则，建议安装latex-cjk-all以获取完整支持。 安装 gbkfonts 下载1:  gbkfontsfortetex3.0 下载2: gbkfonts 直接把gbkfonts 文件copy 到 目录/usr/bin, 记得要chmod, 命令: sudo chmod 777 /usr/bin/gbkfonts , 因为这个文件是从别地方copy过来,  not <a href='http://blog.zye.me/2009/05/51675.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<h1>1. 安装TexLive 和 Latex 宏包</h1>
<p><strong>安装这些其实还可以避免其他很多ubuntu kile 下的问题</strong></p>
<p>打开终端，执行下述命令安装TexLive和常用的一些Latex宏包（可以根据自己的需要增改）：</p>
<p><code>sudo apt-get install texlive texlive-math-extra texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-pictures texlive-science texlive-bibtex-extra texlive-common latex-beamer</code></p>
<p>如果硬盘充裕的话，直接完整安装也可以：</p>
<p><code>sudo apt-get install texlive-full latex-beamer</code></p>
<p>安装完后，就可以安装CJK的相关软件包了，如果只需要获得中文支持，那么执行：</p>
<p><code>sudo apt-get install latex-cjk-chinese ttf-arphic-* hbf-*</code></p>
<p>否则，建议安装latex-cjk-all以获取完整支持。</p>
<p><span class="postbody"><span style="color: blue;">安装 gbkfonts</span></span></p>
<p>下载1:  <a href="http://www.hebl.name/software/tex/cjk/gbkfontsfortetex3.0.tar.gz">gbkfontsfortetex3.0</a></p>
<p>下载2: <a href="http://www.yorku.ca/yezheng/tools/gbkfontsfortetex3.0.tar.gz">gbkfonts</a></p>
<p>直接把gbkfonts 文件copy 到 目录/usr/bin, 记得要chmod, 命令: sudo chmod 777 /usr/bin/gbkfonts , 因为这个文件是从别地方copy过来,  not permit.</p>
<h1><span style="color: #000000;"><span class="postbody">然后开始拷贝字体</span></span></h1>
<h1><span class="postbody"> </span></h1>
<p><span class="postbody"><span style="color: blue;"> </span></span> sudo cp /media/hda1/windows/Fonts/sim* /usr/share/fonts/zh_CN/TrueType/</p>
<p>mkdir ~/texmf  #如果你不是把目录建在这，比如建在~/.texmf,请参阅附录2作相应修改<br />
 cd ~/texmf</p>
<p>gbkfonts /usr/share/fonts/zh_CN/TrueType/simsun.ttc song<br />
 gbkfonts /usr/share/fonts/zh_CN/TrueType/simfang.ttf fang<br />
 gbkfonts /usr/share/fonts/zh_CN/TrueType/simkai.ttf kai<br />
 gbkfonts /usr/share/fonts/zh_CN/TrueType/simhei.ttf hei<br />
 之后执行<br />
 <span style="color: #ff0000;"><strong>mktexlsr</strong></span></p>
<h1>消除kile下面dvi看中文小黑框的问题:</h1>
<p><span class="postbody"><span style="color: blue;">sudo vim /var/lib/texmf/web2c/updmap.cfg<br />
 在最后一行输入: </span></span><span class="postbody"><span style="color: blue;"> Map cjk.map(也许你发现本来就有.我建议你还是再输入一次~~)<br />
 </span></span><span class="postbody"><span style="color: blue;">接着使用: updmap </span></span></p>
<h1>测试:</h1>
<p>打开kile<br />
 documentclass{article}<br />
 usepackage{CJK}<br />
 begin{document}<br />
 begin{CJK}{GBK}{song}<br />
 这是latex<br />
 end{CJK}<br />
 end{document}<br />
 保存时候注意编码设置为gb2312</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/05/51675.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>fix problems in ubuntu kile:  multirow.sty&#8217; not found</title>
		<link>http://blog.zye.me/2009/05/51673.html</link>
		<comments>http://blog.zye.me/2009/05/51673.html#comments</comments>
		<pubDate>Sun, 03 May 2009 20:06:29 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Latex]]></category>
		<category><![CDATA[kile]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=51673</guid>
		<description><![CDATA[The problems such as multirow.sty&#8217; not found can be fixed via the following command (Ubuntu system): sudo apt-get install texlive-latex-extra I seems that some packages are missing in the default setting of kile. It will take you a lot time to download the extra packages via the above command.]]></description>
			<content:encoded><![CDATA[<p>The problems such as multirow.sty&#8217; not found can be fixed via the following command (Ubuntu system):</p>
<p>sudo apt-get install texlive-latex-extra</p>
<p>I seems that some packages are missing in the default setting of kile. It will take you a lot time to download the extra packages via the above command.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/05/51673.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>linux下如何安装软件</title>
		<link>http://blog.zye.me/2009/04/51294.html</link>
		<comments>http://blog.zye.me/2009/04/51294.html#comments</comments>
		<pubDate>Wed, 22 Apr 2009 00:13:57 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[安装软件]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=51294</guid>
		<description><![CDATA[在Windows下安装软件时，只需用鼠标双击软件的安装程序，或者用Zip等解压缩软件解压缩即可安装。在Linux下安装软件对初学者来说，难度高于Windows下软件安装。下面我就详细讲解Linux下如何安装软件。 　 　先来看看Linux软件扩展名。软件后缀为.rpm最初是Red Hat Linux提供的一种包封装格式，现在许多Linux发行版本都使用；后缀为.deb是Debain Linux提供的一种包封装格式；后缀为.tar.gz、tar.Z、tar.bz2或.tgz是使用Unix系统打包工具tar打包的；后缀为.bin 的一般是一些商业软件。通过扩展名可以了解软件格式，进而了解软件安装。 　　RPM格式软件包的安装 1.简介 　　几乎所有的Linux发行版本都使用某种形式的软件包管理安装、更新和卸载软件。与直接从源代码安装相比，软件包管理易于安装和卸载；易于更新已安装的软件包；易于保护配置文件；易于跟踪已安装文件。 　　RPM全称是Red Hat Package Manager（Red Hat包管理器）。RPM本质上就是一个包，包含可以立即在特定机器体系结构上安装和运行的Linux软件。RPM示意图见图1。 　　大多数Linux RPM软件包的命名有一定的规律，它遵循名称-版本-修正版-类型－MYsoftware-1.2 -1.i386.rpm 。 2.安装RPM包软件 　　＃　rpm -ivh MYsoftware-1.2 -1.i386.rpm 　　RPM命令主要参数： 　　-i 安装软件。 　　-t 测试安装，不是真的安装。 　　-p 显示安装进度。 　　-f 忽略任何错误。 　　-U 升级安装。 　　-v 检测套件是否正确安装。 　　这些参数可以同时采用。更多的内容可以参考RPM的命令帮助。 安装QQ 有时候会出问题，试试下面命令： rpm -ivh &#8211;force &#8211;nodeps linuxqq-v1.0.2-beta1.i386.rpm 3.卸载软件 　　＃　rpm -e 软件名 　　需要说明的是，上面代码中使用的是软件名，而不是软件包名。例如，要卸载software-1.2.-1.i386.rpm这个包时，应执行： 　　＃rpm -e software 　　4.强行卸载RPM包 　　有时除去一个RPM是不行的，尤其是系统上有别的程序依赖于它的时候。如果执行命令会显示如下错误信息： <a href='http://blog.zye.me/2009/04/51294.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>在Windows下安装软件时，只需用鼠标双击软件的安装程序，或者用Zip等解压缩软件解压缩即可安装。在Linux下安装软件对初学者来说，难度高于Windows下软件安装。下面我就详细讲解Linux下如何安装软件。</p>
<p>　 　先来看看Linux软件扩展名。软件后缀为.rpm最初是Red Hat Linux提供的一种包封装格式，现在许多Linux发行版本都使用；后缀为.deb是Debain Linux提供的一种包封装格式；后缀为.tar.gz、tar.Z、tar.bz2或.tgz是使用Unix系统打包工具tar打包的；后缀为.bin 的一般是一些商业软件。通过扩展名可以了解软件格式，进而了解软件安装。</p>
<p>　　RPM格式软件包的安装</p>
<h1>1.简介</h1>
<p>　　几乎所有的Linux发行版本都使用某种形式的软件包管理安装、更新和卸载软件。与直接从源代码安装相比，软件包管理易于安装和卸载；易于更新已安装的软件包；易于保护配置文件；易于跟踪已安装文件。</p>
<p>　　RPM全称是Red Hat Package Manager（Red Hat包管理器）。RPM本质上就是一个包，包含可以立即在特定机器体系结构上安装和运行的Linux软件。RPM示意图见图1。</p>
<p><img src="http://www.pconline.com.cn/pcjob/system/linux/others/0507/pic/fgrkds.jpg" border="0" alt="user posted image" /></p>
<p>　　大多数Linux RPM软件包的命名有一定的规律，它遵循名称-版本-修正版-类型－MYsoftware-1.2 -1.i386.rpm 。</p>
<h1>2.安装RPM包软件</h1>
<p>　　＃　rpm -ivh MYsoftware-1.2 -1.i386.rpm</p>
<p>　　RPM命令主要参数：</p>
<p>　　-i 安装软件。<br />
　　-t 测试安装，不是真的安装。<br />
　　-p 显示安装进度。<br />
　　-f 忽略任何错误。<br />
　　-U 升级安装。<br />
　　-v 检测套件是否正确安装。</p>
<p>　　这些参数可以同时采用。更多的内容可以参考RPM的命令帮助。</p>
<p>安装QQ 有时候会出问题，试试下面命令：</p>
<p>rpm -ivh &#8211;force &#8211;nodeps linuxqq-v1.0.2-beta1.i386.rpm</p>
<h1>3.卸载软件</h1>
<p>　　＃　rpm -e 软件名</p>
<p>　　需要说明的是，上面代码中使用的是软件名，而不是软件包名。例如，要卸载software-1.2.-1.i386.rpm这个包时，应执行：<br />
　　＃rpm -e software</p>
<p>　　4.强行卸载RPM包<br />
　　有时除去一个RPM是不行的，尤其是系统上有别的程序依赖于它的时候。如果执行命令会显示如下错误信息：</p>
<p>　　＃# rpm -e xsnow<br />
　　error: removing these packages would break dependencies:<br />
　　/usr/X11R6/bin/xsnow is needed by x-amusements-1.0-1</p>
<p>　　在这种情况下，可以用&#8211;force选项重新安装xsnow：</p>
<p>　　＃# rpm -ivh &#8211;force xsnow-1.41-1.i386.rpm<br />
　　xsnow</p>
<p>　　这里推荐使用工具软件Kleandisk，用它可以安全彻底清理掉不再使用的RPM包。</p>
<h1>5.安装.src.rpm类型的文件</h1>
<p>　　目前RPM有两种模式，一种是已经过编码的（i386.rpm），一种是未经编码的（src.rpm）。<br />
　　rpm &#8211;rebuild Filename.src.rpm</p>
<p>　　这时系统会建立一个文件Filenamr.rpm，在/usr/src/redflag/RPMS/子目录下，一般是i386，具体情况和Linux发行版本有关。然后执行下面代码即可：<br />
　　rpm -ivh /usr/src/regflag/RPMS/i386/Filename.rpm</p>
<h1>使用deb打包的软件安装</h1>
<p>　 　deb是Debian Linux提供的一个包管理器，它与RPM十分类似。但由于RPM出现得早，并且应用广泛，所以在各种版本的Linux中都常见到，而Debian的包管 理器dpkg只出现在Debina Linux中。它的优点是不用被严格的依赖性检查所困扰，缺点是只在Debian Linux发行版中才能见到这个包管理工具。</p>
<p>　　1. 安装<br />
　　＃　dpkg -i MYsoftware-1.2.-1.deb</p>
<p>　　2. 卸载<br />
　　＃　dpkg -e MYsoftware</p>
<p>　　使用源代码进行软件安装</p>
<p>　 　和RPM安装方式相比，使用源代码进行软件安装会复杂一些，但是用源代码安装软件是Linux下进行软件安装的重要手段，也是运行Linux的最主要的 优势之一。使用源代码安装软件，能按照用户的需要选择定制的安装方式进行安装，而不是仅仅依靠那些在安装包中的预配置的参数选择安装。另外，仍然有一些软 件程序只能从源代码处进行安装。</p>
<p>　　现在有很多地方都提供源代码包，到底在什么地方获得取决于软件的特殊需要。对于那些使用比较普遍的软 件，如Sendmail，可以从商业网站处下载源代码软件包（如http://www.sendmail.org ）。一般的软件包，可从开发者的Web站点下载。下面介绍一下安装步骤：</p>
<p>　　1.解压数据包<br />
　　源代码软件通常以.tar.gz做为扩展名,也有tar.Z、tar.bz2或.tgz为扩展名的。不同扩展名解压缩命令也不相同，见表1。<br />
<img src="http://www.pconline.com.cn/pcjob/system/linux/others/0507/pic/fgrkds2.jpg" border="0" alt="user posted image" /><br />
　　<br />
　　2.编译软件<br />
　 　成功解压缩源代码文件后，进入解包的目录。在安装前阅读Readme文件和Install文件。尽管许多源代码文件包都使用基本相同的命令，但是有时在 阅读这些文件时能发现一些重要的区别。例如，有些软件包含一个可以安装的安装脚本程序（.sh）。在安装前阅读这些说明文件，有助于安装成功和节约时间。</p>
<p>　　在安装软件以前要成为root用户。实现这一点通常有两种方式：在另一台终端以root用户登录，或者输入“su”，此时系统会提示输入root用户的密码。输入密码以后，就将一直拥有root用户的权限。如果已经是root用户，那就可以进行下一步。</p>
<p>通常的安装方法是从安装包的目录执行以下命令：</p>
<p>　　gunzip soft1.tar.gz<br />
　　cd soft1<br />
　　＃. /configure ＃配置＃<br />
　　make ＃调用make＃<br />
　　make install ＃安装源代码＃</p>
<p>　　删除安装时产生的临时文件：<br />
　　＃make clean</p>
<p>　　卸载软件：<br />
　　＃make uninstall</p>
<p>　　有些软件包的源代码编译安装后可以用make uninstall命令卸载。如果不提供此功能，则软件的卸载必须手动删除。由于软件可能将文件分散地安装在系统的多个目录中，往往很难把它删除干净，应该在编译前进行配置。</p>
<h1>.bin文件安装</h1>
<p>　 　扩展名为.bin文件是二进制的，它也是源程序经编译后得到的机器语言。有一些软件可以发布为以.bin为后缀的安装包，例如，流媒体播放器 RealONE。如果安装过RealONE的Windows版的话，那么安装RealONE for Linux版本(文件名：r1p1_linux22_libc6_i386_a1.bin)就非常简单了：<br />
　　＃chmod +x r1p1_linux22_libc6_i386_a1.bin<br />
　　./ r1p1_linux22_libc6_i386_a1.bin</p>
<p>　　接下来选择安装方式，有普通安装和高级安装两种。如果不想改动安装目录，就可选择普通安装，整个安装过程几乎和在Windwos下一样。</p>
<p>　　.bin文件的卸载，以RealONE for Linux为例，如果采用普通安装方式的话，在用户主目录下会有Real和Realplayer9两个文件夹，把它们删除即可。</p>
<h1>Linux绿色软件</h1>
<p>　 　Linux也有一些绿色软件，不过不是很多。Linux系统提供一种机制：自动响应软件运行进程的要求,为它设定好可以马上运行的环境。这种机制可以是 一种接口，或者是中间件。程序员编写的程序可以直接拷贝分发，不用安装，只要点击程序的图标，访问操作系统提供的接口，设定好就可以工作。若要删除软件， 直接删除就可以,不用链接文件。这是最简单的软件安装、卸载方式。</p>
<p>　　上面介绍了Linux软件安装的方法，对于Linux初学者来说，RPM安装是一个不错的选择。如果想真正掌握Linux系统，源代码安装仍然是Linux下软件安装的重要手段。</p>
<p>　在Windows下安装软件时，只需用鼠标双击软件的安装程序，或者用Zip等解压缩软件解压缩即可安装。在Linux下安装软件对初学者来说，难度高于Windows下软件安装。下面我就详细讲解Linux下如何安装软件。</p>
<p>　 　先来看看Linux软件扩展名。软件后缀为.rpm最初是Red Hat Linux提供的一种包封装格式，现在许多Linux发行版本都使用；后缀为.deb是Debain Linux提供的一种包封装格式；后缀为.tar.gz、tar.Z、tar.bz2或.tgz是使用Unix系统打包工具tar打包的；后缀为.bin 的一般是一些商业软件。通过扩展名可以了解软件格式，进而了解软件安装。</p>
<p>　　RPM格式软件包的安装</p>
<p>　　1.简介<br />
　　几乎所有的Linux发行版本都使用某种形式的软件包管理安装、更新和卸载软件。与直接从源代码安装相比，软件包管理易于安装和卸载；易于更新已安装的软件包；易于保护配置文件；易于跟踪已安装文件。</p>
<p>　　RPM全称是Red Hat Package Manager（Red Hat包管理器）。RPM本质上就是一个包，包含可以立即在特定机器体系结构上安装和运行的Linux软件。RPM示意图见图1。</p>
<p><img src="http://www.pconline.com.cn/pcjob/system/linux/others/0507/pic/fgrkds.jpg" border="0" alt="user posted image" /></p>
<p>　　大多数Linux RPM软件包的命名有一定的规律，它遵循名称-版本-修正版-类型－MYsoftware-1.2 -1.i386.rpm 。</p>
<p>　　2.安装RPM包软件<br />
　　＃　rpm -ivh MYsoftware-1.2 -1.i386.rpm</p>
<p>　　RPM命令主要参数：</p>
<p>　　-i 安装软件。<br />
　　-t 测试安装，不是真的安装。<br />
　　-p 显示安装进度。<br />
　　-f 忽略任何错误。<br />
　　-U 升级安装。<br />
　　-v 检测套件是否正确安装。</p>
<p>　　这些参数可以同时采用。更多的内容可以参考RPM的命令帮助。</p>
<p>　　3.卸载软件<br />
　　＃　rpm -e 软件名</p>
<p>　　需要说明的是，上面代码中使用的是软件名，而不是软件包名。例如，要卸载software-1.2.-1.i386.rpm这个包时，应执行：<br />
　　＃rpm -e software</p>
<p>　　4.强行卸载RPM包<br />
　　有时除去一个RPM是不行的，尤其是系统上有别的程序依赖于它的时候。如果执行命令会显示如下错误信息：</p>
<p>　　＃# rpm -e xsnow<br />
　　error: removing these packages would break dependencies:<br />
　　/usr/X11R6/bin/xsnow is needed by x-amusements-1.0-1</p>
<p>　　在这种情况下，可以用&#8211;force选项重新安装xsnow：</p>
<p>　　＃# rpm -ivh &#8211;force xsnow-1.41-1.i386.rpm<br />
　　xsnow</p>
<p>　　这里推荐使用工具软件Kleandisk，用它可以安全彻底清理掉不再使用的RPM包。</p>
<p>　　5.安装.src.rpm类型的文件<br />
　　目前RPM有两种模式，一种是已经过编码的（i386.rpm），一种是未经编码的（src.rpm）。<br />
　　rpm &#8211;rebuild Filename.src.rpm</p>
<p>　　这时系统会建立一个文件Filenamr.rpm，在/usr/src/redflag/RPMS/子目录下，一般是i386，具体情况和Linux发行版本有关。然后执行下面代码即可：<br />
　　rpm -ivh /usr/src/regflag/RPMS/i386/Filename.rpm</p>
<p>　　使用deb打包的软件安装</p>
<p>　 　deb是Debian Linux提供的一个包管理器，它与RPM十分类似。但由于RPM出现得早，并且应用广泛，所以在各种版本的Linux中都常见到，而Debian的包管 理器dpkg只出现在Debina Linux中。它的优点是不用被严格的依赖性检查所困扰，缺点是只在Debian Linux发行版中才能见到这个包管理工具。</p>
<p>　　1. 安装<br />
　　＃　dpkg -i MYsoftware-1.2.-1.deb</p>
<p>　　2. 卸载<br />
　　＃　dpkg -e MYsoftware</p>
<p>　　使用源代码进行软件安装</p>
<p>　 　和RPM安装方式相比，使用源代码进行软件安装会复杂一些，但是用源代码安装软件是Linux下进行软件安装的重要手段，也是运行Linux的最主要的 优势之一。使用源代码安装软件，能按照用户的需要选择定制的安装方式进行安装，而不是仅仅依靠那些在安装包中的预配置的参数选择安装。另外，仍然有一些软 件程序只能从源代码处进行安装。</p>
<p>　　现在有很多地方都提供源代码包，到底在什么地方获得取决于软件的特殊需要。对于那些使用比较普遍的软 件，如Sendmail，可以从商业网站处下载源代码软件包（如http://www.sendmail.org ）。一般的软件包，可从开发者的Web站点下载。下面介绍一下安装步骤：</p>
<p>　　1.解压数据包<br />
　　源代码软件通常以.tar.gz做为扩展名,也有tar.Z、tar.bz2或.tgz为扩展名的。不同扩展名解压缩命令也不相同，见表1。<br />
<img src="http://www.pconline.com.cn/pcjob/system/linux/others/0507/pic/fgrkds2.jpg" border="0" alt="user posted image" /><br />
　　<br />
　　2.编译软件<br />
　 　成功解压缩源代码文件后，进入解包的目录。在安装前阅读Readme文件和Install文件。尽管许多源代码文件包都使用基本相同的命令，但是有时在 阅读这些文件时能发现一些重要的区别。例如，有些软件包含一个可以安装的安装脚本程序（.sh）。在安装前阅读这些说明文件，有助于安装成功和节约时间。</p>
<p>　　在安装软件以前要成为root用户。实现这一点通常有两种方式：在另一台终端以root用户登录，或者输入“su”，此时系统会提示输入root用户的密码。输入密码以后，就将一直拥有root用户的权限。如果已经是root用户，那就可以进行下一步。</p>
<p>通常的安装方法是从安装包的目录执行以下命令：</p>
<p>　　gunzip soft1.tar.gz<br />
　　cd soft1<br />
　　＃. /configure ＃配置＃<br />
　　make ＃调用make＃<br />
　　make install ＃安装源代码＃</p>
<p>　　删除安装时产生的临时文件：<br />
　　＃make clean</p>
<p>　　卸载软件：<br />
　　＃make uninstall</p>
<p>　　有些软件包的源代码编译安装后可以用make uninstall命令卸载。如果不提供此功能，则软件的卸载必须手动删除。由于软件可能将文件分散地安装在系统的多个目录中，往往很难把它删除干净，应该在编译前进行配置。</p>
<h1>　　.bin文件安装</h1>
<p>　 　扩展名为.bin文件是二进制的，它也是源程序经编译后得到的机器语言。有一些软件可以发布为以.bin为后缀的安装包，例如，流媒体播放器 RealONE。如果安装过RealONE的Windows版的话，那么安装RealONE for Linux版本(文件名：r1p1_linux22_libc6_i386_a1.bin)就非常简单了：<br />
　　＃chmod +x r1p1_linux22_libc6_i386_a1.bin<br />
　　./ r1p1_linux22_libc6_i386_a1.bin</p>
<p>　　接下来选择安装方式，有普通安装和高级安装两种。如果不想改动安装目录，就可选择普通安装，整个安装过程几乎和在Windwos下一样。</p>
<p>　　.bin文件的卸载，以RealONE for Linux为例，如果采用普通安装方式的话，在用户主目录下会有Real和Realplayer9两个文件夹，把它们删除即可。</p>
<p><strong>　　Linux绿色软件</strong></p>
<p>　 　Linux也有一些绿色软件，不过不是很多。Linux系统提供一种机制：自动响应软件运行进程的要求,为它设定好可以马上运行的环境。这种机制可以是 一种接口，或者是中间件。程序员编写的程序可以直接拷贝分发，不用安装，只要点击程序的图标，访问操作系统提供的接口，设定好就可以工作。若要删除软件， 直接删除就可以,不用链接文件。这是最简单的软件安装、卸载方式。</p>
<p>　　上面介绍了Linux软件安装的方法，对于Linux初学者来说，RPM安装是一个不错的选择。如果想真正掌握Linux系统，源代码安装仍然是Linux下软件安装的重要手段。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/04/51294.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu linux下如何访问 网络共享</title>
		<link>http://blog.zye.me/2009/04/51293.html</link>
		<comments>http://blog.zye.me/2009/04/51293.html#comments</comments>
		<pubDate>Wed, 22 Apr 2009 00:01:38 +0000</pubDate>
		<dc:creator>yezheng</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[网络共享]]></category>

		<guid isPermaLink="false">http://blog.so8848.com/?p=51293</guid>
		<description><![CDATA[挂接Windows文件共享 　　Windows网络共享的核心是SMB/CIFS，在linux下要挂接(mount)windows的磁盘共享，就必须安装和使用samba软件包。现在流行的linux发行版绝大多数已经包含了samba软件包，如果安装linux系统时未安装samba请首先安装samba。当然也可以到www.samba.org网站下载&#8230;&#8230;新的版本是3.0.10版。 ubuntu 下可以直接输入命令安装: sudo apt-get install samba 　　当windows系统共享设置好以后，就可以在linux客户端挂接(mount)了，具体操作如下： 　　# mkdir –p /mnt/samba 　　注：建立一个目录用来作挂接点(mount point) 　　# mount -t smbfs -o username=administrator,password=pldy123 //10.140.133.23/c$ /mnt/samba 如果不行,删除参数 -t smbfs试试(注意空格) mount -o username=administrator,password=pldy123 //10.140.133.23/c$ /mnt/samba 　　注：administrator 和 pldy123 是ip地址为10.140.133.23 windows计算机的一个用户名和密码，c$是这台计算机的一个磁盘共享或者文件夹名 　　如此就可以在linux系统上通过/mnt/samba来访问windows系统磁盘上的文件了。以上操作在redhat as server 3、redflag server 4.1、suse server 9以及windows NT 4.0、windows 2000、windows xp、windows 2003环境下测试通过。 U盘mount mkdir /mnt/usb 然后我们就可以接上我的U盘了，然后在终端下输入命令并击Enter键即可： mount /dev/sda1 <a href='http://blog.zye.me/2009/04/51293.html'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10.5pt; line-height: 150%;"><strong><span style="font-family: 宋体;">挂接</span></strong></span><strong><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">Windows</span></strong><strong><span style="font-size: 10.5pt; line-height: 150%; font-family: 宋体;">文件共享</span></strong></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">Windows</span><span style="font-size: 10.5pt; line-height: 150%;">网络共享的核心是</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">SMB/CIFS</span><span style="font-size: 10.5pt; line-height: 150%;">，在</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">linux</span><span style="font-size: 10.5pt; line-height: 150%;">下要挂接</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">(mount)windows</span><span style="font-size: 10.5pt; line-height: 150%;">的磁盘共享，就必须安装和使用</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">samba</span><span style="font-size: 10.5pt; line-height: 150%;">软件包。现在流行的</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">linux</span><span style="font-size: 10.5pt; line-height: 150%;">发行版绝大多数已经包含了</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">samba</span><span style="font-size: 10.5pt; line-height: 150%;">软件包，如果安装</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">linux</span><span style="font-size: 10.5pt; line-height: 150%;">系统时未安装</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">samba</span><span style="font-size: 10.5pt; line-height: 150%;">请首先安装</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">samba</span><span style="font-size: 10.5pt; line-height: 150%;">。当然也可以到</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"><span style="color: #0000ff;"><span>www.samba.org<span>网站下载</span>&#8230;&#8230;<span>新的版本是</span>3.0.10<span>版。</span></span></span></span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"><span style="color: #0000ff;"><span><span> <strong>ubuntu 下可以直接输入命令安装: </strong>sudo apt-get install samba<br />
</span></span></span></span>
</p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　当</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows</span><span style="font-size: 10.5pt; line-height: 150%;">系统共享设置好以后，就可以在</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">linux</span><span style="font-size: 10.5pt; line-height: 150%;">客户端挂接</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">(mount)</span><span style="font-size: 10.5pt; line-height: 150%;">了，具体操作如下：</span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"># mkdir –p /mnt/samba </span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　注：建立一个目录用来作挂接点</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">(mount point)</span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"># mount -t smbfs -o username=administrator,password=pldy123 //10.140.133.23/c$ /mnt/samba</span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"> <strong> 如果不行,删除参数 </strong></span><strong><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">-t smbfs试试(注意空格)</span></strong></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">mount -o username=administrator,password=pldy123 //10.140.133.23/c$ /mnt/samba</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"> </span></p>
<p style="line-height: 150%;"><span style="font-size: 10.5pt; line-height: 150%;">　　注：</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">administrator </span><span style="font-size: 10.5pt; line-height: 150%;">和</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;"> <span>pldy123 </span></span><span style="font-size: 10.5pt; line-height: 150%;">是</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">ip</span><span style="font-size: 10.5pt; line-height: 150%;">地址为</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">10.140.133.23 windows</span><span style="font-size: 10.5pt; line-height: 150%;">计算机的一个用户名和密码，</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">c$</span><span style="font-size: 10.5pt; line-height: 150%;">是这台计算机的一个磁盘共享或者文件夹名</span></p>
<p><span style="font-size: 10.5pt; line-height: 150%;">　　如此就可以在</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">linux</span><span style="font-size: 10.5pt; line-height: 150%;">系统上通过</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">/mnt/samba</span><span style="font-size: 10.5pt; line-height: 150%;">来访问</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows</span><span style="font-size: 10.5pt; line-height: 150%;">系统磁盘上的文件了。以上操作在</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">redhat as server 3</span><span style="font-size: 10.5pt; line-height: 150%;">、</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">redflag server 4.1</span><span style="font-size: 10.5pt; line-height: 150%;">、</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">suse server 9</span><span style="font-size: 10.5pt; line-height: 150%;">以及</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows NT 4.0</span><span style="font-size: 10.5pt; line-height: 150%;">、</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows 2000</span><span style="font-size: 10.5pt; line-height: 150%;">、</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows xp</span><span style="font-size: 10.5pt; line-height: 150%;">、</span><span style="font-size: 10.5pt; line-height: 150%; font-family: ˎ̥_GB2312;">windows 2003</span><span style="font-size: 10.5pt; line-height: 150%;">环境下测试通过。</span></p>
<h1><span style="font-size: 10.5pt; line-height: 150%;">U盘mount</span></h1>
<p style="text-indent: 2em;">mkdir /mnt/usb</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">然后我们就可以接上我的U盘了，然后在终端下输入命令并击Enter键即可：</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em; text-align: left;">mount /dev/sda1 /mnt/us</p>
<h1 style="text-indent: 2em; text-align: left;">umount</h1>
<h1><span style="line-height: 150%; table-layout: fixed; width: 100%;"> </span></h1>
<p style="text-indent: 2em;">在Windows下当我们用完U盘后，在我们取下U盘前我们先要删除，同样在Linux下我们也要删除挂起点，方法是：</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">umount /dev/sda1 /mnt/usb 或 umount /dev/sda1</p>
<p style="text-indent: 2em;">
<p style="text-indent: 2em;">如果不把U盘给umount掉，那样很容易造成数据的丢失。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.zye.me/2009/04/51293.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

