<?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>Oh ! Linux</title>
	<atom:link href="http://www.ohlinux.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.ohlinux.com</link>
	<description>----Ajian学习与生活的小站</description>
	<lastBuildDate>Mon, 12 Apr 2010 00:29:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.ohlinux.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>小工具大用途&#8211;APG密码生成器</title>
		<link>http://www.ohlinux.com/?p=756</link>
		<comments>http://www.ohlinux.com/?p=756#comments</comments>
		<pubDate>Fri, 08 Jan 2010 10:02:38 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Linux软件]]></category>
		<category><![CDATA[apg]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=756</guid>
		<description><![CDATA[前言：

管理的服务器多了，管理的服务多了，用户密码就显得很麻烦了，密码太简单安全性差，设置得复杂又...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=756'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>前言：</strong></p>
<p>管理的服务器多了，管理的服务多了，用户密码就显得很麻烦了，密码太简单安全性差，设置得复杂又总要费脑。所以就想要要一个密码自动生成器，复杂密码也就根本不用去背下来，只要有记录就行。</p>
<p><strong>注意：</strong></p>
<p>所以在网上搜索，发现相关的不是很多，看到APG这个小工具还不错，介绍说大部Linux软件自带，openSUSE就不自带，而且<span style="text-decoration: line-through;">不能搜索APG APG是显卡插槽的一种</span>，APG的缩写是<span id="zoom">Automated Password Generator（简称“APG”）</span><br />
<strong>下载：</strong></p>
<p>还是直接下载源代码安装来得快</p>
<p>官网：http://www.adel.nursat.kz/apg/</p>
<p># wget  http://www.adel.nursat.kz/apg/download/apg-2.2.3.tar.gz</p>
<p><strong>安装：</strong></p>
<p>好习惯还是先看下安装文件 解压进入目录  #more INSTALL</p>
<p>可以看到原来不用configure 的 ，直接make 就行</p>
<p>#make all</p>
<p>#make install</p>
<p><strong> 使用：</strong></p>
<p>1、不加任何参数执行，<span id="zoom">将默认生成 6 个随机密码：</span></p>
<p>UcGilbOb$<br />
VacHidvis<br />
sleennoy<br />
afWibush2<br />
Dudlevpeg-<br />
grucyigvep</p>
<p>2、常用参数</p>
<p>m 指生成密码的位数，默认是8位</p>
<p>M mode  使用模式生成密码</p>
<p>-M mode<br />
Use symbolsets specified with mode for password generation.  mode is a text  string<br />
consisting of characters S, s, N, n, C, c, L, l. Where:</p>
<p>S      generator must use special symbol set for every generated password.每个密码必须都有特殊字符</p>
<p>s      generator should use special symbol set for password generation.包含特殊字条但不一定每个都有</p>
<p>N      generator must use numeral symbol set for every generated password.每个密码必需含有数字</p>
<p>n      generator should use numeral symbol set for password generation.包含数字</p>
<p>C      generator must use capital symbol set for every generated password.每个密码必需有大写字母</p>
<p>c      generator should use capital symbol set for password generation.包含大写字母</p>
<p>L      generator  must  use  small  letters symbol set for every generated password每个密码必需有小写字母<br />
(always present if pronounceable password generation algorithm is used).</p>
<p>l      generator should use small letters symbol set for password generation.包含有小写</p>
<p>R,r    not supported any more. Use -E char_string option instead.<br />
mode can not be more than 4 characters in length.</p>
<p>Note:<br />
Usage of L, M, N, C will slow down password generation process.</p>
<p>Examples:<br />
-M sncl or -M SNCL or -M Cn</p>
<p>例如#apg -M SNCL -m 16</p>
<p>Hir4kecivedyueg&amp;<br />
Uryevdivut7opAt`<br />
bird2OlkovTaHyp\<br />
Up;kocCarvyomOj5<br />
Ums9quifdyinBib+<br />
oaHutyars5Shnar\</p>
<p>更多的可以详见man apg</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=756</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>openSUSE 11.2 M8 安装 KDE 4.3.2快捷方法</title>
		<link>http://www.ohlinux.com/?p=746</link>
		<comments>http://www.ohlinux.com/?p=746#comments</comments>
		<pubDate>Thu, 15 Oct 2009 04:02:16 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[opensuse]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[升级]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=746</guid>
		<description><![CDATA[前言：

openSUSE 11.2 M8 本身没有KDE 4.3.2，而且Factory也没有直接更新到4.3.2 ，想安装只能单独安装了...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=746'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<h4>前言：</h4>
<p>openSUSE 11.2 M8 本身没有KDE 4.3.2，而且Factory也没有直接更新到4.3.2 ，想安装只能单独安装了，又没有一键安装的情况下，怎么样才能快速升级安装呢。试试我这招吧，很管用。</p>
<h4>方法：</h4>
<p>1、添加一个最新的KDE 4.3.2的源</p>
<p>http://download.opensuse.org/repositories/KDE:/43/openSUSE_Factory/KDE:43.repo   放到/etc/zypp/repos.d</p>
<p>2、禁用一些跟KDE4 有关的源 用来避免一些包选择上的麻烦</p>
<p>如：KDE:KDE4:Factory:Desktop.repo KDE:KDE4:Playground.repo KDE:KDE4:Community.repo openSUSE11.2_Factory.repo</p>
<p>3、安装较新的软件包（建议使用图形界面会比较直观，因为可能会有些冲突问题）</p>
<p>选择package&#8211;&gt;all packages&#8211;&gt;update if newer version avaliable</p>
<p>处理一些冲突问题就可以了 都不会是很大，就等待更新</p>
<p>更新完后查看KDE  版本 4.3.2 (KDE 4.3.2) &#8220;release 5&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=746</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>安装两个JIRA在同一台服务器方法</title>
		<link>http://www.ohlinux.com/?p=739</link>
		<comments>http://www.ohlinux.com/?p=739#comments</comments>
		<pubDate>Thu, 15 Oct 2009 03:22:10 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Linux软件]]></category>
		<category><![CDATA[管理监控维护]]></category>
		<category><![CDATA[JIRA]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=739</guid>
		<description><![CDATA[前言：
虽然很多人都会说在同一台服务器上安装两个JIRA实例没有必要，因为JIRA可以设置很多的项目，并且独...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=739'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<h4>前言：</h4>
<p>虽然很多人都会说在同一台服务器上安装两个JIRA实例没有必要，因为JIRA可以设置很多的项目，并且独立的设置权限。但需要两个实例的情况也不是没有，如领导不喜欢看到其它无关的项目，完全不同的部门不想共用同一个等。这种需求肯定是有的，我就碰到了啊。只要有一定经验的人都会安装过这种类似的多个实例在同台服务器的情况，但每种软件的方法总会有特殊的一些地方。下面大概的介绍下安装方法。</p>
<h4>注意事项：</h4>
<p>在安装JIRA之前先做个说明</p>
<p>1、安装JIRA的过程 参考<a title="Permanent Link to Linux JIRA+MYSQL安装与调试方法" rel="bookmark" href="../?p=617"> Linux JIRA+MYSQL安装与调试方法</a></p>
<p>2、本次安装的版本是 atlassian-jira-enterprise-3.13.5-standalone<br />
其实在安装这个版本的时候 jira 4.0已经出来了，并且尝试了很久但都是以失败告终，jira 4 有两大难点，第一个是Jira的license 升级后很多不能用，网上也没有新的破解方法，要短时间内搞出来不容易；第二个就是域名代理会出问题 即直接用80域名端口访问的时候（放在apache 或者nginx 后面） 新的jira 首页设计成Gadgets的方式，而这个URL是相对的会因为代理的问题导致不能得到正确的URL地址 现在官网只有apache的解决办法，很不幸我用的是nginx ，所以实验没有成功 ，具体方法见官网 <span id="title-text"><a href="http://confluence.atlassian.com/display/JIRAKB/Gadgets+do+not+display+correctly+after+upgrade+to+JIRA+4.0">Gadgets do not display correctly after upgrade to JIRA 4.0</a></span></p>
<h4>安装原理：</h4>
<p>借人别人的话</p>
<p>*  all app server ports are unique for each JIRA instance<br />
* separate context paths in your jira.xml file<br />
* each JIRA instance points to a unique database<br />
* each JIRA instance points to a unique index directory<br />
* each JIRA instance points to a unique attachment directory</p>
<p>所有的端口、目录、数据库、附件、索引目录都需要独立。</p>
<h4>安装过程：</h4>
<p>1、新的jira按第一个jira的安装方法进行 参考 <a title="Permanent Link to Linux JIRA+MYSQL安装与调试方法" rel="bookmark" href="../?p=617"> Linux JIRA+MYSQL安装与调试方法</a></p>
<p>2、创建新的数据库，并且设置权限</p>
<p>3、配置区别一、更换下面jiradb为新的数据库</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">url=&quot;jdbc:mysql://localhost/jiradb? autoReconnect=true<span style="color: #ddbb00;">&amp;amp;</span>amp;useUnicode=true<span style="color: #ddbb00;">&amp;amp;</span>amp;characterEncoding=UTF8&quot;</pre></div></div>

<p>4、配置区别二、设置不同的端口</p>
<p>设置的有一个服务端口、一个连接端口、一个服务实例名称、一个引擎名称（其实不太了解Engine name 有知道的告诉我下 平时都是搞PHP环境的）（以下代码不可复制，编辑器把一些字符转成全角了）</p>
<p>&lt;Server port=&#8221;<span style="color: #ff0000;">8006</span>&#8221; shutdown=&#8221;SHUTDOWN&#8221;&gt;</p>
<p>&lt;Service name=&#8221;<span style="color: #ff0000;">NewJIRA</span>&#8220;&gt;</p>
<p>&lt;Connector port=&#8221;<span style="color: #ff0000;">8888</span>&#8221;</p>
<p>maxHttpHeaderSize=&#8221;8192&#8243; maxThreads=&#8221;150&#8243; minSpareThreads=&#8221;25&#8243; maxSpareThreads=&#8221;75&#8243; useBodyEncodingForURI=&#8221;true&#8221;</p>
<p>enableLookups=&#8221;false&#8221; redirectPort=&#8221;8443&#8243; acceptCount=&#8221;100&#8243; connectionTimeout=&#8221;20000&#8243; disableUploadTimeout=&#8221;true&#8221; /&gt;</p>
<p>&lt;Engine name=&#8221;<span style="color: #ff0000;">NewJIRA</span>&#8221; defaultHost=&#8221;localhost&#8221;&gt;</p>
<p>&lt;Host name=&#8221;localhost&#8221; appBase=&#8221;webapps&#8221; unpackWARs=&#8221;true&#8221; autoDeploy=&#8221;true&#8221;&gt;</p>
<p>5、配置区别三、这个区别主要是针对jira 4.0的</p>
<p>其实如果不配置域名的反向代理，jira 4.0也是可以正常配置在同一台服务器上的。</p>
<p>1）JIRA 4.0的安装比较严格些，在WEB配置的时候会必需填写附件、索引路径<br />
2）需要设置jira.home  编辑./atlassian-jira/WEB-INF/classes/jira-application.properties 把jira.home的目录更改到新的jira目录（3.X版本都是没有这个jira.home）</p>
<p>如何设置jira.home 还有解jira.home的锁 lock 请参考官网的方法 <span id="title-text"><a href="http://confluence.atlassian.com/display/JIRA/Setting+your+JIRA+Home+Directory">Setting your JIRA Home Directory</a></span></p>
<p><span>－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－－</span></p>
<p><span>以上配置就已经通过不同的端口来访问JIRA了</span></p>
<p><span>6、反向代理域名访问方法设置</span></p>
<p><span>原理：WEB软件上设置将虚拟主机的80端口转到后端的jira端口，通过虚拟主机来访问</span></p>
<p><span>这里只说Nginx Apache的网上搜搜到处都是。</span></p>
<p><span>1）nginx.conf 设置代理</span></p>
<p>upstream jira {<br />
server 127.0.0.1:8080;<br />
}<br />
upstream newjira{<br />
server  127.0.0.1:8888;<br />
}</p>
<p>2）vhost.conf 设置虚拟主机</p>
<p>server {<br />
listen 80;<br />
server_name renwu.com www.renwu.com *.renwu.com;<br />
charset utf-8;</p>
<p>location / {<br />
index index.jsp index.html index.htm;<br />
proxy_pass http://jira;<br />
}<br />
}</p>
<p>server {<br />
listen 80;<br />
server_name renwu2.com www.renwu2.com *.renwu2.com;<br />
charset utf-8;<br />
location / {<br />
index index.jsp index.html index.htm;<br />
proxy_pass http://newjira;<br />
}<br />
}</p>
<p>(END)</p>
<p>注意结合 <a title="Permanent Link to Linux JIRA+MYSQL安装与调试方法" rel="bookmark" href="../?p=617">Linux JIRA+MYSQL安装与调试方法 来配置<br />
</a></p>
<p><span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=739</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openSUSE最简单的升级系统和解决问题方法</title>
		<link>http://www.ohlinux.com/?p=731</link>
		<comments>http://www.ohlinux.com/?p=731#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:51:28 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[opensuse]]></category>
		<category><![CDATA[升级]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=731</guid>
		<description><![CDATA[前言：我不知道你是否也跟我一样爱折腾系统，我是加的Factory源，时刻用最新的软件，可能就算你不折腾系统也...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=731'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：我不知道你是否也跟我一样爱折腾系统，我是加的Factory源，时刻用最新的软件，可能就算你不折腾系统也会遇到这样的问题:</p>
<p>1）系统更新重启后 无法进入系统，但也不知道是哪些软件包，不想重装系统因为原来的那些聊天记录 配置文件等都需要重来<br />
2）出了新的版本如11.2但通过源来更新的话特别慢 而且还有很多依赖关系需要处理<br />
3）或者你发现更新新后的版本不好，还是想退回到以前的版本</p>
<p>这个时候你其实应该学会这招，你就会发现升级系统解决问题竟然是如此的简单。</p>
<p>以下尽量基本命令行下的操作，这样当图形化界面出问题还可以解决。</p>
<h4>第一步：确定要更换的版本</h4>
<p>首先你要决定是从openSUSE 11.1 升级到openSUSE 11.2 M7 呢 还是退到11.0 还是恢复最开始的11.1 。</p>
<p>决定好了就下载ISO文件吧。</p>
<p>如我 是使用的openSUSE 11.1更新坏了 进不了图形界面，退回去肯定有点不肯，那就下个openSUSE 11.2M7 更新到最新吧。</p>
<h4>第二步：清理原来的安装源</h4>
<p>把原来的软件安装源先都移走吧，以后是否有用，以后再去筛选</p>
<p>cd /etc/zypp/repos.d<br />
mv * ../tempdir</p>
<h4>第三步：添加新的ISO源</h4>
<p>Yast-&gt;Software-&gt;Software Repositories-&gt;Add-&gt;Local ISO Image添加DVD镜像。(有没用zypper 一条命令来添加的 我没有具体查)</p>
<h4>第四步：最关键的一条命令</h4>
<p>zypper dup</p>
<p>这条命令将会以ISO软件为主，强制的把其它有依赖冲突的包给去掉。</p>
<p>另外其它两条命令也熟悉下</p>
<p>zypper ref   刷新源<br />
zypper lu  列出可以更新的软件</p>
<h4>第五步：重启系统，完善一下</h4>
<p>因为可能因为原来的一样依赖关系失去，导致一些软件被删除，这个时候只要手动再添加上，相应的配置文件和日志文件等是不会被删除的。</p>
<p>再把原来的源，看是否还有用的 或者需要修改的进行下调整。<br />
这招叫“快刀斩乱麻”，只要有ISO那个速度是刷刷的，呵呵 。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=731</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>源码编译GTK＋和iptux的安装</title>
		<link>http://www.ohlinux.com/?p=723</link>
		<comments>http://www.ohlinux.com/?p=723#comments</comments>
		<pubDate>Mon, 28 Sep 2009 04:04:22 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Linux软件]]></category>
		<category><![CDATA[GTK＋]]></category>
		<category><![CDATA[iptux]]></category>
		<category><![CDATA[飞鸽]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=723</guid>
		<description><![CDATA[前言：其实源码编译GTK＋目的是为了安装iptux,什么是iptux？iptux是一款跟飞鸽通信的软件，类似WIN下的飞Q这...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=723'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：其实源码编译GTK＋目的是为了安装iptux,什么是iptux？iptux是一款跟飞鸽通信的软件，类似WIN下的飞Q这些软件，比原来的飞鸽有所增强。自从我把openSUSE升级到11.2 M7之后，原来的飞鸽无法使用，但公司内部又要用飞鸽进行通信，没办法就是麻烦也得把飞鸽搞出来，搜出来这个软件，介绍得还不错，但是安装的时候总是说没有GTK＋ 确实openSUSE没有，也没有现成的安装源，那就自己编译吧，经过两次的失败终于成功。其实原理很简单，排错掌握了也很快。</p>
<h3>源码编译GTK＋</h3>
<p>1、确定环境变量，是比较关键的一步，因为编译软件时候有很多库的地址需要指定,系统的库版本太低或者不支持</p>
<p>mkdir -p /opt/gtk               ##后面所有的软件都安装在这个下面<br />
export LD_LIBRARY_PATH=/opt/gtk/lib:$LD_LIBRARY_PATH<br />
export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig:$PKG_CONFIG_PATH</p>
<p>2、下面安装的软件有一定的顺序</p>
<p><span style="font-family: Courier New; font-size: x-small;">GTK+ 依赖软件包</span></p>
<p>GTK+ 的安装需要下面程序或者库的支持（可在列出的链接中找到各个软件包的下载地址）：</p>
<p>1. C 编译器（如 GCC。GCC 的网站）<br />
2. X 窗口系统库（网站）<br />
3. pkg-config 工具(网站)<br />
4. GNU make 工具(网站)<br />
5. JPEG、PNG 以及 TIFF 图形库（下载页面 的 GTK+ Source 中的 dependencies 目录）<br />
6. FreeType（网站）<br />
7. fontconfig 库（网站）<br />
8. GNU libiconv 库（当系统上没有 iconv() 函数的时候需要）（网站）<br />
9. GNU gettext 软件包（当系统上没有 gettext() 函数的时候需要）（[url=http://www.gnu.org/software/gettext/网站[/url]）<br />
10. GLib 库（下载页面 的 GLib Source）<br />
11. ATK 库（下载页面 的 GTK+ Source 中的 dependencies 目录）<br />
12. Cairo 库（下载页面 的 GTK+ Source 中的 dependencies 目录）<br />
13. Pango 库（下载页面 的 Pango Source）<br />
14. GTK+ 库（下载页面 的 GTK+ Source）<br />
其实如果想安装gtk+ 应该去官网看下 并且会有相应的软件和安装方法<a href="http://www.gtk.org/download-linux.html"> http://www.gtk.org/download-linux.html</a></p>
<p>##pkg-config安装</p>
<p>wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz<br />
tar zxvf pkg-config-0.22.tar.gz<br />
cd pkg-config-0.22/<br />
./configure &#8211;prefix=/opt/gtk/ &amp;&amp; make -j2   &amp;&amp; make install<br />
cd ..</p>
<p>##glib 安装</p>
<p>wget http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.0.tar.gz<br />
tar zxvf  glib-2.22.0.tar.gz<br />
cd glib-2.20.0/<br />
./configure &#8211;prefix=/opt/gtk    &amp;&amp;make -j2    &amp;&amp;make install<br />
cd  ..</p>
<p>##安装图形化支持的一些软件 libpng jpeg tiff</p>
<p>wget http://ncu.dl.sourceforge.net/project/libpng/00-libpng-stable/1.2.40/libpng-1.2.40.tar.gz<br />
tar zxvf DownLoad/libpng-1.2.40.tar.gz<br />
cd libpng-1.2.40/<br />
./configure &#8211;prefix=/opt/gtk/ &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..<br />
wget http://www.filewatcher.com/b/ftp/ftp.uni-leipzig.de/pub/linux/ftp%3Arobot.informatik.uni-leipzig.de/Sources/System/L<br />
ibs.0.0.html<br />
tar zxvf jpegsrc.v6b.tar.gz<br />
cd jpeg-6b/<br />
./configure &#8211;prefix=/opt/gtk/ &#8211;enable-shared &#8211;enable-static &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..<br />
wget http://dl.maptools.org/dl/libtiff/tiff-3.8.2.tar.gz<br />
tar zxvf  tiff-3.8.2.tar.gz<br />
cd tiff-3.8.2/<br />
./configure &#8211;prefix=/opt/gtk &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..<br />
wget http://ftp.twaren.net/Unix/NonGNU/freetype/freetype-2.3.9.tar.gz<br />
tar zxvf freetype-2.3.9.tar.gz<br />
cd freetype-2.3.9/<br />
./configure &#8211;prefix=/opt/gtk &amp;&amp; make &amp;&amp; make install<br />
cd ..<br />
wget http://fontconfig.org/release/fontconfig-2.7.3.tar.gz<br />
tar zxvf fontconfig-2.7.3.tar.gz<br />
cd fontconfig-2.7.3/<br />
./configure &#8211;prefix=/opt/gtk &amp;&amp; make &amp;&amp; make install</p>
<p>##安装atk</p>
<p>wget http://ftp.gnome.org/pub/GNOME/sources/atk/1.27/atk-1.27.90.tar.gz<br />
tar zxvf atk-1.27.90.tar.gz<br />
cd atk-1.27.90/<br />
./configure &#8211;prefix=/opt/gtk &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..</p>
<p>##安装cairo</p>
<p>wget http://cairographics.org/releases/pixman-0.16.0.tar.gz<br />
tar zxvf pixman-0.16.0.tar.gz<br />
cd ../pixman-0.16.0/<br />
./configure &#8211;prefix=/opt/gtk/ &amp;&amp; make -j2 &amp;&amp;make install<br />
wget http://cairographics.org/releases/cairo-1.8.8.tar.gz<br />
tar zxvf cairo-1.8.8.tar.gz<br />
cd cairo-1.8.8/<br />
./configure &#8211;prefix=/opt/gtk/ &#8211;with-x &#8211;enable-win32=no &amp;&amp; make -j2 &amp;&amp;make install</p>
<p>##安装pango</p>
<p>wget http://ftp.gnome.org/pub/gnome/sources/pango/1.26/pango-1.26.0.tar.gz<br />
tar zxvf pango-1.26.0.tar.gz<br />
cd pango-1.26.0/<br />
./configure &#8211;prefix=/opt/gtk/ &#8211;libdir=/opt/gtk/lib &#8211;with-x &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..</p>
<p>##安装gtk+</p>
<p>wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/gtk+-2.18.0.tar.gz<br />
tar zxvf gtk+-2.18.0.tar.gz<br />
cd gtk+-2.18.0/<br />
./configure &#8211;prefix=/opt/gtk/ &#8211;with-x &amp;&amp; make -j2 &amp;&amp; make install<br />
cd ..</p>
<p>注意：安装到这GTK＋就安装完毕了 如果中间有哪一步失败了 检查下<br />
echo $LD_LIBRARY_PATH<br />
echo $PKG_CONFIG_PATH<br />
是否正确<br />
最主要的还是看程序报错的 可能因为不同的系统缺少不同的东西</p>
<h3>iptux安装</h3>
<p>有了GTK＋的支持 iptux安装就相对容易多了</p>
<p>cd ../iptux-0.4.5/<br />
./configure<br />
make -j2<br />
make install</p>
<h3>iptux使用和优缺点</h3>
<p>1、有方便的查找功能，但没有排序<br />
2、有每个用户的詳細信息<br />
3、聊天窗口比原来的飞鸽强很多 但缺少提示消息被打开（这个功能其实很好能知道对方正在查看，但是现在没有了）<br />
4、聊天记录有文本记录在 ~/.config/iptux/log/communicate.log 但界面上没有提供查看的方式<br />
5、还提供了不少文件共享功能 文件传输有点不好 传完了才显示进度</p>
<h3>iptux 截图</h3>
<p style="text-align: center;"><a href="http://www.ohlinux.com/wp-content/uploads/2009/09/iptux.png"><img class="aligncenter size-full wp-image-727" title="iptux" src="http://www.ohlinux.com/wp-content/uploads/2009/09/iptux.png" alt="iptux" width="218" height="473" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=723</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux软件推荐列表（个人使用版）</title>
		<link>http://www.ohlinux.com/?p=707</link>
		<comments>http://www.ohlinux.com/?p=707#comments</comments>
		<pubDate>Tue, 01 Sep 2009 08:19:06 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Linux软件]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[软件]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=707</guid>
		<description><![CDATA[   



网络


推荐软件


介绍


Linux下其它可用软件




浏览器


Firefox


...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=707'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：<br />
本次Linux软件推荐都是对个人使用过的软件进行一次整理，也可以看做是“openSUSE减肥第二课－－删除多余的软件包”，因为自己总是喜欢安装些杂七杂八的软件，导致系统肥大而且又出些怪异的问题，这次想通过整理删除重复的并且不怎么使用的软件。这个列表要注意的是有一定的时效性和局限性，可以选择取长补短。列表对KDE和gnome下的软件也尽量进行一些对比、有相关的说明，介绍中的都是自己的经验之谈，如果有说错或者输入错误的请指出来。另外我想补充一点的是对于KDE一定尽量使用他自带的软件、虽然也有不好的软件，因为KDE的集成度比较高，很多软件都有相通的作用，对于使用来说会方便些。</p>
<p>最佳环境：<br />
系统： Linux SUSE<br />
桌面系统：KDE<br />
时间　：　列表生成　2009-9-1</p>
<p>我使用的系统： openSUSE 11.1</p>
<p>-</p>
<p>Ｌinux软件推荐列表：　整理得比较仓促，可以再改进。</p>
<p><!-- 		@page { margin: 0.79in } 		TD P { margin-bottom: 0in } 		P { margin-bottom: 0.08in } 		A:link { so-language: zxx } --></p>
<table border="1" cellspacing="0" cellpadding="0" width="100%" bordercolor="#800000">
<col width="23*"></col>
<col width="21*"></col>
<col width="126*"></col>
<col width="86*"></col>
<tbody>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT">网络</p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">浏览器</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Firefox</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">速度快、功能丰富、插件牛 			是查看、管理和调试网站的好工具</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Konqueror </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带浏览器 			集成效果很好是</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下不错的管理工具</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">google-chrome </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">google</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">新浏览器 			速度快 表现不俗</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Opera 			: </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">处理图片最好的浏览器 			模拟</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">wap </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">浏览不错</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">电子邮件客户端</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kmail</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带方便 			功能齐全 与</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gmail</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">同步相当方便 			可以与 </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">个人信息中心（</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kontact</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">）聚合在一起 </span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Evolution </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下自带的邮件客户端</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Thunderbird </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Mozilla</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的软件 			界面简洁 个人觉得更新体积太大</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p align="LEFT"><span style="color: #000000;"><span style="font-family: Times New Roman,serif;"><span style="text-decoration: none;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;"><span style="font-weight: normal;"><span style="text-decoration: none;">RSS</span></span></span></span></span></span></span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="font-weight: normal;"><span style="text-decoration: none;">阅读</span></span></span></span></span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Akregator</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">对于离线阅读是相当不错的 			功能全 显示方便自由 搜索快捷 可内嵌浏览器显示</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p align="LEFT"><span style="color: #000000;"><span style="font-family: Times New Roman,serif;"><span style="text-decoration: none;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;"><span style="text-decoration: none;">WEB 			google Reader </span></span></span></span></span></span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">： 			不便于离线访问</span></span></span></span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Thunderbird </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">：收邮件的同时还可以订阅</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">RSS</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">文件下载</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Ktorrent</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">amule</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">wget</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下面的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">bitTorrent</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">软件 </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">P2P</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">种子下载软件</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的电驴 			操作界面基本和</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下一样</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">命令行下的下载方式 			很方便</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kget 			: KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带的下载工具 			感觉</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">bug</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">还是不少 			不如直接</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">wget </span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">FTP</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">客户端</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">FileZilla</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">界面丰富 			像</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">cuteFTP</span></span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gFTP</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">即时通讯工具</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kopete</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">skype</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">g2ipmsg</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">QQ 			for Linux</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">choqok</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下自带通讯工具 			直接</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MSN 			gtalk </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">等甚至有</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">skype</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">插件</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">(</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">可惜新版本不支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">) </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">插件、主题丰富 </span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Skype</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">软件 </span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的飞鸽 			局域网内部通信的好工具 需要少量</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">文件支持</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">QQ </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">其实之前有</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">EVA 			LumaQQ</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">功能都比它强 			但</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">TX</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">不支持</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">微博客户端 			可能不算即时通讯的范围 支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">twitter</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的所有功能 			而且还可以支持第三方</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">API</span></span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Pidgin </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下自带的即时通信工具 			支持几乎所有的通讯协议 高度整合 界面不是很好 			最近已经支持视频通信</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Empathy </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： 			简介的界面 有点</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gtalk</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的风格 			功能不俗 同样支持视频通信 有取代</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">pidgin</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的可能</span></span></span></p>
<p align="LEFT"><span style="color: #000000;"><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">其它</span></span></span><span style="font-family: Times New Roman,serif;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">MSN</span></span></span></span></span></span><span style="font-family: Times New Roman,serif;"> </span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">工具：</span></span></span><span style="font-family: Times New Roman,serif;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">Emesene 			KMSN</span></span></span></span></span></span><span style="font-family: Times New Roman,serif;"> </span></span></span></p>
<p align="LEFT"><span style="color: #000000;"><span style="font-family: Times New Roman,serif;"><span style="text-decoration: none;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;"><span style="text-decoration: none;">qwit 			: </span></span></span></span></span></span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">另外一款</span></span></span><span style="font-family: Times New Roman,serif;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">twitter</span></span></span></span></span></span><span style="font-family: Times New Roman,serif;"> </span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;">客户端工具</span></span></span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">文件处理</span></span></span></p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Office</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">办公软件</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">openOffice</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">不仅可以支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MS</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">office</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">格式 			而且拥有其它插件可以方便的进行编辑</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Koffice </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">永中 </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Office</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">：国产 			高度模仿</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MS 			office</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">PDF</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">阅读</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">okular</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">PDF</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">阅读器 			比</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">adobe</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自己出的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">reader</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">要好太多 			速度快 标签记录功能强大</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Adobe 			Reader : </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">软件体积大 			打开速度慢 功能简单</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">CHM</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">阅读</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kchmviewer</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下功能接近</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">chm</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">阅读软件 			能支持大部分的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">chm</span></span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Chmsee 			: </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">可以试试 			还可以 不需要</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">环境</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">图片查看</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Gwenview</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带查看图片软件 			和</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">整合相当密切 			想看 简单修改都是方便 基本需求都能满足 </span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Fspot </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">：</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Picasa </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">版本 			界面完全模仿</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">WIn</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的 			会有些小</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">BUG </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">可提交在线到</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">WEB</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">管理很方便</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">图片编辑</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Gimp</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">dia</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">是开源软件中跟</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">photoshop</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的媲美的软件</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">流程图等画图工具 			与</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">visio</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">相媲美 			个人很喜欢</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">光盘记录</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">K3B</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的自带记录软件 			基本需求肯定是没有问题的</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Brasero 			: gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带刻录软件 			一样的方便</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">影音播放</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MPlayer</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">amarok</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KMPlayer</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Hinedo</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gtkpod</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下最强大的影音播放工具 			支持几乎所有的格式 很多软件都是基于他做的</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下自带 			功能强大的音乐播放器 支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">ipod </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">封面、专辑等 			能播放几乎所有的格式</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MPlayer</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">的前端 			会有些参数优化等方面 对视频支持较好</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">台湾的电台软件 			要是可以更改电台列表就好了  不过有这样一款就不会寂寞了 </span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Ipod</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">管理器 			管理功能最强的</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Rhythmbox 			: gnome </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MP3</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">播放器 			同样支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">ipod</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">播放 			管理支持不太好 </span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">RealPlayer 			: Real</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自己出的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">版本 			比较难用 对自己的格式支持得好些 一般只用他的解码库文件</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">SMPlayer 			: gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的 			类似于</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kmplayer<br />
VLC </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： 			据说是最好的电影播放器 可以尝试下 </span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kaffeine </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">：</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下自带的播放器 			默认支持的格式不多</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Qmmp </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">MP3</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">播放器 			有点类似 “千千静听”</span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT">
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">网络电视</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Gmlive </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： 			整合了</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">qsopcast 			 mms </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">新版整合了</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">pplive </span></span></span></span></p>
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">ppstream 			: </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">官方出的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">版本 			不过还不适用所有平台</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">屏幕截取</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">ksnapshot</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">值得推荐的截图工具 			支持多种截取方式 自动存取文件名等 实用方便的好工具</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Gsnapshot 			: gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的截图工具</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">屏幕录制</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Recordmydesktop 			wink Xvidcap vnc2swf </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">暂时没有特别满意的</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">虚拟机</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">VirtualBox</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">速度快 			支持好 比</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">VMware</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">好</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Vmware </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">：</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的虚拟机老大 			但对</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">支持不太好</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">翻译工具</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">StarDict</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">实在也是没有太好了 			支持得还是比较不错 可惜取词还是比较慢 没有整句翻译的</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">输入法工具</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">ibus</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p align="LEFT"><span style="color: #000000;"><a name="post-443"></a><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="font-weight: normal;"><span style="text-decoration: none;">查看我的另外一篇文章 </span></span></span></span></span><span style="font-family: Times New Roman,serif;"><a href="../?p=443">iBUS</a></span><a href="../?p=443">新一代输入法的安装使用</a></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Scim 			: </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">老牌的输入法 			也是很多系统自带的输入法工具</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">管理工具</span></span></span></p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">日常工具管理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kontact</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">个人信息管理中心 			这个是</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带的 			其实只是个聚合软件 里面聚合了</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kmail </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">日历</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KOrganizer</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">（可与</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">google</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">日历同步） 			种子阅读器</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Akregator </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">便签等</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">远程桌面管理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Rdesktop </span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">有相关的图形化和</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下差不多 			命令行下更方便</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Krdc</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">资源管理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Google </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">桌面</span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">这个工具 			占用系统资源少 只要一个快捷方式 			输入关键词就可以把电脑上相关的资料显示出来 			也可以直接去网上搜索 对于管理资源来说快捷方便</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">电源管理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Kpowersave</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">可以节省电 			配置用电方案等</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">应该把</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">K</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">去掉还有</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">gnome</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">系统管理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Iptraf </span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">yast</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">查看网卡流量 			当然自带的 管理器也是很不错的</span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Yast</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">是</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">SUSE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">系统特有的 			管理工具高度集中 实用 其中包括了所有的管理 			最近要出</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">web</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">版的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">yast </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">功能是越来越强</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">娱乐</span></span></span></p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">3D</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">桌面</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Compiz</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Emerald 			Themer</span></span></span></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">比</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">自带的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KWIN</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">速度快 			占用资源少</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KWIN </span></span></span><span style="font-size: small;"><span style="text-decoration: none;">： </span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">KDE</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">3D</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">工具</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">3D</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">在线网游</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Regnum</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">支持</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">win</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">和</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">3D</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">网络游戏 			还可以与国外的人一起交流 就是人少点</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">本地游戏</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p align="LEFT"><span style="color: #000000;"><a name="post-508"></a><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="font-weight: normal;"><span style="text-decoration: none;">查看我写的另外一篇文章吧 </span></span></span></span></span><span style="font-family: Times New Roman,serif;"><a href="../?p=508">Linux</a></span><a href="../?p=508">下的游戏同样精彩<span style="font-family: Times New Roman,serif;">(</span></a><a href="../?p=508">安装与介绍<span style="font-family: Times New Roman,serif;">)</span></a></span></p>
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">其它小工具</span></span></span></p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">系统缓存清理</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Bleachbit</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">可以支持多种系统 			清除系统内部及相关应用程序的一些缓存文件 </span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">音乐载</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Google 			music box</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">支持下载</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">google</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">上的音乐排行歌曲</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">专业软件</span></span></span></p>
</td>
<td width="8%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">推荐软件</span></span></span></p>
</td>
<td width="49%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">介绍</span></span></span></p>
</td>
<td width="33%" bgcolor="#b84747">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Linux</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">下其它可用软件</span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">网页编辑器</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Quanta</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">可见即可得的</span></span><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">html</span></span></span><span style="font-size: small;"><span style="text-decoration: none;">编辑工具 			是几款对比下来觉得比较好用的一款</span></span></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">BlueFish</span></span></span></span></p>
</td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-size: small;"><span style="text-decoration: none;">编译器</span></span></span></p>
</td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT"><span style="color: #000000;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="text-decoration: none;">Code::Blocks</span></span></span></span></p>
</td>
<td width="49%" bgcolor="#ffffff">
<p align="LEFT"><span style="color: #000000;"><a name="post-512"></a><span style="font-family: Times New Roman,serif;"><span style="text-decoration: none;"><span style="font-family: Thorndale,serif;"><span style="font-size: small;"><span style="font-style: normal;"><span style="text-decoration: none;"><span style="font-weight: normal;"><span style="text-decoration: none;">C 			C++</span></span></span></span></span></span></span></span><span style="text-decoration: none;"><span style="text-decoration: none;"><span style="font-size: small;"><span style="font-style: normal;"><span style="font-weight: normal;"><span style="text-decoration: none;">编译器 			见 </span></span></span></span></span></span><span style="font-family: Times New Roman,serif;"><a href="../?p=512">c++</a></span><a href="../?p=512">编译器<span style="font-family: Times New Roman,serif;">Code::Blocks</span></a><a href="../?p=512">安装（<span style="font-family: Times New Roman,serif;">Linux</span></a><a href="../?p=512">）</a></span></p>
</td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
<tr valign="TOP">
<td width="9%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="8%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="49%" bgcolor="#ffffff">
<p style="font-style: normal; font-weight: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
<td width="33%" bgcolor="#eb613d">
<p style="font-style: normal; text-decoration: none;" align="LEFT">
<p><span style="color: #000000;"></span></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=707</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress 升级 从2.7到2.8 记录</title>
		<link>http://www.ohlinux.com/?p=688</link>
		<comments>http://www.ohlinux.com/?p=688#comments</comments>
		<pubDate>Fri, 21 Aug 2009 08:18:11 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Linux软件]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[升级]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=688</guid>
		<description><![CDATA[前言：其实2.8早出来了，一直在我的后台闪来闪去的，实在看不过去，还是升了吧。本身就自带自动升级，但是我...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=688'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>前言：</strong>其实2.8早出来了，一直在我的后台闪来闪去的，实在看不过去，还是升了吧。本身就自带自动升级，但是我的就是升不上去啊，老是报错，怎么办呢，只好手动来进行了，以下就是手动升级的相关步骤。</p>
<p><strong>环境：</strong>Wordpress 2.7 升级到 2.8.4<br />
<strong>系统：</strong>CentOS 5.3</p>
<p><strong>升级步骤：</strong><br />
<strong>1、备份</strong><br />
最好还是准备下，不然把自己的心血写的东西都丢了可不值啊<br />
备份两个东西：数据库 可以找个备份插件 也可以自己手动导出SQL语句 或者直接备份数据库文件<br />
wordpress程序文件 ： 其实这个中间有几个注意要保存的 A、原来的配置文件（有数据库连接方面的信息） B、有空间整体保存还是最保险的 C、最要注意 相册文件（自己定义的目录） 还有上传的相关文件（默认在wp-content/uploads下） D、最有用的文件 插件和主题 在wp-content下面</p>
<p><strong>2、下载</strong><br />
从官方下载 latest.zip   我这里下载的 中文版的  <a href="http://cn.wordpress.org/wordpress-2.8.4-zh_CN.zip">http://cn.wordpress.org/wordpress-2.8.4-zh_CN.zip</a></p>
<p><strong>3、解压并安排目录方法</strong></p>
<p>解压到原来的同级目录  使用软件连接方法来安排目录<br />
例：目录blog 为对外的目录 那么 原来的 wordpres-2.7 和wordpress-2.8.4都在同一目录</p>
<p>删除原来wordpress-2.7与blog的软连接<br />
建议新连接 ln -s wordpress-2.8.4 blog  这样就很快切到新的了</p>
<p><strong>4、拷贝原来的文件</strong></p>
<p>拷贝2.7 目录下 wp-config.php 和 .htaccess（如果有做） 到新的目录下<br />
拷贝原来的模板文件： \cp -r ../wordpress-2.7/wp-content/themes/*   wp-content/themes/  （记得加*号 不然会copy目录的 如果要强制覆盖请用\cp）<br />
拷贝原来的插件文件：  \cp -r ../wordpress-2.7/wp-content/plugins/*   wp-content/plugins/   (如果你不怕麻烦 怕出错的话 只要copy你需要的插件就可以了 也可以配置完后再添加插件，有些插件可能会有版本的需求，而导致出错)<br />
拷贝原来的上传文件:     cp -r ../wordpress-2.7/wp-content/uploads    wp-content/            (新安装有是没有这个目录的)<br />
恢复相册文件：如果之前的目录已经定好了 想下载更新时还要这么麻烦 同样可以把相册目录移动blog 目录之外 利用软件连接来进行访问  这样可以避免备份的数据过大。</p>
<p><strong>5、配置</strong></p>
<p>在浏览器上运行 /wp-admin/upgrade.php 升级数据库<br />
删除或者重命名 wp-admin 目录下的 install.php 和 upgrade.php</p>
<p>Ctr-F5 刷新自己的网站即可看到系统已经升级成功。</p>
<p><strong>6、升级过程中遇到的问题（如自动升级）：</strong></p>
<p>1、问题：使用自动升级失败。</p>
<p>下载失败。:Operation timed out after 30 seconds with 1524600 bytes received</p>
<p>解决：修改 wp-admin/includes/file.php</p>
<p>把 444行的 $response = wp_remote_get($url, array(’timeout’ =&gt; 30));</p>
<p>30改成300 或 600</p>
<p>2、问题：PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature  进行解压安装时报的错</p>
<p>未解决</p>
<p><strong>7、升级后的完善工作</strong></p>
<p>添加新插件  修改模版<br />
之后还对服务器软件进行了相关的升级</p>
<p>我的BLOG 升级后相关数据：</p>
<p>Wordpress 2.8.4</p>
<p>Nginx 2.8.8</p>
<p>PHP 5.2.10</p>
<p>Mysql 5.1.36</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=688</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl学习笔记五</title>
		<link>http://www.ohlinux.com/?p=683</link>
		<comments>http://www.ohlinux.com/?p=683#comments</comments>
		<pubDate>Mon, 17 Aug 2009 08:44:00 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[笔记]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=683</guid>
		<description><![CDATA[前言：《Perl语言入门（第四版）》这本书，最后三章看完了，可以说对perl有个基本的认识的，其实我觉得如果...[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=683'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：《Perl语言入门（第四版）》这本书，最后三章看完了，可以说对perl有个基本的认识的，其实我觉得如果学过PHP的人来学这个，真是简单的不能再简单了，不过也可能会觉得他那“丑”了，但对于一个系统管理员来说Perl是一个很好的管理程序，何况像Perl这种语言基本都是系统自带的，就像Shell一样调用方便，这样才会让你可以自由的移动到不同的服务器上，直接进行操作等。之后的学习就是实践了，多看多回顾，最快的学习方法就是亲手写，解决了几个问题之后就会熟练了。</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">第十三章 字符串和排序
Perl 被设计成 <span style="color: #cc66cc;">90</span><span style="color: #339933;">%</span>擅长处理文本，<span style="color: #cc66cc;">10</span><span style="color: #339933;">%</span>处理其余的问题。
&nbsp;
<span style="color: #cc66cc;">1</span>、 使用索引寻找子串
<span style="color: #000066;">index</span> 函数
<span style="color: #0000ff;">$where</span> <span style="color: #339933;">=</span> <span style="color: #000066;">index</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$big</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$small</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">index</span> 函数总是报告子串出现的第一个位置。
某个子串最后出现的位置
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$last_slash</span> <span style="color: #339933;">=</span> <span style="color: #000066;">rindex</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;/etc/passwd&quot;</span><span style="color: #339933;">,</span><span style="color: #ff0000;">&quot;/&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#值为 4</span>
&nbsp;
<span style="color: #cc66cc;">2</span>、 使用 <span style="color: #000066;">substr</span> 操作子串
<span style="color: #000066;">substr</span> 只处理部分的字符串
<span style="color: #0000ff;">$part</span> <span style="color: #339933;">=</span> <span style="color: #000066;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$string</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$initial_position</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$mineral</span> <span style="color: #339933;">=</span> <span style="color: #000066;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;Fred J. Flintstone&quot;</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">8</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">#得到“Flint”</span>
它有三个参数：一个字符串，一个从 <span style="color: #cc66cc;">0</span> 开始编号的初始位置（类似于 <span style="color: #000066;">index</span> 的返回值），以及子串的长度
&nbsp;
<span style="color: #000066;">index</span> 和 <span style="color: #000066;">substr</span> 可以很好的一起工作。在本例中，我们提取出了字符串中字母 l 后的子串。
<span style="color: #b1b100;">my</span>$ <span style="color: #0000ff;">$long</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;some very very long string&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$right</span> <span style="color: #339933;">=</span> <span style="color: #000066;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$long</span><span style="color: #339933;">,</span> <span style="color: #000066;">index</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$long</span><span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;l&quot;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
如果想明确要求到达字符串的结尾处，无论其或长或短，可以像下例那样省略掉第三个参数<span style="color: #339933;">.</span>
&nbsp;
<span style="color: #cc66cc;">3</span>、 使用 <span style="color: #000066;">sprintf</span> 格式化数据
<span style="color: #000066;">sprintf</span> 函数的参数和 <span style="color: #000066;">printf</span> 的参数完全相同（除了可选的文件句柄外），但它返回的是被请求的字符串，而非打印出来。
 在“货币数字”中使用 <span style="color: #000066;">sprintf</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$money</span> <span style="color: #339933;">=</span> <span style="color: #000066;">sprintf</span> <span style="color: #ff0000;">&quot;%.2f&quot;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2.49997</span><span style="color: #339933;">;</span>
需要将所有有效的精度均保存在数字中，只是在输出时再进行四舍五入。
&nbsp;
<span style="color: #cc66cc;">4</span>、 高级排序
<span style="color: #000066;">sort</span> subroutine<span style="color: #009900;">&#40;</span>排序子程序<span style="color: #009900;">&#41;</span>
<span style="color: #000000; font-weight: bold;">sub</span> by_number <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$a</span> <span style="color: #339933;">&lt;</span> <span style="color: #0000ff;">$b</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">elsif</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$a</span> <span style="color: #339933;">&gt;</span> <span style="color: #0000ff;">$b</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">@result</span> <span style="color: #339933;">=</span> <span style="color: #000066;">sort</span> by_number <span style="color: #0000ff;">@some_numbers</span><span style="color: #339933;">;</span>
种三向的比较<span style="color: #009900;">&#40;</span>three<span style="color: #339933;">-</span>way comparison<span style="color: #009900;">&#41;</span>使用很频繁，太空船（spaceship）符号（<span style="color: #339933;">&lt;=&gt;</span>）
<span style="color: #000000; font-weight: bold;">sub</span> by_number <span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$a</span> <span style="color: #339933;">&lt;=&gt;</span> <span style="color: #0000ff;">$b</span> <span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">cmp</span> 操作符有些类似于字符串比较操作符如 <span style="color: #b1b100;">ge</span>
&nbsp;
 依据值对 Hash 进行排序
：想根据 value 对 hash 排序。
<span style="color: #000000; font-weight: bold;">sub</span> by_socre <span style="color: #009900;">&#123;</span> <span style="color: #0000ff;">$score</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$b</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">&lt;=&gt;</span> <span style="color: #0000ff;">$score</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$a</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span>
&nbsp;
 对多个 <span style="color: #000066;">keys</span> 排序
（发现两边的成绩相同）因为它比较这两个值得结果是 <span style="color: #cc66cc;">0</span>。
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">@winners</span> <span style="color: #339933;">=</span> <span style="color: #000066;">sort</span> by_score_and_name <span style="color: #000066;">keys</span> <span style="color: #0000ff;">%score</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">sub</span> by_score_and_name <span style="color: #009900;">&#123;</span>
<span style="color: #0000ff;">$score</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$b</span><span style="color: #009900;">&#125;</span> <span style="color: #339933;">&lt;=&gt;</span> <span style="color: #0000ff;">$score</span><span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$a</span><span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;">#按照降序的成绩</span>
<span style="color: #b1b100;">or</span>
<span style="color: #0000ff;">$a</span> <span style="color: #b1b100;">cmp</span> <span style="color: #0000ff;">$b</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">#字母顺序的名字</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
第十四章 进程管理
<span style="color: #cc66cc;">1</span>、系统函数
最简单方法是使用 <span style="color: #000066;">system</span> 函数。
<span style="color: #000066;">system</span> <span style="color: #ff0000;">&quot;date&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">system</span> <span style="color: #ff0000;">' ls -l $HOME'</span><span style="color: #339933;">;</span>
<span style="color: #000066;">system</span> <span style="color: #ff0000;">&quot;ls -l <span style="color: #000099; font-weight: bold;">\$</span>HOME&quot;</span><span style="color: #339933;">;</span>
注意有$时候的引号使用区别
&nbsp;
<span style="color: #000066;">system</span> <span style="color: #ff0000;">&quot;long_running_command with parameters &amp;&quot;</span><span style="color: #339933;">;</span>
它变成后台运行的进程
&nbsp;
<span style="color: #cc66cc;">2</span>、 避免 Shell
<span style="color: #339933;">!</span><span style="color: #000066;">system</span> <span style="color: #ff0000;">&quot;rm -rf files_to_delete&quot;</span><span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;something went wrong&quot;</span><span style="color: #339933;">;</span>
这不是和系统调用相关的错误，因此 Perl 的<span style="color: #0000ff;">$!</span>变量不能描述。
&nbsp;
<span style="color: #cc66cc;">3</span>、<span style="color: #000066;">exec</span> 函数
<span style="color: #000066;">system</span> 函数创建子进程，它会立刻去执行请求的操作，Perl 则暂停。<span style="color: #000066;">exec</span> 函数引起 Perl 自己处理请求的操作。可以将它看作<span style="color: #ff0000;">&quot;goto&quot;</span>而非子程序调用。
实际使用 <span style="color: #000066;">exec</span> 的情况很少，除了和 <span style="color: #000066;">fork</span> 一起使用外
<span style="color: #000066;">exec</span> <span style="color: #ff0000;">&quot;date&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;date couldn'trun: $!&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #cc66cc;">4</span>、环境变量
在 Perl 中，环境变量可以通过 <span style="color: #0000ff;">%ENV</span> 这个 hash 变量得到，hash 中的每一个 key 代表一个环境变量。
&nbsp;
<span style="color: #cc66cc;">5</span>、使用反引号捕捉输出
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$now</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">`date`</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#捕获 date 的输出</span>
<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;The time is now $now&quot;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">#已经有换行符</span>
因此从安全和效率的观点，应当使用 <span style="color: #000066;">system</span>。
 在 List context 中使用反引号
&nbsp;
<span style="color: #cc66cc;">6</span>、 像文件句柄那样处理
<span style="color: #000066;">open</span> DATE<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;date|&quot;</span><span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;cannot pipe from date: $!&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000066;">open</span> MAIL<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;|mail merlyn&quot;</span><span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;cannot pipe to mail: $!&quot;</span><span style="color: #339933;">;</span>
在第一个例子中， 竖线在右边，命令被调入，且其被打开到 DATE 这个文件句柄进行读入，这和 shell 中的命令date<span style="color: #339933;">|</span>your_program 类似。 
在第二个例子中，出现在左边，命令的标准输入被连接到 MAIL 这个文 件句柄， 这和命令your_program <span style="color: #339933;">|</span> mail merlyn 类似。
&nbsp;
<span style="color: #cc66cc;">7</span>、 发送和接收信号
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$int_count</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">sub</span> my_int_handler <span style="color: #009900;">&#123;</span><span style="color: #0000ff;">$int_count</span><span style="color: #339933;">++</span><span style="color: #009900;">&#125;</span>
…
<span style="color: #0000ff;">$int_count</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #009999;">&lt;SOMEFILE&gt;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
…某些处理花了几秒钟时间…
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$int_count</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">#中断发生</span>
<span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;[processing interrupted… ]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">last</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
当每一行处理时，<span style="color: #0000ff;">$int_count</span> 的值可能是 <span style="color: #cc66cc;">0</span> 如果没人按下 Ctrl<span style="color: #339933;">-</span>C<span style="color: #339933;">,</span>因此循环会继续处理下一行。但是，如果中断发生，则中
断处理部分会增加<span style="color: #0000ff;">$count_int</span>，当在结尾处检测到它时，循环退出。
&nbsp;
第十五章 Perl模块
<span style="color: #cc66cc;">1</span>、查找模块
从两种途径可以得到模块：Perl 发布包中附带的以及从 CPAN 中下载并安装的。
CAPN 上：http<span style="color: #339933;">://</span>search<span style="color: #339933;">.</span>cpan<span style="color: #339933;">.</span>org<span style="color: #339933;">,</span> 或 kobes 上：http<span style="color: #339933;">://</span>kobesearch<span style="color: #339933;">.</span>cpan<span style="color: #339933;">.</span>org查找。
方法之一是使用 perldoc 相应文档。
<span style="color: #0000ff;">$perldoc</span> CGI
&nbsp;
<span style="color: #cc66cc;">2</span>、 安装模块
如果模块使用了 MakeMaker，则需运行的命令大致如下：
$ perl Makerfile<span style="color: #339933;">.</span>PL
$ make install
如果在默认目录中不能安装，你可以针对 Makerfile<span style="color: #339933;">.</span>PL 使用 PREFIX 这个参数来指定目录。
$ perl Makerfile<span style="color: #339933;">.</span>PL PREFIX<span style="color: #339933;">=/</span>Users<span style="color: #339933;">/</span>fred<span style="color: #339933;">/</span>lib
&nbsp;
一些模块的创建者使用另一个模块：Module<span style="color: #339933;">::</span><span style="color: #006600;">Build</span><span style="color: #339933;">,</span>来构造及安装他们的模块。此时的命令如下：
$ perl Build<span style="color: #339933;">.</span>PL
<span style="color: #0000ff;">$.</span><span style="color: #339933;">/</span>Build install
&nbsp;
<span style="color: #cc66cc;">3</span>、使用简单的模块
 File<span style="color: #339933;">::</span><span style="color: #006600;">Basename</span> 模块
 用 命 令 perldocFile<span style="color: #339933;">::</span><span style="color: #006600;">Basename</span>，或者你系统中的文档，可以阅读其功能
 <span style="color: #000000; font-weight: bold;">use</span> File<span style="color: #339933;">::</span><span style="color: #006600;">Basename</span><span style="color: #339933;">;</span>
&nbsp;
 <span style="color: #cc66cc;">4</span>、仅使用模块中的一些函数
假定需要在以前的程序中加入 File<span style="color: #339933;">::</span><span style="color: #006600;">Basename</span>，同时你发现有一个子程序叫做：<span style="color: #0000ff;">&amp;dirname</span>。
因此，你有一个子程序其名字和此模块中的一个函数同名
例如 File<span style="color: #339933;">:</span>Basename，在 <span style="color: #000000; font-weight: bold;">use</span> 声明中，可以使用输入列表（<span style="color: #000066;">import</span> list）来指定所需的函数，那它将只提供这些函数。
<span style="color: #000000; font-weight: bold;">use</span> File<span style="color: #339933;">:</span>Basename <span style="color: #009966; font-style: italic;">qw/ basename /</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">use</span> File<span style="color: #339933;">:</span>Basename <span style="color: #009966; font-style: italic;">qw/ /</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#没有引入函数</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$betty</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&amp;dirname</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$wilma</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#使用我们自己的子程序 &amp;dirname(这里没有显示)</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$name</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;/usr/local/bin/perl&quot;</span><span style="color: #339933;">;</span> 
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$dirname</span> <span style="color: #339933;">=</span> File<span style="color: #339933;">::</span><span style="color: #006600;">Basename</span><span style="color: #339933;">::</span><span style="color: #006600;">dirname</span> <span style="color: #0000ff;">$name</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">#使用模块中的 dirname</span>
&nbsp;
<span style="color: #cc66cc;">5</span>、File<span style="color: #339933;">::</span><span style="color: #006600;">Spec</span> 模块
将它和目录名一起组合成一个全文件名（fullfilename）。
<span style="color: #000000; font-weight: bold;">use</span> File<span style="color: #339933;">::</span><span style="color: #006600;">Spec</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">#得到上面的$dirname, $basename 的值</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$new_name</span> <span style="color: #339933;">=</span> File<span style="color: #339933;">::</span><span style="color: #006600;">Spec</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">catfile</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$dirname</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$basename</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #cc66cc;">6</span>、CGI<span style="color: #339933;">.</span>pm
创建 CGI 程序
CGI 模块提供了两种方法，一种是普通的老式函数接口，一种是 OO 接口。我们使用第一种。
&nbsp;
<span style="color: #cc66cc;">7</span>、数据库和 DBI
DBI（数据库接口<span style="color: #009900;">&#40;</span>database interface<span style="color: #009900;">&#41;</span>）模块不是 Perl 默认附带的，但它是最常用的模块之一，因为大多数用户都需要连接到某种类型的数据库上。
DBI 漂亮的地方在于，对于绝大多数常用的数据库，其接口都是一样的，
当安装了 DBI 后，也需要安装 DBD（数据库驱动程序<span style="color: #009900;">&#40;</span>database driver<span style="color: #009900;">&#41;</span>）。从 CPAN 上搜索 DBD，会返回一长串的结果。
根据数据库服务器，及其版本安装正确的数据库驱动程序。
<span style="color: #000000; font-weight: bold;">use</span> DBI<span style="color: #339933;">;</span>
<span style="color: #0000ff;">$dbh</span> <span style="color: #339933;">=</span> DBI<span style="color: #339933;">-&gt;</span><span style="color: #006600;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$data_source</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$username</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$password</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
一旦连接上数据库后，则进入了 preparing<span style="color: #339933;">,</span> executing<span style="color: #339933;">,</span> reading 查询的循环。
当结束时，需要断开和数据库的连接。
<span style="color: #0000ff;">$dbh</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">disconnect</span><span style="color: #009900;">&#40;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=683</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux图形化连接打印机[图]</title>
		<link>http://www.ohlinux.com/?p=679</link>
		<comments>http://www.ohlinux.com/?p=679#comments</comments>
		<pubDate>Mon, 17 Aug 2009 07:57:00 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[opensuse]]></category>
		<category><![CDATA[打印机]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=679</guid>
		<description><![CDATA[前言：应该是去年吧 也添加过打印机，觉得好麻烦，而且打印出来的东西也比在windows下打印得差远了，尤其是表格和字体方面。所以后来工作就一直麻烦别人帮我打印。
今天为折腾一个pdf文件的打印，麻烦了好几位同事，想想都过意不去，还是弄下自己的电脑吧，这东西弄好了，以后也不用那么麻烦了，一劳永逸，说干就干，还没有查找资料自己就看了看界面，呵呵真是比以前简单多了，没十分钟就搞定，所以还是特别再花几十分钟写了这篇，也是告诉大部分的人，其实linux下配置打印机，是件比win更简单的事。
系统环境：openSUSE 11.1 KDE 4.3.00 (KDE 4.3.0) &#8220;release 155&#8243;  yast2 2.17.59
“注意：我的系统上的软件都是使用的factory的源，基本都是比较新的软件，不过都差不了多少”
步骤：
第一步：打开yast管理工具
用到openSUSE 第一步就要想到yast  特有的工具 打开yast管理工具，选择“硬件”&#8211;&#62;“打印机”
<img class="ngg-singlepic ngg-center aligncenter" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups1.png" alt="cups1" width="632" he[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=679'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：应该是去年吧 也添加过打印机，觉得好麻烦，而且打印出来的东西也比在windows下打印得差远了，尤其是表格和字体方面。所以后来工作就一直麻烦别人帮我打印。</p>
<p>今天为折腾一个pdf文件的打印，麻烦了好几位同事，想想都过意不去，还是弄下自己的电脑吧，这东西弄好了，以后也不用那么麻烦了，一劳永逸，说干就干，还没有查找资料自己就看了看界面，呵呵真是比以前简单多了，没十分钟就搞定，所以还是特别再花几十分钟写了这篇，也是告诉大部分的人，其实linux下配置打印机，是件比win更简单的事。</p>
<p>系统环境：openSUSE 11.1 KDE 4.3.00 (KDE 4.3.0) &#8220;release 155&#8243;  yast2 2.17.59</p>
<p>“注意：我的系统上的软件都是使用的factory的源，基本都是比较新的软件，不过都差不了多少”</p>
<p>步骤：</p>
<p>第一步：打开yast管理工具</p>
<p>用到openSUSE 第一步就要想到yast  特有的工具 打开yast管理工具，选择“硬件”&#8211;&gt;“打印机”</p>
<p style="text-align: center; "><img class="ngg-singlepic ngg-center aligncenter" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups1.png" alt="cups1" width="632" height="423" /></p>
<p>这个是今天刚更新过的yast 出来的样式跟以前的不一样，就是右侧的会都显示在一页，以前都是分开显示的而且选择是双击，可能你的还是单击。而且我最近也都使用中文了，其实英文有英文的好处，美观，尤其是在终端中的报错会显示原本的英文错误，方便查询，改用中文后操作是方便了很多。</p>
<p>第二步：添加新打印机</p>
<p>第一次使用这个，可能会有很多的提示，如：是否要加入服务自启动，等等提示，看清楚了点确认就OK了。 显示你的远程和本地打印都是空的，现在选择“添加”进入到下面的界面</p>
<p><img class="ngg-singlepic ngg-center" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups3.png" alt="cups3" width="642" height="394" /></p>
<p>第三步：填写相关信息</p>
<p>这里主要以网络打印机为例：</p>
<p>1、选择左侧的“TCP端口”<br />
2、右侧填写打印机的IP  默认端口号就可以了，除非打印机改变了<br />
3、选择打印机类型“HP”  一般的牌子都会有，当然是越出名越好 呵呵<br />
4、最后使用“测试连接”  会提示test OK  说明信息都填写正确了</p>
<p><img class="ngg-singlepic ngg-center" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups4.png" alt="cups4" width="637" height="384" /></p>
<p>第四步：选择打印机驱动</p>
<p>上一步确认后，系统会自动搜索相关的驱动，并列出来所有的驱动，选择相应的驱动这里是 HP LaserJet 3055  可以自定义设置名称 如“HP 3055”</p>
<p><img class="ngg-singlepic ngg-center" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups5.png" alt="cups5" width="634" height="386" /></p>
<p><img class="ngg-singlepic ngg-center" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups6.png" alt="cups6" width="638" height="389" /></p>
<p>第五步:打印测试</p>
<p>这样你的打印机列表就产生了一个hp3055 最后进行打印测试</p>
<p><img class="ngg-singlepic ngg-center" src="http://www.ohlinux.com/wp-content/gallery/mysystem/cups7.png" alt="cups7" width="637" height="387" /></p>
<p>最后补充：如果驱动列表中没有，如果可以手动在网上找到该驱动，就可以自己手动添加驱动。大体过程就是这样的。</p>
<p>相当简单吧！ 快去试试吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=679</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell统计隐藏目录的大小方法小记</title>
		<link>http://www.ohlinux.com/?p=675</link>
		<comments>http://www.ohlinux.com/?p=675#comments</comments>
		<pubDate>Mon, 17 Aug 2009 03:05:10 +0000</pubDate>
		<dc:creator>Ajian</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[管理监控维护]]></category>

		<guid isPermaLink="false">http://www.ohlinux.com/?p=675</guid>
		<description><![CDATA[前言：今天df看到磁盘快满了，通过查看发现很多都是隐藏文件的，但是通过du又查不到隐藏目录的大小 不知道 哪些目录太大？怎么查看方便呢？
所以写了个脚本进行统计
脚本的功能，打印出指定目录下的一级目录所有隐藏目录的大小并且按M进行排序

#!/bin/bash
#Author:Ajian
#Date   : 2009-08-17
#website:www.ohlinux.com
for i in `find $DOCUMENT -maxdepth 1 -name &#34;.*&#34;  -type d -print `
do
  du -sm $i
done &#124; sort -n &#124; awk '{print $1&#34;M&#34;,&#34; &#34;,$2}'

后来我又减化了下到一个命令

find /root -maxdepth 1 -name &#34;.*&#34;  -type d -print &#124; xargs du -sm &#124; sort -n &#124; awk '{print $1&#34;M&#34;,$2}'

解説：
1、查找隐藏目录 使用find /path -name &#8220;.*&#8221; -type d -print
2、查找一级的隐藏目录添加上 -maxdepth 1
3、对目录进行以M兆的统计 du -sm
4、对大小[......]<p class='read-more'><a href='http://www.ohlinux.com/?p=675'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p>前言：今天df看到磁盘快满了，通过查看发现很多都是隐藏文件的，但是通过du又查不到隐藏目录的大小 不知道 哪些目录太大？怎么查看方便呢？</p>
<p>所以写了个脚本进行统计</p>
<p>脚本的功能，打印出指定目录下的一级目录所有隐藏目录的大小并且按M进行排序</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#Author:Ajian</span>
<span style="color: #666666; font-style: italic;">#Date   : 2009-08-17</span>
<span style="color: #666666; font-style: italic;">#website:www.ohlinux.com</span>
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #007800;">$DOCUMENT</span> <span style="color: #660033;">-maxdepth</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;.*&quot;</span>  <span style="color: #660033;">-type</span> d <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #c20cb9; font-weight: bold;">du</span> <span style="color: #660033;">-sm</span> <span style="color: #007800;">$i</span>
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1&quot;M&quot;,&quot; &quot;,$2}'</span></pre></div></div>

<p>后来我又减化了下到一个命令</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #000000; font-weight: bold;">/</span>root <span style="color: #660033;">-maxdepth</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;.*&quot;</span>  <span style="color: #660033;">-type</span> d <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">du</span> <span style="color: #660033;">-sm</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-n</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print $1&quot;M&quot;,$2}'</span></pre></div></div>

<p>解説：<br />
1、查找隐藏目录 使用find /path -name &#8220;.*&#8221; -type d -print<br />
2、查找一级的隐藏目录添加上 -maxdepth 1<br />
3、对目录进行以M兆的统计 du -sm<br />
4、对大小进行排序 默认以第一列 sort -nr (r是反向排序)<br />
5、awk 在这里进行修饰了下因为du -sm 是没有显示单位的  用du -sh 有单位但增加了排序的麻烦<br />
6、脚本和命令的书写区别  因为脚本用的for 语句是分条读入的所以如果把sort -n | awk &#8216;{print $1&#8243;M&#8221;,&#8221; &#8220;,$2}&#8217; 放到  du -sm $i 之后不会对顺序产生变化，因为每次就对一条进行排序肯定最后的结果是没有影响的  而命令是用管道的方式 每次都是一批处理完后交给后面进行  注意脚本和命令的区别。</p>
<p>结果：</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">13M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.opera
13M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.svnqt
15M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.cpan
16M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.mplayer
78M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.tencent
100M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.config
116M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.VirtualBox
158M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.icons
160M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.google
218M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.kde4
258M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.mozilla
517M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.thumbnails
650M   <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.beagle</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.ohlinux.com/?feed=rss2&amp;p=675</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.735 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-07 23:37:42 -->
<!-- Compression = gzip -->