<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.shareitem.org/styles/feedsky8.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:app="http://www.w3.org/2007/app" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.shareitem.org" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/suxixb" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 31 Aug 2008 05:51:12 GMT</lastBuildDate><title>ShareItem.org</title><description>关注网络互联技术、Linux、Firefox、Google的IT博客</description><image><url>http://www.feedsky.com/feed/suxixb/sc/gif</url><title>ShareItem.org</title><link>http://shareitem.org/</link></image><link atom:type="text/html">http://shareitem.org/</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308</id><link xmlns="http://www.w3.org/2005/Atom" rel="next" type="application/atom+xml" href="http://shareitem.org/feeds/posts/default?start-index=26&amp;max-results=25"></link><link xmlns="http://www.w3.org/2005/Atom" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://shareitem.org/feeds/posts/default"></link><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><generator xmlns="http://www.w3.org/2005/Atom" version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>72</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link xmlns="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.shareitem.org/siog" type="application/atom+xml"></link><pubDate>Sun, 31 Aug 2008 05:51:12 GMT</pubDate><managingEditor>suzebi</managingEditor><item><title>在Archlinux上编译安装ibus输入法</title><link atom:title="在Archlinux上编译安装ibus输入法" atom:type="text/html">http://shareitem.org/2008/08/archlinuxibus.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-8332762004292572522</id><app:edited>2008-08-31T13:51:12.067+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;a href=&quot;http://code.google.com/p/ibus/&quot;&gt;ibus&lt;/a&gt;在昨天发布了其最新的0.1.1.20080830版，在看了&lt;a href=&quot;http://linuxdesktop.cn/2008/08/31/ibus-011/&quot;&gt;LDCN&lt;/a&gt;的报道后，手痒痒的，于是在自己的Archlinux上编译玩了一把，初步试用后，决定将ibus设为我的默认输入法，那些scim和fcitx终于可以光荣退休了，目前使用上唯一的不足是输入条不能跟随，但这并不影响使用，而且相信在日后的版本中会得到改进的。&lt;a href=&quot;http://code.google.com/p/ibus/&quot;&gt;点击访问ibus的主页&lt;/a&gt;。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLotjxe95WI/AAAAAAAABIA/Usyidl8iLgU/s1600-h/y--_388x273.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLotjxe95WI/AAAAAAAABIA/2FoSWrt9H0I/s320-R/y--_388x273.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
要在Archlinux上编译安装，首先需要满足依赖（我使用git方式来获取源代码，当然你也可以直接&lt;a href=&quot;http://code.google.com/p/ibus/downloads/list&quot;&gt;到其主页上下载&lt;/a&gt;）&lt;br /&gt;
&lt;blockquote&gt;# pacman -S python dbus-python gnome-python dbus-python pyxdg cvs git&lt;/blockquote&gt;获取ibus的源代码&lt;br /&gt;
&lt;blockquote&gt;$ git clone git://github.com/phuang/ibus.git ibus&lt;/blockquote&gt;进入源代码所在目录&lt;br /&gt;
&lt;blockquote&gt;$ cd ibus&lt;/blockquote&gt;配置&lt;br /&gt;
&lt;blockquote&gt;$ ./autogen.sh --prefix=/usr&lt;/blockquote&gt;开始编译&lt;br /&gt;
&lt;blockquote&gt;$ make&lt;/blockquote&gt;安装ibus&lt;br /&gt;
&lt;blockquote&gt;# make install&lt;/blockquote&gt;在/etc/gtk-2.0/gtk.immodules文件中加入ibus，注意备份&lt;br /&gt;
&lt;blockquote&gt;# cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/gtk.immodules.bak&lt;br /&gt;
# gtk-query-immodules-2.0-32 &amp;gt; /etc/gtk-2.0/gtk.immodules&lt;/blockquote&gt;&lt;br /&gt;
安装输入法引擎&lt;br /&gt;
大家可以选择安装拼音输入法和五笔输入法，其中拼音用的是scim-python的词库，我这里选择安装拼音，五笔的安装方法和拼音是一样的。&lt;br /&gt;
首先获取输入法引擎源代码&lt;br /&gt;
&lt;blockquote&gt;$ git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin（拼音）&lt;br /&gt;
$ git clone git://github.com/phuang/ibus-table.git ibus-table（五笔）&lt;/blockquote&gt;进入源代码所在目录&lt;br /&gt;
&lt;blockquote&gt;$ cd ibus-pinyin（或者是ibus-table）&lt;/blockquote&gt;配置&lt;br /&gt;
&lt;blockquote&gt;$ ./autogen.sh --prefix=/usr&lt;/blockquote&gt;编译&lt;br /&gt;
&lt;blockquote&gt;$ make&lt;/blockquote&gt;安装&lt;br /&gt;
&lt;blockquote&gt;# make install&lt;/blockquote&gt;编辑家目录下的.profile文件（隐藏文件），在其中添加下面三行，把scim和fcitx的相关项注释掉，并注销一次。&lt;br /&gt;
&lt;blockquote&gt;export XMODIFIERS=@im=ibus&lt;br /&gt;
export GTK_IM_MODULE=ibus&lt;br /&gt;
export QT_IM_MODULE=ibus&lt;/blockquote&gt;&lt;br /&gt;
好了，安装算是完成了，可以在 “系统”－“首选项” 中找到 “IBus Preferennces”，进行必要的设置，例如加载相关的输入法引擎，是否随桌面一起启动等。第一次启动会询问是否启动守护进程，回答是即可。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLou5CQiRsI/AAAAAAAABII/WAtdxYkEn7g/s1600-h/y--_333x472.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLou5CQiRsI/AAAAAAAABII/wLJpmv-5uR0/s320-R/y--_333x472.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLou5d8HvJI/AAAAAAAABIQ/yaiW6wj8Xx8/s1600-h/y--_330x474.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLou5d8HvJI/AAAAAAAABIQ/TSqpZ1ilWlw/s320-R/y--_330x474.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;下面是拼音引擎的设置截图，可以看出设置项还是很丰富的。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLov961AADI/AAAAAAAABIY/sFLaKiiP-kA/s1600-h/y--_450x474.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLov961AADI/AAAAAAAABIY/eX5ekLUb1KU/s320-R/y--_450x474.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/Hv6OOFVkHXJTsDnxd-fgu4iDUWY/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/Hv6OOFVkHXJTsDnxd-fgu4iDUWY/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/hzDQ-_K9KkI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>&lt;a href=&quot;http://code.google.com/p/ibus/&quot;&gt;ibus&lt;/a&gt;在昨天发布了其最新的0.1.1.20080830版，在看了&lt;a href=&quot;http://linuxdesktop.cn/2008/08/31/ibus-011/&quot;&gt;LDCN&lt;/a&gt;的报道后，手痒痒的，于是在自己的Archlinux上编译玩了一把，初步试用后，决定将ibus设为我的默认输入法，那些scim和fcitx终于可以光荣退休了，目前使用上唯一的不足是输入条不能跟随，但这并不影响使用，而且相信在日后的版本中会得到改进的。&lt;a href=&quot;http://code.google.com/p/ibus/&quot;&gt;点击访问ibus的主页&lt;/a&gt;。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLotjxe95WI/AAAAAAAABIA/Usyidl8iLgU/s1600-h/y--_388x273.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLotjxe95WI/AAAAAAAABIA/2FoSWrt9H0I/s320-R/y--_388x273.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
要在Archlinux上编译安装，首先需要满足依赖（我使用git方式来获取源代码，当然你也可以直接&lt;a href=&quot;http://code.google.com/p/ibus/downloads/list&quot;&gt;到其主页上下载&lt;/a&gt;）&lt;br /&gt;
&lt;blockquote&gt;# pacman -S python dbus-python gnome-python dbus-python pyxdg cvs git&lt;/blockquote&gt;获取ibus的源代码&lt;br /&gt;
&lt;blockquote&gt;$ git clone git://github.com/phuang/ibus.git ibus&lt;/blockquote&gt;进入源代码所在目录&lt;br /&gt;
&lt;blockquote&gt;$ cd ibus&lt;/blockquote&gt;配置&lt;br /&gt;
&lt;blockquote&gt;$ ./autogen.sh --prefix=/usr&lt;/blockquote&gt;开始编译&lt;br /&gt;
&lt;blockquote&gt;$ make&lt;/blockquote&gt;安装ibus&lt;br /&gt;
&lt;blockquote&gt;# make install&lt;/blockquote&gt;在/etc/gtk-2.0/gtk.immodules文件中加入ibus，注意备份&lt;br /&gt;
&lt;blockquote&gt;# cp /etc/gtk-2.0/gtk.immodules /etc/gtk-2.0/gtk.immodules.bak&lt;br /&gt;
# gtk-query-immodules-2.0-32 &amp;gt; /etc/gtk-2.0/gtk.immodules&lt;/blockquote&gt;&lt;br /&gt;
安装输入法引擎&lt;br /&gt;
大家可以选择安装拼音输入法和五笔输入法，其中拼音用的是scim-python的词库，我这里选择安装拼音，五笔的安装方法和拼音是一样的。&lt;br /&gt;
首先获取输入法引擎源代码&lt;br /&gt;
&lt;blockquote&gt;$ git clone git://github.com/phuang/ibus-pinyin.git ibus-pinyin（拼音）&lt;br /&gt;
$ git clone git://github.com/phuang/ibus-table.git ibus-table（五笔）&lt;/blockquote&gt;进入源代码所在目录&lt;br /&gt;
&lt;blockquote&gt;$ cd ibus-pinyin（或者是ibus-table）&lt;/blockquote&gt;配置&lt;br /&gt;
&lt;blockquote&gt;$ ./autogen.sh --prefix=/usr&lt;/blockquote&gt;编译&lt;br /&gt;
&lt;blockquote&gt;$ make&lt;/blockquote&gt;安装&lt;br /&gt;
&lt;blockquote&gt;# make install&lt;/blockquote&gt;编辑家目录下的.profile文件（隐藏文件），在其中添加下面三行，把scim和fcitx的相关项注释掉，并注销一次。&lt;br /&gt;
&lt;blockquote&gt;export XMODIFIERS=@im=ibus&lt;br /&gt;
export GTK_IM_MODULE=ibus&lt;br /&gt;
export QT_IM_MODULE=ibus&lt;/blockquote&gt;&lt;br /&gt;
好了，安装算是完成了，可以在 “系统”－“首选项” 中找到 “IBus Preferennces”，进行必要的设置，例如加载相关的输入法引擎，是否随桌面一起启动等。第一次启动会询问是否启动守护进程，回答是即可。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLou5CQiRsI/AAAAAAAABII/WAtdxYkEn7g/s1600-h/y--_333x472.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLou5CQiRsI/AAAAAAAABII/wLJpmv-5uR0/s320-R/y--_333x472.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLou5d8HvJI/AAAAAAAABIQ/yaiW6wj8Xx8/s1600-h/y--_330x474.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SLou5d8HvJI/AAAAAAAABIQ/TSqpZ1ilWlw/s320-R/y--_330x474.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;下面是拼音引擎的设置截图，可以看出设置项还是很丰富的。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLov961AADI/AAAAAAAABIY/sFLaKiiP-kA/s1600-h/y--_450x474.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLov961AADI/AAAAAAAABIY/eX5ekLUb1KU/s320-R/y--_450x474.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/Hv6OOFVkHXJTsDnxd-fgu4iDUWY/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/Hv6OOFVkHXJTsDnxd-fgu4iDUWY/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/hzDQ-_K9KkI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Skills</category><category domain="http://www.blogger.com/atom/ns#">ibus</category><category domain="http://www.blogger.com/atom/ns#">Config</category><category domain="http://www.blogger.com/atom/ns#">Archlinux</category><pubDate>Sun, 31 Aug 2008 13:51:12 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-8332762004292572522</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/archlinuxibus.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109614000/4073886</fs:itemid></item><item><title>Ubuntu 社区杂志 Full Circle 第15期</title><link atom:title="Ubuntu 社区杂志 Full Circle 第15期" atom:type="text/html">http://shareitem.org/2008/08/ubuntu-full-circle-15.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-4825284017219528619</id><app:edited>2008-08-30T10:47:21.287+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLizkN8guaI/AAAAAAAABH4/qU2okwS_3sE/s1600-h/issue15_zh-cn.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLizkN8guaI/AAAAAAAABH4/xM6qDYqgxYc/s320-R/issue15_zh-cn.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Ubuntu社区的杂志：Full Circle 第15期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=83&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=90&quot;&gt;中文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=91&quot;&gt;繁中版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期主要内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;命令与征服：进入和离开目录&lt;/li&gt;
&lt;li&gt;How-To: GIMP 第四部分；GRUB 101；独立的HOME分区；创建你的服务器 7&lt;/li&gt;
&lt;li&gt;我的故事：Ubuntu 扭转了局势和从游戏到 Kubuntu&lt;/li&gt;
&lt;li&gt;测评：HP Photosmart C3180 Printer&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/rqBS4nCX17d2CAXTSI9Bpo8WGO0/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/rqBS4nCX17d2CAXTSI9Bpo8WGO0/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/E9a-e3ZJyKk&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLizkN8guaI/AAAAAAAABH4/qU2okwS_3sE/s1600-h/issue15_zh-cn.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLizkN8guaI/AAAAAAAABH4/xM6qDYqgxYc/s320-R/issue15_zh-cn.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Ubuntu社区的杂志：Full Circle 第15期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=83&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=90&quot;&gt;中文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=91&quot;&gt;繁中版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期主要内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;命令与征服：进入和离开目录&lt;/li&gt;
&lt;li&gt;How-To: GIMP 第四部分；GRUB 101；独立的HOME分区；创建你的服务器 7&lt;/li&gt;
&lt;li&gt;我的故事：Ubuntu 扭转了局势和从游戏到 Kubuntu&lt;/li&gt;
&lt;li&gt;测评：HP Photosmart C3180 Printer&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/rqBS4nCX17d2CAXTSI9Bpo8WGO0/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/rqBS4nCX17d2CAXTSI9Bpo8WGO0/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/E9a-e3ZJyKk&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Full Circle</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><category domain="http://www.blogger.com/atom/ns#">Magazine</category><pubDate>Sat, 30 Aug 2008 10:47:21 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-4825284017219528619</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/ubuntu-full-circle-15.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215515/4073886</fs:itemid></item><item><title>开源字体美化：文泉驿点阵宋（GNOME）</title><link atom:title="开源字体美化：文泉驿点阵宋（GNOME）" atom:type="text/html">http://shareitem.org/2008/08/gnome.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-4862759857545812203</id><app:edited>2008-08-29T23:51:56.419+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">文泉驿字体应该不用介绍了吧，这可是目前为数不多的中文开源字体，主要开发点阵和矢量字体。目前&lt;a href=&quot;http://www.ubuntu.org.cn/&quot;&gt;Ubuntu&lt;/a&gt;、&lt;a href=&quot;http://fedoraproject.org/zh_CN/get-fedora&quot;&gt;Fedora&lt;/a&gt;等发行版都已经使用文泉驿作为默认中文字体，而我们的&lt;a href=&quot;http://www.archlinux.org/&quot;&gt;Archlinux&lt;/a&gt;自然也不落后，可以直接从源里下载文泉驿点阵宋和正黑字体。下面分享下我用点阵宋美化的一些经验，也欢迎大家拍砖。&lt;br /&gt;
首先从源里安装字体，英文部分我用 dejavu 字体来显示，至于另外三个是其他的自由中文字体，最好还是安装上吧。&lt;br /&gt;
&lt;blockquote&gt;# pacman -S wqy-bitmapfont wqy-zenhei ttf-dejavu ttf-arphic-ukai ttf-arphic-uming ttf-fireflysung &lt;/blockquote&gt;如果你是lcd显示器的，可以安装 libxft-lcd 这个包以达到更好的效果。&lt;br /&gt;
&lt;blockquote&gt;# pacman -S libxft-lcd&lt;/blockquote&gt;然后下载这个fonts.conf文件（下载：&lt;a href=&quot;http://www.box.net/shared/5v4crm0ks9&quot;&gt;box.net&lt;/a&gt; | &lt;a href=&quot;http://www.rayfile.com/files/b2d839eb-75dd-11dd-b206-0014221b798a/&quot;&gt;RayFile&lt;/a&gt;），并放到家目录下，另外也可以拷一份放到/root/下。至于里面设置的含义，有兴趣的可以浏览&lt;a href=&quot;http://wiki.archlinux.org/index.php/%E5%AD%97%E4%BD%93%E8%AE%BE%E7%BD%AE&quot;&gt;字体设置这篇wiki文章&lt;/a&gt;。&lt;br /&gt;
接着打开“系统”-“首选项”-“外观”，打开“字体”选项卡，按照下图的方式设置&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/bXV5HfTB7VQ/s1600-h/w519xh536.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/IaDBCefyNyY/s320-R/w519xh536.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
然后点“细节”，也按照下图的方式设置&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/dBdkepaT2N0/s1600-h/w522xh573.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/4k_K0FkAyeI/s320-R/w522xh573.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
保存后，可以注销了，以下是我的效果图。（本来想找些中文目录的，但发现我硬盘里没有啊，只好新建了。）&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/o5KtBdqNiL0/s1600-h/2008-08-29_819x584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/0fxG-mQ2djE/s320-R/2008-08-29_819x584.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/YqU81fctXJg/s1600-h/2008-08-29_815x584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/jf2Q-pAJDYY/s320-R/2008-08-29_815x584.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/vWr8fWXA1rY/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/DFMPDUWyxWY/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/lWctXkemL00/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/YGTEVrTVtz8/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/pkR2Yl1cesg/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/zKOdyDsZosY/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/gDGW_tBNiPEaHUT2J-cjihamm24/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/gDGW_tBNiPEaHUT2J-cjihamm24/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/ZCPa5R77_NI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>文泉驿字体应该不用介绍了吧，这可是目前为数不多的中文开源字体，主要开发点阵和矢量字体。目前&lt;a href=&quot;http://www.ubuntu.org.cn/&quot;&gt;Ubuntu&lt;/a&gt;、&lt;a href=&quot;http://fedoraproject.org/zh_CN/get-fedora&quot;&gt;Fedora&lt;/a&gt;等发行版都已经使用文泉驿作为默认中文字体，而我们的&lt;a href=&quot;http://www.archlinux.org/&quot;&gt;Archlinux&lt;/a&gt;自然也不落后，可以直接从源里下载文泉驿点阵宋和正黑字体。下面分享下我用点阵宋美化的一些经验，也欢迎大家拍砖。&lt;br /&gt;
首先从源里安装字体，英文部分我用 dejavu 字体来显示，至于另外三个是其他的自由中文字体，最好还是安装上吧。&lt;br /&gt;
&lt;blockquote&gt;# pacman -S wqy-bitmapfont wqy-zenhei ttf-dejavu ttf-arphic-ukai ttf-arphic-uming ttf-fireflysung &lt;/blockquote&gt;如果你是lcd显示器的，可以安装 libxft-lcd 这个包以达到更好的效果。&lt;br /&gt;
&lt;blockquote&gt;# pacman -S libxft-lcd&lt;/blockquote&gt;然后下载这个fonts.conf文件（下载：&lt;a href=&quot;http://www.box.net/shared/5v4crm0ks9&quot;&gt;box.net&lt;/a&gt; | &lt;a href=&quot;http://www.rayfile.com/files/b2d839eb-75dd-11dd-b206-0014221b798a/&quot;&gt;RayFile&lt;/a&gt;），并放到家目录下，另外也可以拷一份放到/root/下。至于里面设置的含义，有兴趣的可以浏览&lt;a href=&quot;http://wiki.archlinux.org/index.php/%E5%AD%97%E4%BD%93%E8%AE%BE%E7%BD%AE&quot;&gt;字体设置这篇wiki文章&lt;/a&gt;。&lt;br /&gt;
接着打开“系统”-“首选项”-“外观”，打开“字体”选项卡，按照下图的方式设置&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/bXV5HfTB7VQ/s1600-h/w519xh536.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/IaDBCefyNyY/s320-R/w519xh536.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
然后点“细节”，也按照下图的方式设置&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/dBdkepaT2N0/s1600-h/w522xh573.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/4k_K0FkAyeI/s320-R/w522xh573.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
保存后，可以注销了，以下是我的效果图。（本来想找些中文目录的，但发现我硬盘里没有啊，只好新建了。）&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/o5KtBdqNiL0/s1600-h/2008-08-29_819x584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/0fxG-mQ2djE/s320-R/2008-08-29_819x584.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/YqU81fctXJg/s1600-h/2008-08-29_815x584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/jf2Q-pAJDYY/s320-R/2008-08-29_815x584.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/vWr8fWXA1rY/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/DFMPDUWyxWY/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/lWctXkemL00/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/YGTEVrTVtz8/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/pkR2Yl1cesg/s1600-h/2008-08-29_1280x1024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/zKOdyDsZosY/s320-R/2008-08-29_1280x1024.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/gDGW_tBNiPEaHUT2J-cjihamm24/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/gDGW_tBNiPEaHUT2J-cjihamm24/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/ZCPa5R77_NI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">GNOME</category><category domain="http://www.blogger.com/atom/ns#">Fonts</category><pubDate>Fri, 29 Aug 2008 23:51:56 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-4862759857545812203</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/gnome.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215516/4073886</fs:itemid></item><item><title>导入 amule/emule 的设置到 Mldonkey</title><link atom:title="导入 amule/emule 的设置到 Mldonkey" atom:type="text/html">http://shareitem.org/2008/05/amuleemule-mldonkey.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-1820714572357719276</id><app:edited>2008-08-28T10:33:45.394+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">由于电驴下载不同于 BT ，有一个积分系统，每个人都有&lt;strike&gt;一个&lt;/strike&gt;两个（ed2k 和 kad 网络各一个）独一无二的 ID（Userhash，不是那个名字），只要你上传的东西多了，你存放在别人的积分也就高了，你下载时排队也就能排在靠前的位置，自然下载的速度也会快起来。但是为了防止作弊的情况，自己的积分不是保存在自己的机器上，而是分别保存在互联网上其他的客户上，而那些客户就是靠这两个 ID 来识别你的，所以这两个 ID 是十分重要的，自己用了几年的 id 就这样丢了，很心疼的。以前我也写了篇&lt;a href=&quot;http://shareitem.org/2008/08/emule-amule.html&quot;&gt;将 emule 的设置导入到 amule&lt;/a&gt; 的文章，而现在使用 Mldonkey 后很有必要将以前使用 amule/emule 时所使用的 ID 导入进来，再&lt;a href=&quot;http://shareitem.org/2008/03/mldonkey-amuleemule.html&quot;&gt;将临时文件导入 Mldonkey&lt;/a&gt; 中，基本上可以抛弃 amule/emule 了。&lt;br /&gt;
&lt;br /&gt;
一些重要的信息&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;emule 的个人 ID 存放在 安装目录 /config/cryptkey.dat 文件下&lt;/li&gt;
&lt;li&gt;amule 的个人 ID 存放在 ~/.amule/amule.conf  文件的 [Statistics] 字段下&lt;/li&gt;
&lt;li&gt;emule 和 amule 可以双击界面右下角那个地球形状的图标查看自己 ed2k 和 kad 的 Userhash&lt;/li&gt;
&lt;li&gt;mldonkey 的个人 ID 存放在 ~/.mldonkey/donkey.ini 文件的 client_private_key 值下&lt;/li&gt;
&lt;li&gt;mldonkey 的 ed2k Userhash 存放在 ~/.mldonkey/donkey.ini 文件的 client_md4 值下，kad Userhash 存放在 Kademlia 的 md4 值下&lt;/li&gt;
&lt;/ul&gt;知道路径后就好办事了 ，首先确保已经关闭了 mldonkey ，然后将对应的内容复制到 mldonkey 下的 donkey.ini 中，具体位置在 ~/.mldonkey/donkey.ini ，然后启动 mldonkey ，现在可以享受高速下载了。这里推荐大家直接用 web 来管理 mldonkey，比一直开着 GUI 要好，还省资源。管理地址是：&lt;a href=&quot;http://localhost:4080/&quot; target=&quot;_blank&quot;&gt;http://localhost:4080/&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/ss9khq06gccc8qp521vj4lalsg/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/ss9khq06gccc8qp521vj4lalsg/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/_X5mOvGvdTU&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>由于电驴下载不同于 BT ，有一个积分系统，每个人都有&lt;strike&gt;一个&lt;/strike&gt;两个（ed2k 和 kad 网络各一个）独一无二的 ID（Userhash，不是那个名字），只要你上传的东西多了，你存放在别人的积分也就高了，你下载时排队也就能排在靠前的位置，自然下载的速度也会快起来。但是为了防止作弊的情况，自己的积分不是保存在自己的机器上，而是分别保存在互联网上其他的客户上，而那些客户就是靠这两个 ID 来识别你的，所以这两个 ID 是十分重要的，自己用了几年的 id 就这样丢了，很心疼的。以前我也写了篇&lt;a href=&quot;http://shareitem.org/2008/08/emule-amule.html&quot;&gt;将 emule 的设置导入到 amule&lt;/a&gt; 的文章，而现在使用 Mldonkey 后很有必要将以前使用 amule/emule 时所使用的 ID 导入进来，再&lt;a href=&quot;http://shareitem.org/2008/03/mldonkey-amuleemule.html&quot;&gt;将临时文件导入 Mldonkey&lt;/a&gt; 中，基本上可以抛弃 amule/emule 了。&lt;br /&gt;
&lt;br /&gt;
一些重要的信息&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;emule 的个人 ID 存放在 安装目录 /config/cryptkey.dat 文件下&lt;/li&gt;
&lt;li&gt;amule 的个人 ID 存放在 ~/.amule/amule.conf  文件的 [Statistics] 字段下&lt;/li&gt;
&lt;li&gt;emule 和 amule 可以双击界面右下角那个地球形状的图标查看自己 ed2k 和 kad 的 Userhash&lt;/li&gt;
&lt;li&gt;mldonkey 的个人 ID 存放在 ~/.mldonkey/donkey.ini 文件的 client_private_key 值下&lt;/li&gt;
&lt;li&gt;mldonkey 的 ed2k Userhash 存放在 ~/.mldonkey/donkey.ini 文件的 client_md4 值下，kad Userhash 存放在 Kademlia 的 md4 值下&lt;/li&gt;
&lt;/ul&gt;知道路径后就好办事了 ，首先确保已经关闭了 mldonkey ，然后将对应的内容复制到 mldonkey 下的 donkey.ini 中，具体位置在 ~/.mldonkey/donkey.ini ，然后启动 mldonkey ，现在可以享受高速下载了。这里推荐大家直接用 web 来管理 mldonkey，比一直开着 GUI 要好，还省资源。管理地址是：&lt;a href=&quot;http://localhost:4080/&quot; target=&quot;_blank&quot;&gt;http://localhost:4080/&lt;/a&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/ss9khq06gccc8qp521vj4lalsg/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/ss9khq06gccc8qp521vj4lalsg/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/_X5mOvGvdTU&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">eMule</category><category domain="http://www.blogger.com/atom/ns#">Mldonkey</category><category domain="http://www.blogger.com/atom/ns#">aMule</category><category domain="http://www.blogger.com/atom/ns#">Config</category><pubDate>Thu, 28 Aug 2008 10:33:45 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-1820714572357719276</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/05/amuleemule-mldonkey.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215529/4073886</fs:itemid></item><item><title>在 Arch 上安装并优化 GNOME</title><link atom:title="在 Arch 上安装并优化 GNOME" atom:type="text/html">http://shareitem.org/2008/03/arch-gnome.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-6215082714538873024</id><app:edited>2008-08-28T10:23:52.767+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">其实 Arch 官方建议安装的桌面环境有 GNOME 和 Xfce，而且这也符合 Arch 的 kiss 原则。要搭建 GNOME 环境，过程稍微比 Kdemod 简单，下面我介绍如何在 Arch 上安装并优化 GNOME，这里假设你已经安装好了 Arch 的基本系统和配置好了 Xorg ，显卡驱动等，并能连接上网，和使用 root 账户登录。关于如何安装 Arch 可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/ftp-arch.html&quot;&gt;通过 FTP 方式安装 Arch （硬盘安装）&lt;/a&gt;》。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;安装 GNOME&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# pacman -S gdm gnome gnome-terminal gedit nautilus-open-terminal file-roller gconf-editor&lt;/blockquote&gt;&lt;b&gt;安装一些免费的字体&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# pacman -S ttf-dejavu ttf-ms-fonts ttf-arphic-uming ttf-arphic-ukai&lt;/blockquote&gt;&lt;b&gt;让 Arch 启动后直接进入 GNOME&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/inittab&lt;/blockquote&gt;注释掉下列这一行（前面加#号）&lt;br /&gt;
&lt;blockquote&gt;x:5:respawn:/usr/bin/xdm -nodaemon&lt;/blockquote&gt;然后把下列这行前的“#”号去掉（也就是使用刚才装的 gdm 登录管理器）&lt;br /&gt;
&lt;blockquote&gt;x:5:respawn:/usr/sbin/gdm -nodaemon&lt;/blockquote&gt;保存文件，然后编辑&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/rc.conf&lt;/blockquote&gt;找到下面这行（可能不完全相同）&lt;br /&gt;
&lt;blockquote&gt;DAEMONS=(syslog-ng network netfs crond)&lt;/blockquote&gt;替换为（也就是在后面添加一个 gdm）&lt;br /&gt;
&lt;blockquote&gt;DAEMONS=(syslog-ng network netfs crond gdm)&lt;/blockquote&gt;如果你是使用 LCD 的，可以执行&lt;br /&gt;
&lt;blockquote&gt;# pacman -S &lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;cairo-lcd&lt;/del&gt; libxft-lcd&lt;/blockquote&gt;其中会要求删除&lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;cairo 和&lt;/del&gt; libxft 这两个包的，回答 yes 即可。好了，是时候登录到 GNOME 了，先新建一个普通用户（suxixb 是我的用户名，你需要改为你自己的，下同）&lt;br /&gt;
&lt;blockquote&gt;# adduser suxixb（推荐用此命令）&lt;br /&gt;
useradd -m -s /bin/bash suxixb（不推荐，如果使用这种方式别忘了设密码）&lt;/blockquote&gt;然后我们可以启动到 GNOME 下了，输入&lt;br /&gt;
&lt;blockquote&gt;# /sbin/telinit 5&lt;/blockquote&gt;这样会启动 gdm ，用刚才新建的用户名和密码登录。如果想回来字符界面可以用下面的命令。&lt;br /&gt;
&lt;blockquote&gt;# /sbin/telinit 3&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt;中文化&lt;/b&gt;&lt;br /&gt;
这里有几种方法，一种是修改 /etc/rc.conf 为中文 locale，不过会使字符界面下也使用中文 locale，但又缺少相关的中文字体，所以会让字符界面显示一个个的小方块。所以我使用第二种方法：保持 /etc/rc.conf 为英文 locale，编辑主目录下（/home/suxixb）的 .profile 文件，如果不存在就新建一个，添加 export LANG=&quot;zh_CN.UTF-8&quot; 这段内容。&lt;br /&gt;
&lt;br /&gt;
注销一次，好了，界面已经是中文了，接着安装一个中文输入法，你可以选择装 scim 或者 fcitx，前者的安装方法可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/arch-kdemod-359.html&quot;&gt;Arch 上安装 kdemod 3.5.9&lt;/a&gt;》，这里我选择安装后者。&lt;br /&gt;
&lt;blockquote&gt;pacman -S fcitx&lt;/blockquote&gt;然后编辑主目录下的 .profile 这个文件，输入下列内容&lt;br /&gt;
&lt;blockquote&gt;export XMODIFIERS=@im=fcitx&lt;br /&gt;
export GTK_IM_MODULE=xim&lt;br /&gt;
export QT_IM_MODULE=xim&lt;br /&gt;
fcitx &amp;amp;&lt;/blockquote&gt;注销一次，现在 fcitx 已经自动启动了，接着我们可以优化一下 fcitx，例如自动隐藏工具条等，其配置文件是 /home/suxixb/.fcitx/config，也可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/fcitx.html&quot;&gt;隐藏 fcitx 输入法的状态栏&lt;/a&gt;》&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;安装一些必备的软件&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;pacman -S pidgin firefox deluge mldonkey sancho-gtk gthumb quodlibet mplayer mplayer-plugin codecs gstreamer0.10-plugins&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;pidgin 主要是用来上 MSN 和 Gtalk 的，当然，你也可以用来上 QQ&lt;/li&gt;
&lt;li&gt;firefox 就不说&lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;，如果要使用最新的 3.0 需要到 AUR 上下载编译&lt;/del&gt;（现在已经是最新的3.0了）&lt;/li&gt;
&lt;li&gt;deluge 是一个 BT 客户端，支持选择文件下载&lt;/li&gt;
&lt;li&gt;mldonkey 和 sancho-gtk 是用来电驴下载的，配置稍微复杂，当然，你也可以替换为 amule&lt;/li&gt;
&lt;li&gt;gthumb 是一个看图软件，和 Win 下的 ACDSee 接近&lt;/li&gt;
&lt;li&gt;quodlibet 是一个音频播放软件，并且可以方便的管理硬盘上的音频文件，这个和 Amarok 是我最喜欢的播放软件了，但 Amarok 是 KDE 的&lt;/li&gt;
&lt;li&gt;mplayer 也不多说了，即使你不用他看视频也应该装上&lt;/li&gt;
&lt;li&gt;mplayer-plugin 是用来播放网页上的流媒体的&lt;/li&gt;
&lt;li&gt;codecs 以及 gstreamer 包括了几乎用到的解码器，看电影必备&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKA7ycoY29I/AAAAAAAAA38/J0KubWUHRsQ/s1600-h/screenshot-desktop-01-2008-3-30.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKA7ycoY29I/AAAAAAAAA38/kZU3mSyg5Mg/s320-R/screenshot-desktop-01-2008-3-30.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;打开 GNOME 的 Composite&lt;/b&gt;&lt;br /&gt;
如果你喜欢一些特效，例如窗口、菜单阴影等，又不想开启 compiz ，那你可以试试打开 GNOME 的 Composite 功能，你的 GNOME 版本必须是 2.22 以上。下面先看看效果图&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLdgwRiII/AAAAAAAAA50/0yyZK5hcDuQ/s1600-h/screenshot-1-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLdgwRiII/AAAAAAAAA50/-xfyNL5ZAiw/s320-R/screenshot-1-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLnxRQbLI/AAAAAAAAA58/rrclBWTkWm0/s1600-h/screenshot-2-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLnxRQbLI/AAAAAAAAA58/_Lbzj5LMqro/s320-R/screenshot-2-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBLxfNAtYI/AAAAAAAAA6E/31IeJbbruK4/s1600-h/screenshot-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBLxfNAtYI/AAAAAAAAA6E/4BRHvXCcX3c/s320-R/screenshot-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
首先打开 gconf-editor（配置编辑器），你可以用终端打开，也可以到 “应用程序” — “系统工具” 中找到。然后定位到 /apps/metacity/general/ 下，将 compositing_manager 设为 True 即可，设置会马上生效。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;问题集&lt;/b&gt;&lt;br /&gt;
Q：GNOME 关机时，显示的是 “Unknow” 用户名。&lt;br /&gt;
A：这主要是新建用户时，没有写全名，只写了简称。解决办法是用 root 用户执行&lt;br /&gt;
&lt;blockquote&gt;chfn suxixb&lt;/blockquote&gt;然后在 “全名” 处填上你喜欢的名称，问题解决。&lt;br /&gt;
&lt;br /&gt;
（本文未完）&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/spk6niv3fgtuusft3chdlgn3ps/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/spk6niv3fgtuusft3chdlgn3ps/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/bWDzjjqjN2I&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>其实 Arch 官方建议安装的桌面环境有 GNOME 和 Xfce，而且这也符合 Arch 的 kiss 原则。要搭建 GNOME 环境，过程稍微比 Kdemod 简单，下面我介绍如何在 Arch 上安装并优化 GNOME，这里假设你已经安装好了 Arch 的基本系统和配置好了 Xorg ，显卡驱动等，并能连接上网，和使用 root 账户登录。关于如何安装 Arch 可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/ftp-arch.html&quot;&gt;通过 FTP 方式安装 Arch （硬盘安装）&lt;/a&gt;》。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;安装 GNOME&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# pacman -S gdm gnome gnome-terminal gedit nautilus-open-terminal file-roller gconf-editor&lt;/blockquote&gt;&lt;b&gt;安装一些免费的字体&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# pacman -S ttf-dejavu ttf-ms-fonts ttf-arphic-uming ttf-arphic-ukai&lt;/blockquote&gt;&lt;b&gt;让 Arch 启动后直接进入 GNOME&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/inittab&lt;/blockquote&gt;注释掉下列这一行（前面加#号）&lt;br /&gt;
&lt;blockquote&gt;x:5:respawn:/usr/bin/xdm -nodaemon&lt;/blockquote&gt;然后把下列这行前的“#”号去掉（也就是使用刚才装的 gdm 登录管理器）&lt;br /&gt;
&lt;blockquote&gt;x:5:respawn:/usr/sbin/gdm -nodaemon&lt;/blockquote&gt;保存文件，然后编辑&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/rc.conf&lt;/blockquote&gt;找到下面这行（可能不完全相同）&lt;br /&gt;
&lt;blockquote&gt;DAEMONS=(syslog-ng network netfs crond)&lt;/blockquote&gt;替换为（也就是在后面添加一个 gdm）&lt;br /&gt;
&lt;blockquote&gt;DAEMONS=(syslog-ng network netfs crond gdm)&lt;/blockquote&gt;如果你是使用 LCD 的，可以执行&lt;br /&gt;
&lt;blockquote&gt;# pacman -S &lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;cairo-lcd&lt;/del&gt; libxft-lcd&lt;/blockquote&gt;其中会要求删除&lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;cairo 和&lt;/del&gt; libxft 这两个包的，回答 yes 即可。好了，是时候登录到 GNOME 了，先新建一个普通用户（suxixb 是我的用户名，你需要改为你自己的，下同）&lt;br /&gt;
&lt;blockquote&gt;# adduser suxixb（推荐用此命令）&lt;br /&gt;
useradd -m -s /bin/bash suxixb（不推荐，如果使用这种方式别忘了设密码）&lt;/blockquote&gt;然后我们可以启动到 GNOME 下了，输入&lt;br /&gt;
&lt;blockquote&gt;# /sbin/telinit 5&lt;/blockquote&gt;这样会启动 gdm ，用刚才新建的用户名和密码登录。如果想回来字符界面可以用下面的命令。&lt;br /&gt;
&lt;blockquote&gt;# /sbin/telinit 3&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt;中文化&lt;/b&gt;&lt;br /&gt;
这里有几种方法，一种是修改 /etc/rc.conf 为中文 locale，不过会使字符界面下也使用中文 locale，但又缺少相关的中文字体，所以会让字符界面显示一个个的小方块。所以我使用第二种方法：保持 /etc/rc.conf 为英文 locale，编辑主目录下（/home/suxixb）的 .profile 文件，如果不存在就新建一个，添加 export LANG=&quot;zh_CN.UTF-8&quot; 这段内容。&lt;br /&gt;
&lt;br /&gt;
注销一次，好了，界面已经是中文了，接着安装一个中文输入法，你可以选择装 scim 或者 fcitx，前者的安装方法可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/arch-kdemod-359.html&quot;&gt;Arch 上安装 kdemod 3.5.9&lt;/a&gt;》，这里我选择安装后者。&lt;br /&gt;
&lt;blockquote&gt;pacman -S fcitx&lt;/blockquote&gt;然后编辑主目录下的 .profile 这个文件，输入下列内容&lt;br /&gt;
&lt;blockquote&gt;export XMODIFIERS=@im=fcitx&lt;br /&gt;
export GTK_IM_MODULE=xim&lt;br /&gt;
export QT_IM_MODULE=xim&lt;br /&gt;
fcitx &amp;amp;&lt;/blockquote&gt;注销一次，现在 fcitx 已经自动启动了，接着我们可以优化一下 fcitx，例如自动隐藏工具条等，其配置文件是 /home/suxixb/.fcitx/config，也可以参考我的这篇文章《&lt;a href=&quot;http://shareitem.org/2008/03/fcitx.html&quot;&gt;隐藏 fcitx 输入法的状态栏&lt;/a&gt;》&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;安装一些必备的软件&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;pacman -S pidgin firefox deluge mldonkey sancho-gtk gthumb quodlibet mplayer mplayer-plugin codecs gstreamer0.10-plugins&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;pidgin 主要是用来上 MSN 和 Gtalk 的，当然，你也可以用来上 QQ&lt;/li&gt;
&lt;li&gt;firefox 就不说&lt;del datetime=&quot;2008-11-27T12:36:19+00:00&quot;&gt;，如果要使用最新的 3.0 需要到 AUR 上下载编译&lt;/del&gt;（现在已经是最新的3.0了）&lt;/li&gt;
&lt;li&gt;deluge 是一个 BT 客户端，支持选择文件下载&lt;/li&gt;
&lt;li&gt;mldonkey 和 sancho-gtk 是用来电驴下载的，配置稍微复杂，当然，你也可以替换为 amule&lt;/li&gt;
&lt;li&gt;gthumb 是一个看图软件，和 Win 下的 ACDSee 接近&lt;/li&gt;
&lt;li&gt;quodlibet 是一个音频播放软件，并且可以方便的管理硬盘上的音频文件，这个和 Amarok 是我最喜欢的播放软件了，但 Amarok 是 KDE 的&lt;/li&gt;
&lt;li&gt;mplayer 也不多说了，即使你不用他看视频也应该装上&lt;/li&gt;
&lt;li&gt;mplayer-plugin 是用来播放网页上的流媒体的&lt;/li&gt;
&lt;li&gt;codecs 以及 gstreamer 包括了几乎用到的解码器，看电影必备&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKA7ycoY29I/AAAAAAAAA38/J0KubWUHRsQ/s1600-h/screenshot-desktop-01-2008-3-30.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKA7ycoY29I/AAAAAAAAA38/kZU3mSyg5Mg/s320-R/screenshot-desktop-01-2008-3-30.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;打开 GNOME 的 Composite&lt;/b&gt;&lt;br /&gt;
如果你喜欢一些特效，例如窗口、菜单阴影等，又不想开启 compiz ，那你可以试试打开 GNOME 的 Composite 功能，你的 GNOME 版本必须是 2.22 以上。下面先看看效果图&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLdgwRiII/AAAAAAAAA50/0yyZK5hcDuQ/s1600-h/screenshot-1-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLdgwRiII/AAAAAAAAA50/-xfyNL5ZAiw/s320-R/screenshot-1-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLnxRQbLI/AAAAAAAAA58/rrclBWTkWm0/s1600-h/screenshot-2-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBLnxRQbLI/AAAAAAAAA58/_Lbzj5LMqro/s320-R/screenshot-2-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBLxfNAtYI/AAAAAAAAA6E/31IeJbbruK4/s1600-h/screenshot-2008-05-22.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBLxfNAtYI/AAAAAAAAA6E/4BRHvXCcX3c/s320-R/screenshot-2008-05-22.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
首先打开 gconf-editor（配置编辑器），你可以用终端打开，也可以到 “应用程序” — “系统工具” 中找到。然后定位到 /apps/metacity/general/ 下，将 compositing_manager 设为 True 即可，设置会马上生效。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;问题集&lt;/b&gt;&lt;br /&gt;
Q：GNOME 关机时，显示的是 “Unknow” 用户名。&lt;br /&gt;
A：这主要是新建用户时，没有写全名，只写了简称。解决办法是用 root 用户执行&lt;br /&gt;
&lt;blockquote&gt;chfn suxixb&lt;/blockquote&gt;然后在 “全名” 处填上你喜欢的名称，问题解决。&lt;br /&gt;
&lt;br /&gt;
（本文未完）&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/spk6niv3fgtuusft3chdlgn3ps/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/spk6niv3fgtuusft3chdlgn3ps/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/bWDzjjqjN2I&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">GNOME</category><category domain="http://www.blogger.com/atom/ns#">Skills</category><category domain="http://www.blogger.com/atom/ns#">Config</category><category domain="http://www.blogger.com/atom/ns#">Archlinux</category><pubDate>Thu, 28 Aug 2008 10:23:52 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-6215082714538873024</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/03/arch-gnome.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215534/4073886</fs:itemid></item><item><title>从 LiveUSB 安装 Archlinux</title><link atom:title="从 LiveUSB 安装 Archlinux" atom:type="text/html">http://shareitem.org/2008/08/liveusb-archlinux.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-6620824136348656161</id><app:edited>2008-08-26T15:52:34.224+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">从 2008.06 版开始，&lt;a href=&quot;http://www.archlinux.org/&quot;&gt;Archlinux&lt;/a&gt; 开始支持从 USB 介质安装，碰巧今天打算安装 64 位版的 Archlinux ，所以尝尝鲜，用U盘来安装，而且整个镜像才330M，相信现在每个人手头上都有个G级的U盘吧。以下是我的安装步骤。&lt;br /&gt;
&lt;br /&gt;
首先下载 Archlinux 的 .img 格式镜像，你可以从&lt;a href=&quot;ftp://ftp.archlinux.org/iso/&quot;&gt;这里&lt;/a&gt;下载，比如我下的是&lt;a href=&quot;ftp://ftp.archlinux.org/iso/2008.06/archlinux-2008.06-core-x86_64.img&quot;&gt;archlinux-2008.06-core-x86_64.img&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Linux&lt;/b&gt;&lt;br /&gt;
我们只要用 dd 这个命令就能把img镜像写到U盘上。首先确保你的U盘是 /dev/sd[x] ，比如我的U盘是 /dev/sdc，确保对 /dev/sdc 有写权限，执行下面命令。&lt;br /&gt;
&lt;blockquote&gt;dd if=archlinux-2008.06-core-x86_64.img of=&lt;span style=&quot;color: red;&quot;&gt;/dev/sdc &lt;/span&gt;&lt;/blockquote&gt;&lt;b&gt;For Windows&lt;/b&gt;&lt;br /&gt;
想要在 Win 上把img镜像写到U盘上，我们可以使用 dd 的 windouw 版（下载：&lt;a href=&quot;http://cn.ziddu.com/download/217021/dd.tar.gz.html&quot;&gt;ziddu&lt;/a&gt; | &lt;a href=&quot;http://www.box.net/shared/5xnr1yxxrz&quot;&gt;box.net&lt;/a&gt;）。比如下载到C:盘下，把img镜像也拷到C:盘，插上U盘，打开cmd命令提示符，定位到c:，输入下面命令。其中红色部分为我的U盘的盘符。&lt;br /&gt;
&lt;blockquote&gt;dd if=archlinux-2008.06-core-x86_64.img of=&lt;span style=&quot;color: red;&quot;&gt;g: &lt;/span&gt;&lt;/blockquote&gt;等待dd操作完成后，确保把U盘插上，然后重启吧，到 &lt;strike&gt;BOSS&lt;/strike&gt; BIOS 里改为USB启动，等待片刻，熟悉的GRUB界面出来了，然后和光盘等方式的安装没有区别了。&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/1v90jrmu4mh67proktgf9hr1ug/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/1v90jrmu4mh67proktgf9hr1ug/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/veVojcvCpsI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>从 2008.06 版开始，&lt;a href=&quot;http://www.archlinux.org/&quot;&gt;Archlinux&lt;/a&gt; 开始支持从 USB 介质安装，碰巧今天打算安装 64 位版的 Archlinux ，所以尝尝鲜，用U盘来安装，而且整个镜像才330M，相信现在每个人手头上都有个G级的U盘吧。以下是我的安装步骤。&lt;br /&gt;
&lt;br /&gt;
首先下载 Archlinux 的 .img 格式镜像，你可以从&lt;a href=&quot;ftp://ftp.archlinux.org/iso/&quot;&gt;这里&lt;/a&gt;下载，比如我下的是&lt;a href=&quot;ftp://ftp.archlinux.org/iso/2008.06/archlinux-2008.06-core-x86_64.img&quot;&gt;archlinux-2008.06-core-x86_64.img&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;For Linux&lt;/b&gt;&lt;br /&gt;
我们只要用 dd 这个命令就能把img镜像写到U盘上。首先确保你的U盘是 /dev/sd[x] ，比如我的U盘是 /dev/sdc，确保对 /dev/sdc 有写权限，执行下面命令。&lt;br /&gt;
&lt;blockquote&gt;dd if=archlinux-2008.06-core-x86_64.img of=&lt;span style=&quot;color: red;&quot;&gt;/dev/sdc &lt;/span&gt;&lt;/blockquote&gt;&lt;b&gt;For Windows&lt;/b&gt;&lt;br /&gt;
想要在 Win 上把img镜像写到U盘上，我们可以使用 dd 的 windouw 版（下载：&lt;a href=&quot;http://cn.ziddu.com/download/217021/dd.tar.gz.html&quot;&gt;ziddu&lt;/a&gt; | &lt;a href=&quot;http://www.box.net/shared/5xnr1yxxrz&quot;&gt;box.net&lt;/a&gt;）。比如下载到C:盘下，把img镜像也拷到C:盘，插上U盘，打开cmd命令提示符，定位到c:，输入下面命令。其中红色部分为我的U盘的盘符。&lt;br /&gt;
&lt;blockquote&gt;dd if=archlinux-2008.06-core-x86_64.img of=&lt;span style=&quot;color: red;&quot;&gt;g: &lt;/span&gt;&lt;/blockquote&gt;等待dd操作完成后，确保把U盘插上，然后重启吧，到 &lt;strike&gt;BOSS&lt;/strike&gt; BIOS 里改为USB启动，等待片刻，熟悉的GRUB界面出来了，然后和光盘等方式的安装没有区别了。&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/1v90jrmu4mh67proktgf9hr1ug/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/1v90jrmu4mh67proktgf9hr1ug/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/veVojcvCpsI&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">install</category><category domain="http://www.blogger.com/atom/ns#">LiveUSB</category><category domain="http://www.blogger.com/atom/ns#">Archlinux</category><pubDate>Tue, 26 Aug 2008 15:52:34 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-6620824136348656161</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/liveusb-archlinux.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215517/4073886</fs:itemid></item><item><title>HowTo:搭建家用下载&amp;路由服务器</title><link atom:title="HowTo:搭建家用下载&amp;路由服务器" atom:type="text/html">http://shareitem.org/2008/06/howto.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-8521892782365052171</id><app:edited>2008-08-20T12:41:16.567+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">其实这篇文章不能说是 HowTo ，最多只能说是我自己的安装笔记而已。该服务器主要用来下载和实现共享上网，有空还可以用它来研究iptables。整个系统没有鼠标键盘显示器，全都日常维护都是用SSH进行，所以使用了密钥的验证方式确保安全。下载方面用mldonkey实现，通过局域网内其他电脑用网页方式管理，唯一的不足是对BT下载支持不够。由于服务器基本上都是24小时运作的，所有在上面弄了个dnsmasq，实现DNS缓存和DHCP，局域网的其他机器ip都是自动获取，接上网线就能上网，十分方便。&lt;br /&gt;
&lt;br /&gt;
先说说用到的软件&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; ArchLinux&lt;/li&gt;

&lt;li&gt; ssh&lt;/li&gt;

&lt;li&gt; iptables&lt;/li&gt;

&lt;li&gt; dnsmasq&lt;/li&gt;

&lt;li&gt; mldonkey&lt;/li&gt;

&lt;/ul&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;ArchLinux&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
选择安装包时只选择 base 组，加上 support 组中 re-pppoe，sudo，iptables等几个包，安装一个最小系统。安装完后运行&lt;br /&gt;
&lt;blockquote&gt;# pacman-optimize&lt;br /&gt;
# sync&lt;br /&gt;
# pacman -Syu mldonkey dnsmasq&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;ssh&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
为了安全，我这里设置了只允许用密钥验证，以下是我的 /etc/ssh/sshd_config 文件的内容&lt;br /&gt;
&lt;blockquote&gt;Port 22&lt;br /&gt;
ListenAddress 0.0.0.0&lt;br /&gt;
Protocol 2&lt;br /&gt;
&lt;br /&gt;
KeyRegenerationInterval 1h&lt;br /&gt;
ServerKeyBits 768&lt;br /&gt;
&lt;br /&gt;
LoginGraceTime 2m&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
RSAAuthentication yes&lt;br /&gt;
PubkeyAuthentication yes&lt;br /&gt;
AuthorizedKeysFile .ssh/authorized_keys&lt;br /&gt;
PasswordAuthentication no&lt;br /&gt;
PermitEmptyPasswords no&lt;br /&gt;
&lt;br /&gt;
ChallengeResponseAuthentication no&lt;br /&gt;
UsePAM yes&lt;br /&gt;
Subsystem sftp /usr/lib/ssh/sftp-server&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;iptables&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
由于服务器上只有一张网卡连接到交换机，再通过交换机连接到 ADSL Modem 上，所以需要共享服务器上的ppp0链接让局域网上的其他机器上网。&lt;br /&gt;
&lt;blockquote&gt;# iptables -F INPUT&lt;br /&gt;
# iptables -F FORWARD&lt;br /&gt;
# iptables -F POSTROUTING -t nat&lt;br /&gt;
# iptables -t nat -F&lt;br /&gt;
# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE&lt;br /&gt;
# iptables-save -c &amp;gt; /etc/iptables/iptables.rules&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;dnsmasq&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
这个主要是用来做 dns 缓存和 dhcp 服务，参考了 firefoxmmx 写的这篇教程《&lt;a href=&quot;http://www.linuxsir.org/bbs/showthread.php?t=327632&amp;amp;highlight=dnsmasq&quot;&gt;提高ADSL（pppoe）上网速度&lt;/a&gt;》&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
找到下面这一项&lt;br /&gt;
&lt;blockquote&gt;#resolv-file=&lt;/blockquote&gt;&lt;br /&gt;
用下面的一条语句替换&lt;br /&gt;
&lt;blockquote&gt;resolv-file=/etc/resolv_dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
将下面两句前的注释符号删除&lt;br /&gt;
&lt;blockquote&gt;interface=eth0&lt;br /&gt;
dhcp-range=192.168.1.10,192.168.1.20,255.255.255.0,24h&lt;/blockquote&gt;&lt;br /&gt;
创建新的dns配置文件，把自己常用的DNS添加到/etc/resolv_dnsmasq.conf中&lt;br /&gt;
&lt;blockquote&gt;# cp /etc/resolv.conf /etc/resolv_dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
编辑 /etc/ppp/pppoe.conf&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/ppp/pppoe.conf&lt;/blockquote&gt;&lt;br /&gt;
找到下列一行&lt;br /&gt;
&lt;blockquote&gt;PEERDNS=NO&lt;/blockquote&gt;&lt;br /&gt;
并在该行下面添加&lt;br /&gt;
&lt;blockquote&gt;DNS1 = 127.0.0.1&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;mldonkey&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
这里要注意 mldonkey 默认只允许 127.0.0.1 访问，要首先设置允许其他网段访问。~/.mldonkey/downloads.ini 文件的第37行就是设置的地方。再配合《&lt;a href=&quot;http://www.shareitem.org/2008/05/13/imput-amule-emule-userhash-to-mldonkey/&quot;&gt;导入 amule/emule 的设置到 Mldonkey&lt;/a&gt;》和《&lt;a href=&quot;http://www.shareitem.org/2008/03/22/mldonkey-import-amule-emule-temp/&quot;&gt;让 MLDonkey 导入 amule/emule 的临时文件&lt;/a&gt;》两篇文章，驴子基本上能全速运行了，如果你遇到中文文件名变成下划线的问题，可以参考这篇文章《     &lt;a href=&quot;http://www.shareitem.org/2008/06/19/mldonkey-chinese-problem/&quot;&gt;解决 Mldonkey 中文文件变下划线问题  &lt;/a&gt;》。&lt;br /&gt;
&lt;br /&gt;
最后启动服务&lt;br /&gt;
# /etc/rc.d/iptables start&lt;br /&gt;
# /etc/rc.d/sshd start&lt;br /&gt;
# /etc/rc.d/samba start&lt;br /&gt;
# /etc/rc.d/dnsmasq start&lt;br /&gt;
# /etc/rc.d/mldonkey start&lt;br /&gt;
&lt;br /&gt;
或者编辑 /etc/rc.conf 文件，添加到 daemon 段中。&lt;br /&gt;
&lt;br /&gt;
ok，收工，enjoy it。&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/mh4t5epulpt995e6p6cush14as/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/mh4t5epulpt995e6p6cush14as/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/WdRaEe5kfnE&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>其实这篇文章不能说是 HowTo ，最多只能说是我自己的安装笔记而已。该服务器主要用来下载和实现共享上网，有空还可以用它来研究iptables。整个系统没有鼠标键盘显示器，全都日常维护都是用SSH进行，所以使用了密钥的验证方式确保安全。下载方面用mldonkey实现，通过局域网内其他电脑用网页方式管理，唯一的不足是对BT下载支持不够。由于服务器基本上都是24小时运作的，所有在上面弄了个dnsmasq，实现DNS缓存和DHCP，局域网的其他机器ip都是自动获取，接上网线就能上网，十分方便。&lt;br /&gt;
&lt;br /&gt;
先说说用到的软件&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; ArchLinux&lt;/li&gt;

&lt;li&gt; ssh&lt;/li&gt;

&lt;li&gt; iptables&lt;/li&gt;

&lt;li&gt; dnsmasq&lt;/li&gt;

&lt;li&gt; mldonkey&lt;/li&gt;

&lt;/ul&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;ArchLinux&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
选择安装包时只选择 base 组，加上 support 组中 re-pppoe，sudo，iptables等几个包，安装一个最小系统。安装完后运行&lt;br /&gt;
&lt;blockquote&gt;# pacman-optimize&lt;br /&gt;
# sync&lt;br /&gt;
# pacman -Syu mldonkey dnsmasq&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;ssh&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
为了安全，我这里设置了只允许用密钥验证，以下是我的 /etc/ssh/sshd_config 文件的内容&lt;br /&gt;
&lt;blockquote&gt;Port 22&lt;br /&gt;
ListenAddress 0.0.0.0&lt;br /&gt;
Protocol 2&lt;br /&gt;
&lt;br /&gt;
KeyRegenerationInterval 1h&lt;br /&gt;
ServerKeyBits 768&lt;br /&gt;
&lt;br /&gt;
LoginGraceTime 2m&lt;br /&gt;
PermitRootLogin yes&lt;br /&gt;
&lt;br /&gt;
RSAAuthentication yes&lt;br /&gt;
PubkeyAuthentication yes&lt;br /&gt;
AuthorizedKeysFile .ssh/authorized_keys&lt;br /&gt;
PasswordAuthentication no&lt;br /&gt;
PermitEmptyPasswords no&lt;br /&gt;
&lt;br /&gt;
ChallengeResponseAuthentication no&lt;br /&gt;
UsePAM yes&lt;br /&gt;
Subsystem sftp /usr/lib/ssh/sftp-server&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;iptables&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
由于服务器上只有一张网卡连接到交换机，再通过交换机连接到 ADSL Modem 上，所以需要共享服务器上的ppp0链接让局域网上的其他机器上网。&lt;br /&gt;
&lt;blockquote&gt;# iptables -F INPUT&lt;br /&gt;
# iptables -F FORWARD&lt;br /&gt;
# iptables -F POSTROUTING -t nat&lt;br /&gt;
# iptables -t nat -F&lt;br /&gt;
# iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o ppp0 -j MASQUERADE&lt;br /&gt;
# iptables-save -c &amp;gt; /etc/iptables/iptables.rules&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;dnsmasq&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
这个主要是用来做 dns 缓存和 dhcp 服务，参考了 firefoxmmx 写的这篇教程《&lt;a href=&quot;http://www.linuxsir.org/bbs/showthread.php?t=327632&amp;amp;highlight=dnsmasq&quot;&gt;提高ADSL（pppoe）上网速度&lt;/a&gt;》&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
找到下面这一项&lt;br /&gt;
&lt;blockquote&gt;#resolv-file=&lt;/blockquote&gt;&lt;br /&gt;
用下面的一条语句替换&lt;br /&gt;
&lt;blockquote&gt;resolv-file=/etc/resolv_dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
将下面两句前的注释符号删除&lt;br /&gt;
&lt;blockquote&gt;interface=eth0&lt;br /&gt;
dhcp-range=192.168.1.10,192.168.1.20,255.255.255.0,24h&lt;/blockquote&gt;&lt;br /&gt;
创建新的dns配置文件，把自己常用的DNS添加到/etc/resolv_dnsmasq.conf中&lt;br /&gt;
&lt;blockquote&gt;# cp /etc/resolv.conf /etc/resolv_dnsmasq.conf&lt;/blockquote&gt;&lt;br /&gt;
编辑 /etc/ppp/pppoe.conf&lt;br /&gt;
&lt;blockquote&gt;# vi /etc/ppp/pppoe.conf&lt;/blockquote&gt;&lt;br /&gt;
找到下列一行&lt;br /&gt;
&lt;blockquote&gt;PEERDNS=NO&lt;/blockquote&gt;&lt;br /&gt;
并在该行下面添加&lt;br /&gt;
&lt;blockquote&gt;DNS1 = 127.0.0.1&lt;/blockquote&gt;&lt;br /&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&lt;strong&gt;mldonkey&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
这里要注意 mldonkey 默认只允许 127.0.0.1 访问，要首先设置允许其他网段访问。~/.mldonkey/downloads.ini 文件的第37行就是设置的地方。再配合《&lt;a href=&quot;http://www.shareitem.org/2008/05/13/imput-amule-emule-userhash-to-mldonkey/&quot;&gt;导入 amule/emule 的设置到 Mldonkey&lt;/a&gt;》和《&lt;a href=&quot;http://www.shareitem.org/2008/03/22/mldonkey-import-amule-emule-temp/&quot;&gt;让 MLDonkey 导入 amule/emule 的临时文件&lt;/a&gt;》两篇文章，驴子基本上能全速运行了，如果你遇到中文文件名变成下划线的问题，可以参考这篇文章《     &lt;a href=&quot;http://www.shareitem.org/2008/06/19/mldonkey-chinese-problem/&quot;&gt;解决 Mldonkey 中文文件变下划线问题  &lt;/a&gt;》。&lt;br /&gt;
&lt;br /&gt;
最后启动服务&lt;br /&gt;
# /etc/rc.d/iptables start&lt;br /&gt;
# /etc/rc.d/sshd start&lt;br /&gt;
# /etc/rc.d/samba start&lt;br /&gt;
# /etc/rc.d/dnsmasq start&lt;br /&gt;
# /etc/rc.d/mldonkey start&lt;br /&gt;
&lt;br /&gt;
或者编辑 /etc/rc.conf 文件，添加到 daemon 段中。&lt;br /&gt;
&lt;br /&gt;
ok，收工，enjoy it。&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/mh4t5epulpt995e6p6cush14as/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/mh4t5epulpt995e6p6cush14as/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/WdRaEe5kfnE&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">HowTo</category><category domain="http://www.blogger.com/atom/ns#">Server</category><category domain="http://www.blogger.com/atom/ns#">Archlinux</category><pubDate>Wed, 20 Aug 2008 12:41:16 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-8521892782365052171</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/06/howto.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215523/4073886</fs:itemid></item><item><title>以图说话</title><link atom:title="以图说话" atom:type="text/html">http://shareitem.org/2008/08/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-2385948705532879210</id><app:edited>2008-08-18T20:26:20.730+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKlqRJSZ7gI/AAAAAAAABF0/cRn6Y-OGF04/s1600-h/%E8%B0%B7%E6%AD%8C%E7%83%AD%E6%A6%9C+-+%E4%B8%8A%E5%8D%87%E6%9C%80%E5%BF%AB%E5%85%B3%E9%94%AE%E8%AF%8D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKlqRJSZ7gI/AAAAAAAABF0/Sy0iH3rNST0/s320-R/%E8%B0%B7%E6%AD%8C%E7%83%AD%E6%A6%9C+-+%E4%B8%8A%E5%8D%87%E6%9C%80%E5%BF%AB%E5%85%B3%E9%94%AE%E8%AF%8D.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/8jvuocpfv526jhna62vbu3d9ug/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/8jvuocpfv526jhna62vbu3d9ug/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/NNRyYFvb6LA&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKlqRJSZ7gI/AAAAAAAABF0/cRn6Y-OGF04/s1600-h/%E8%B0%B7%E6%AD%8C%E7%83%AD%E6%A6%9C+-+%E4%B8%8A%E5%8D%87%E6%9C%80%E5%BF%AB%E5%85%B3%E9%94%AE%E8%AF%8D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKlqRJSZ7gI/AAAAAAAABF0/Sy0iH3rNST0/s320-R/%E8%B0%B7%E6%AD%8C%E7%83%AD%E6%A6%9C+-+%E4%B8%8A%E5%8D%87%E6%9C%80%E5%BF%AB%E5%85%B3%E9%94%AE%E8%AF%8D.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/8jvuocpfv526jhna62vbu3d9ug/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/8jvuocpfv526jhna62vbu3d9ug/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/NNRyYFvb6LA&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">记事</category><pubDate>Mon, 18 Aug 2008 20:26:20 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-2385948705532879210</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/blog-post.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215518/4073886</fs:itemid></item><item><title>Ubuntu 社区杂志 Full Circle 第14期</title><link atom:title="Ubuntu 社区杂志 Full Circle 第14期" atom:type="text/html">http://shareitem.org/2008/08/ubuntu-full-circle-14.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-9168359816965736761</id><app:edited>2008-08-12T17:30:27.406+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">Ubuntu社区的杂志：Full Circle 第14期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=80&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=86&quot;&gt;中文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=87&quot;&gt;繁中版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;How-To : Create an Ubuntu Plug ‘n’ Play Zone, Create Your Own Server Part 6, Using GIMP Part 3 and Put Photos on your iPod.&lt;/li&gt;
&lt;li&gt;Command and Conquer - Man pages, and what not to type.&lt;/li&gt;
&lt;li&gt;My Opinion - Excited About Ubuntu in South East India &lt;/li&gt;
&lt;li&gt;MOTU Interview - Soren Hansen&lt;/li&gt;
&lt;li&gt;Our usual: Letters, Q &amp;amp; A, My Desktop, Top 5, and more!&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKFXw5PSLbI/AAAAAAAAA-k/Msz0B-0dVI4/s1600-h/issue14-zhcn.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKFXw5PSLbI/AAAAAAAAA-k/utid2wzbnS0/s320-R/issue14-zhcn.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/qrfg3umq3qpjmctlmo60tkamqc/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/qrfg3umq3qpjmctlmo60tkamqc/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/kwTBj5pzqkQ&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>Ubuntu社区的杂志：Full Circle 第14期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=80&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=86&quot;&gt;中文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=87&quot;&gt;繁中版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;How-To : Create an Ubuntu Plug ‘n’ Play Zone, Create Your Own Server Part 6, Using GIMP Part 3 and Put Photos on your iPod.&lt;/li&gt;
&lt;li&gt;Command and Conquer - Man pages, and what not to type.&lt;/li&gt;
&lt;li&gt;My Opinion - Excited About Ubuntu in South East India &lt;/li&gt;
&lt;li&gt;MOTU Interview - Soren Hansen&lt;/li&gt;
&lt;li&gt;Our usual: Letters, Q &amp;amp; A, My Desktop, Top 5, and more!&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKFXw5PSLbI/AAAAAAAAA-k/Msz0B-0dVI4/s1600-h/issue14-zhcn.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://1.bp.blogspot.com/_UX_e8nZMpQ0/SKFXw5PSLbI/AAAAAAAAA-k/utid2wzbnS0/s320-R/issue14-zhcn.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/qrfg3umq3qpjmctlmo60tkamqc/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/qrfg3umq3qpjmctlmo60tkamqc/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/kwTBj5pzqkQ&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Full Circle</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><category domain="http://www.blogger.com/atom/ns#">Magazine</category><pubDate>Tue, 12 Aug 2008 17:30:27 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-9168359816965736761</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/ubuntu-full-circle-14.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215519/4073886</fs:itemid></item><item><title>Ubuntu 社区杂志 Full Circle 第13期</title><link atom:title="Ubuntu 社区杂志 Full Circle 第13期" atom:type="text/html">http://shareitem.org/2008/05/ubuntu-full-circle-13.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-6570892667296155588</id><app:edited>2008-08-12T17:03:41.662+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBPda9abDI/AAAAAAAAA6U/PoKH00j3y5A/s1600-h/issue13_cover.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBPda9abDI/AAAAAAAAA6U/KlpQN89MXAY/s320-R/issue13_cover.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Ubuntu社区的杂志：Full Circle 第13期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=74&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=79&quot;&gt;中文版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Flavor of the Month - Ubuntu 8.04 Hardy Heron.&lt;/li&gt;
&lt;li&gt;How-To : Organize an Ubuntu Demo Day/Party, TV Feast for Ubuntu, Using GIMP Part 2, Create Your Own Server Part 5 and Automatic Backup via Email.&lt;/li&gt;
&lt;li&gt;My Opinion - What is Web 2.0?&lt;/li&gt;
&lt;li&gt;MOTU Interview - Luca Falavigna&lt;/li&gt;
&lt;li&gt;Letters, Q&amp;amp;A, MyDesktop, Top5 and more!&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/l8er7p98ipb5e7nifoni9c8148/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/l8er7p98ipb5e7nifoni9c8148/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/MwHMlfwUIcg&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBPda9abDI/AAAAAAAAA6U/PoKH00j3y5A/s1600-h/issue13_cover.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBPda9abDI/AAAAAAAAA6U/KlpQN89MXAY/s320-R/issue13_cover.png&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Ubuntu社区的杂志：Full Circle 第13期已经出了（&lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=74&quot;&gt;英文版&lt;/a&gt; | &lt;a href=&quot;http://fullcirclemagazine.org/download-manager.php?id=79&quot;&gt;中文版&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
本期内容有：&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Flavor of the Month - Ubuntu 8.04 Hardy Heron.&lt;/li&gt;
&lt;li&gt;How-To : Organize an Ubuntu Demo Day/Party, TV Feast for Ubuntu, Using GIMP Part 2, Create Your Own Server Part 5 and Automatic Backup via Email.&lt;/li&gt;
&lt;li&gt;My Opinion - What is Web 2.0?&lt;/li&gt;
&lt;li&gt;MOTU Interview - Luca Falavigna&lt;/li&gt;
&lt;li&gt;Letters, Q&amp;amp;A, MyDesktop, Top5 and more!&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/l8er7p98ipb5e7nifoni9c8148/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/l8er7p98ipb5e7nifoni9c8148/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/MwHMlfwUIcg&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Full Circle</category><category domain="http://www.blogger.com/atom/ns#">Ubuntu</category><category domain="http://www.blogger.com/atom/ns#">Magazine</category><pubDate>Tue, 12 Aug 2008 17:03:41 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-6570892667296155588</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/05/ubuntu-full-circle-13.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215527/4073886</fs:itemid></item><item><title>下载 QQ for Linux</title><link atom:title="下载 QQ for Linux" atom:type="text/html">http://shareitem.org/2008/07/qq-for-linux.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-6241026338020174747</id><app:edited>2008-08-12T11:03:51.718+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">腾讯终于在 7 月的最后一日推出了 QQ 的 linux 版，据 &lt;a href=&quot;http://linuxdesktop.cn/2008/07/30/qq-for-linux-faq/&quot;&gt;LDCN&lt;/a&gt; 的报道，Linux 版 QQ 采用 GTK+ 接口开发，包含 32 位和 64 位平台支持，提供 rpm、deb、tar.gz 格式的安装包。&lt;br /&gt;
你可以从&lt;a href=&quot;http://im.qq.com/qq/linux/&quot;&gt;这里下载腾讯 Linux 版 QQ&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBdoZysXVI/AAAAAAAAA60/2U1Hkcz0SZs/s1600-h/qq-for-linux-imqqcom.jpg&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBdoZysXVI/AAAAAAAAA60/oORr9NFNa7g/s320-R/qq-for-linux-imqqcom.jpg&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/6re4vhkqfcjav5227tkib20f10/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/6re4vhkqfcjav5227tkib20f10/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/4XNNvl5P0Ss&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>腾讯终于在 7 月的最后一日推出了 QQ 的 linux 版，据 &lt;a href=&quot;http://linuxdesktop.cn/2008/07/30/qq-for-linux-faq/&quot;&gt;LDCN&lt;/a&gt; 的报道，Linux 版 QQ 采用 GTK+ 接口开发，包含 32 位和 64 位平台支持，提供 rpm、deb、tar.gz 格式的安装包。&lt;br /&gt;
你可以从&lt;a href=&quot;http://im.qq.com/qq/linux/&quot;&gt;这里下载腾讯 Linux 版 QQ&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBdoZysXVI/AAAAAAAAA60/2U1Hkcz0SZs/s1600-h/qq-for-linux-imqqcom.jpg&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBdoZysXVI/AAAAAAAAA60/oORr9NFNa7g/s320-R/qq-for-linux-imqqcom.jpg&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/6re4vhkqfcjav5227tkib20f10/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/6re4vhkqfcjav5227tkib20f10/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/4XNNvl5P0Ss&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Software</category><category domain="http://www.blogger.com/atom/ns#">QQ</category><pubDate>Tue, 12 Aug 2008 11:03:51 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-6241026338020174747</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/07/qq-for-linux.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215520/4073886</fs:itemid></item><item><title>提高 nvidia 显卡驱动性能</title><link atom:title="提高 nvidia 显卡驱动性能" atom:type="text/html">http://shareitem.org/2008/08/nvidia.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-2060382468256533465</id><app:edited>2008-08-12T10:53:59.293+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">在用了3个月的 nvidia 8600GT 后，发觉其 2d 性能相对于以前的 ATI 7500 没有多少的提升，而且在某些应用上还不升反降。例如 Firefox ，平时使用时简直就像以前用奔腾2装winxp一样，慢得一塌糊涂，标签页间的切换要等，Ctrl+T要等，上下拖动网页也要等，-_-，起初还以为 Linux 版的 Firefox 问题，还一度用了 opera 一段时间，但是问题依然存在。&lt;br /&gt;
如果你和我一样正在使用 GF8600GT 显卡（或者更新的9000系列），同样碰到以下的问题（包括但不限于-_-）&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; Firefox 缓慢&lt;/li&gt;
&lt;li&gt; 平时拖动窗口会有延迟的现象&lt;/li&gt;
&lt;li&gt; compiz的部分特性缓慢，例如 3D Windows、Animations、窗口最大化和卷起时很卡等&lt;/li&gt;
&lt;/ul&gt;那么恭喜你，你和我一样遇到了 nvidia 驱动一个非常严重的 bug 了-_- ，目前并没有有效的解决方法，只能希望 nvidia 能在下一个驱动解决。大家也可以用下面提到的方法缓解该症状&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.linuxgem.org/tip/bad-nvidia-driver.html&quot; target=&quot;_blank&quot;&gt;糟糕的 Nvidia Linux 驱动？&lt;/a&gt;（来自 &lt;a href=&quot;http://www.linuxgem.org/&quot;&gt;LinuxGem&lt;/a&gt;，作者：galeki）&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.nvnews.net/vbulletin/showthread.php?t=115916&quot; target=&quot;_blank&quot;&gt;nVidia 8000/9000 Series Performance Issues&lt;/a&gt;（英文，来自 &lt;a href=&quot;http://www.nvnews.net/&quot;&gt;nvnews&lt;/a&gt;，作者：xsolarwindx）&lt;/li&gt;
&lt;/ul&gt;最后贴上我的 xorg.conf 文件中的 Device 段，Firefox 的缓慢现象有比较明显的改善。&lt;br /&gt;
&lt;blockquote&gt;Section &quot;Device&quot;&lt;br /&gt;
Identifier  &quot;Card0&quot;&lt;br /&gt;
Driver      &quot;nvidia&quot;&lt;br /&gt;
VendorName  &quot;nVidia Corporation&quot;&lt;br /&gt;
BoardName   &quot;GeForce 8600 GT&quot;&lt;br /&gt;
BusID       &quot;PCI:6:0:0&quot;&lt;br /&gt;
Option      &quot;NoLogo&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;RenderAccel&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;DamageEvents&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;BackingStore&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;UseCompositeWrapper&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;TripleBuffer&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;PixmapCacheSize&quot; &quot;300000&quot;&lt;br /&gt;
Option      &quot;OnDemandVBlankInterrupts&quot; &quot;True&quot;&lt;br /&gt;
EndSection&lt;/blockquote&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/nhce7i375ks19a11ftfroftvf0/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/nhce7i375ks19a11ftfroftvf0/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/-FkeEovZK6g&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>在用了3个月的 nvidia 8600GT 后，发觉其 2d 性能相对于以前的 ATI 7500 没有多少的提升，而且在某些应用上还不升反降。例如 Firefox ，平时使用时简直就像以前用奔腾2装winxp一样，慢得一塌糊涂，标签页间的切换要等，Ctrl+T要等，上下拖动网页也要等，-_-，起初还以为 Linux 版的 Firefox 问题，还一度用了 opera 一段时间，但是问题依然存在。&lt;br /&gt;
如果你和我一样正在使用 GF8600GT 显卡（或者更新的9000系列），同样碰到以下的问题（包括但不限于-_-）&lt;br /&gt;
&lt;ul&gt;&lt;li&gt; Firefox 缓慢&lt;/li&gt;
&lt;li&gt; 平时拖动窗口会有延迟的现象&lt;/li&gt;
&lt;li&gt; compiz的部分特性缓慢，例如 3D Windows、Animations、窗口最大化和卷起时很卡等&lt;/li&gt;
&lt;/ul&gt;那么恭喜你，你和我一样遇到了 nvidia 驱动一个非常严重的 bug 了-_- ，目前并没有有效的解决方法，只能希望 nvidia 能在下一个驱动解决。大家也可以用下面提到的方法缓解该症状&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.linuxgem.org/tip/bad-nvidia-driver.html&quot; target=&quot;_blank&quot;&gt;糟糕的 Nvidia Linux 驱动？&lt;/a&gt;（来自 &lt;a href=&quot;http://www.linuxgem.org/&quot;&gt;LinuxGem&lt;/a&gt;，作者：galeki）&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.nvnews.net/vbulletin/showthread.php?t=115916&quot; target=&quot;_blank&quot;&gt;nVidia 8000/9000 Series Performance Issues&lt;/a&gt;（英文，来自 &lt;a href=&quot;http://www.nvnews.net/&quot;&gt;nvnews&lt;/a&gt;，作者：xsolarwindx）&lt;/li&gt;
&lt;/ul&gt;最后贴上我的 xorg.conf 文件中的 Device 段，Firefox 的缓慢现象有比较明显的改善。&lt;br /&gt;
&lt;blockquote&gt;Section &quot;Device&quot;&lt;br /&gt;
Identifier  &quot;Card0&quot;&lt;br /&gt;
Driver      &quot;nvidia&quot;&lt;br /&gt;
VendorName  &quot;nVidia Corporation&quot;&lt;br /&gt;
BoardName   &quot;GeForce 8600 GT&quot;&lt;br /&gt;
BusID       &quot;PCI:6:0:0&quot;&lt;br /&gt;
Option      &quot;NoLogo&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;RenderAccel&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;DamageEvents&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;BackingStore&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;UseCompositeWrapper&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;TripleBuffer&quot; &quot;True&quot;&lt;br /&gt;
Option      &quot;PixmapCacheSize&quot; &quot;300000&quot;&lt;br /&gt;
Option      &quot;OnDemandVBlankInterrupts&quot; &quot;True&quot;&lt;br /&gt;
EndSection&lt;/blockquote&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/nhce7i375ks19a11ftfroftvf0/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/nhce7i375ks19a11ftfroftvf0/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/-FkeEovZK6g&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">Drivers</category><category domain="http://www.blogger.com/atom/ns#">Nvidia</category><category domain="http://www.blogger.com/atom/ns#">Skills</category><pubDate>Tue, 12 Aug 2008 10:53:59 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-2060382468256533465</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/nvidia.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215521/4073886</fs:itemid></item><item><title>用 iptables 实现端口映射</title><link atom:title="用 iptables 实现端口映射" atom:type="text/html">http://shareitem.org/2008/08/iptables.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-7218954312184418422</id><app:edited>2008-08-11T23:43:31.664+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">由于我这里是几台 Windows 连接网关通过ADSL共享上网的，网关为 Archlinux ，单网卡，有两个网络接口，eth0链接内网，地址192.168.1.2；ppp0为ADSL拨号连接，地址自动分配，内网网段为 192.168.1.0/24 。&lt;br /&gt;&lt;br /&gt;下图为物理拓扑图&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBcRqNtdTI/AAAAAAAAA6s/Mk-Cby9JZO0/s1600-h/e789a9e79086e68b93e68991e59bbe.GIF&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBcRqNtdTI/AAAAAAAAA6s/wdv-twIWer4/s320-R/e789a9e79086e68b93e68991e59bbe.GIF&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;比如内网上的pc1这台机想要BT下载，由于p2p的工作原理，我们必须在网关上打开到pc1的端口映射，这里假设pc1的ip地址为192.168.1.11，bt下载端口为11197。&lt;br /&gt;&lt;blockquote&gt;# iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 11197 -j DNAT --to-destination 192.168.1.11:11197&lt;br /&gt;# iptables-save -c &amp;gt; /etc/iptables/iptables.rules（这条命令不能用sudo，可以先执行su命令。不执行这条命令的后果是重启机器后要重新执行上一条命令）&lt;/blockquote&gt;&lt;br /&gt;就是这么简单，你现在已经打开了pc1的端口映射，而电驴的 HighID 问题也可以参考这个方法。附上一张内网BT下载的截图。（为啥我的下载速度这么慢？大家都限速了？？）&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBcPD4ZUuI/AAAAAAAAA6k/i49dFZhhRQ8/s1600-h/utorrent-2008-07-25.JPG&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBcPD4ZUuI/AAAAAAAAA6k/jmV67I1iNZo/s320-R/utorrent-2008-07-25.JPG&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/teaoviq8kulgseq86q99q440is/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/teaoviq8kulgseq86q99q440is/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/RnDIg93X6Kc&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>由于我这里是几台 Windows 连接网关通过ADSL共享上网的，网关为 Archlinux ，单网卡，有两个网络接口，eth0链接内网，地址192.168.1.2；ppp0为ADSL拨号连接，地址自动分配，内网网段为 192.168.1.0/24 。&lt;br /&gt;&lt;br /&gt;下图为物理拓扑图&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBcRqNtdTI/AAAAAAAAA6s/Mk-Cby9JZO0/s1600-h/e789a9e79086e68b93e68991e59bbe.GIF&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBcRqNtdTI/AAAAAAAAA6s/wdv-twIWer4/s320-R/e789a9e79086e68b93e68991e59bbe.GIF&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;比如内网上的pc1这台机想要BT下载，由于p2p的工作原理，我们必须在网关上打开到pc1的端口映射，这里假设pc1的ip地址为192.168.1.11，bt下载端口为11197。&lt;br /&gt;&lt;blockquote&gt;# iptables -t nat -A PREROUTING -p tcp -i ppp0 --dport 11197 -j DNAT --to-destination 192.168.1.11:11197&lt;br /&gt;# iptables-save -c &amp;gt; /etc/iptables/iptables.rules（这条命令不能用sudo，可以先执行su命令。不执行这条命令的后果是重启机器后要重新执行上一条命令）&lt;/blockquote&gt;&lt;br /&gt;就是这么简单，你现在已经打开了pc1的端口映射，而电驴的 HighID 问题也可以参考这个方法。附上一张内网BT下载的截图。（为啥我的下载速度这么慢？大家都限速了？？）&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBcPD4ZUuI/AAAAAAAAA6k/i49dFZhhRQ8/s1600-h/utorrent-2008-07-25.JPG&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://4.bp.blogspot.com/_UX_e8nZMpQ0/SKBcPD4ZUuI/AAAAAAAAA6k/jmV67I1iNZo/s320-R/utorrent-2008-07-25.JPG&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/teaoviq8kulgseq86q99q440is/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/teaoviq8kulgseq86q99q440is/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/RnDIg93X6Kc&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Mldonkey</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><category domain="http://www.blogger.com/atom/ns#">iptables</category><pubDate>Mon, 11 Aug 2008 23:43:31 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-7218954312184418422</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/iptables.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215522/4073886</fs:itemid></item><item><title>wine 1.0 正式版发布</title><link atom:title="wine 1.0 正式版发布" atom:type="text/html">http://shareitem.org/2008/08/wine-10.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-2832001978842614736</id><app:edited>2008-08-11T23:43:09.087+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">在经过长达 15 年发展后，wine 终于发布了 1.0 正式版，可喜可贺。以下是截取自维基百科中对 wine 的介绍。&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt; Wine计划是在1993年由Bob Amstadt及Eric Youngdale发起的，最初的目的是为了使16位元的视窗3.1的程式可以在Linux上执行，但现在已将目的变为使32位元的视窗程式在Linux上执行。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine不是模拟器，而是用兼容模式呼唤DLLs以运行视窗程式&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine虽然是为Linux而制，但亦能支持FreeBSD 与 Solaris-x86。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;因为视窗之DLLs是闭源的，所以程式设计师只能由最底层的设计开始，耗费大量的时间来编写和测试，最后达至兼容。但这个过程往往会有很多困难，而且亦可能会出现很多错误。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;当Corel参加这个计划后，Wine很快便能兼容WordPerfect Office，很可惜，Corel后来停止了支持这个计划。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine虽然可运行大部份视窗程式，但只能极有限度地运行以DirectX所编写的游戏，亦即是很多游戏不能在其运行。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine的延伸计划主要有两大产品，一个是CodeWeavers开发的CrossOver Office，另一个是TransGaming Technologies的Cedega，CrossOver Office以提供应用软件支援为主，Cedega则锁定在游戏娱乐方面。CodeWeavers和Wine计画一直保有密切的合作关系。 CodeWeavers亦僱用了Alexandre Juillard以将CrossOver Office的原始码回馈给Wine。在2005年6月22日，CodeWeavers 宣布支持基于英特尔处理器的苹果电脑。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Transgaming的Cedega则是商业软件，以Wine为基础，在Wine更换授权后停止使用Wine的原始码，虽然有Cedega提供原始码下载（经由CVS），但在不包含专利技术的情形下，功能与可用性都不高。&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;下载&lt;/strong&gt;&lt;br /&gt;Ubuntu 8.04 / Debian Etch (4.0)&lt;br /&gt;添加 gpg&lt;br /&gt;&lt;blockquote&gt;wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -&lt;/blockquote&gt;&lt;br /&gt;添加 Wine 的官方源&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;For Ubuntu Hardy (8.04)&lt;/strong&gt;&lt;br /&gt;sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;For Debian Etch (4.0)&lt;/strong&gt;&lt;br /&gt;sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;更新系统并安装 wine&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install wine&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Fedora / SUSE 等用户可以到&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=6241&quot;&gt;这个地址&lt;/a&gt;下载 rpm 包安装。&lt;br /&gt;&lt;br /&gt;Archlinux 用户直接用下列的命令安装&lt;br /&gt;&lt;blockquote&gt;# pacman -S wine&lt;/blockquote&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/3n71hoq6c4h1mvt3kmp4nhutlc/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/3n71hoq6c4h1mvt3kmp4nhutlc/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/4Y6HbOaeVVc&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>在经过长达 15 年发展后，wine 终于发布了 1.0 正式版，可喜可贺。以下是截取自维基百科中对 wine 的介绍。&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt; Wine计划是在1993年由Bob Amstadt及Eric Youngdale发起的，最初的目的是为了使16位元的视窗3.1的程式可以在Linux上执行，但现在已将目的变为使32位元的视窗程式在Linux上执行。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine不是模拟器，而是用兼容模式呼唤DLLs以运行视窗程式&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine虽然是为Linux而制，但亦能支持FreeBSD 与 Solaris-x86。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;因为视窗之DLLs是闭源的，所以程式设计师只能由最底层的设计开始，耗费大量的时间来编写和测试，最后达至兼容。但这个过程往往会有很多困难，而且亦可能会出现很多错误。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;当Corel参加这个计划后，Wine很快便能兼容WordPerfect Office，很可惜，Corel后来停止了支持这个计划。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine虽然可运行大部份视窗程式，但只能极有限度地运行以DirectX所编写的游戏，亦即是很多游戏不能在其运行。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Wine的延伸计划主要有两大产品，一个是CodeWeavers开发的CrossOver Office，另一个是TransGaming Technologies的Cedega，CrossOver Office以提供应用软件支援为主，Cedega则锁定在游戏娱乐方面。CodeWeavers和Wine计画一直保有密切的合作关系。 CodeWeavers亦僱用了Alexandre Juillard以将CrossOver Office的原始码回馈给Wine。在2005年6月22日，CodeWeavers 宣布支持基于英特尔处理器的苹果电脑。&lt;/li&gt;&lt;br /&gt; &lt;li&gt;Transgaming的Cedega则是商业软件，以Wine为基础，在Wine更换授权后停止使用Wine的原始码，虽然有Cedega提供原始码下载（经由CVS），但在不包含专利技术的情形下，功能与可用性都不高。&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;strong&gt;下载&lt;/strong&gt;&lt;br /&gt;Ubuntu 8.04 / Debian Etch (4.0)&lt;br /&gt;添加 gpg&lt;br /&gt;&lt;blockquote&gt;wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -&lt;/blockquote&gt;&lt;br /&gt;添加 Wine 的官方源&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;For Ubuntu Hardy (8.04)&lt;/strong&gt;&lt;br /&gt;sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;strong&gt;For Debian Etch (4.0)&lt;/strong&gt;&lt;br /&gt;sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;更新系统并安装 wine&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;$ sudo apt-get update&lt;br /&gt;$ sudo apt-get install wine&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Fedora / SUSE 等用户可以到&lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=6241&quot;&gt;这个地址&lt;/a&gt;下载 rpm 包安装。&lt;br /&gt;&lt;br /&gt;Archlinux 用户直接用下列的命令安装&lt;br /&gt;&lt;blockquote&gt;# pacman -S wine&lt;/blockquote&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/3n71hoq6c4h1mvt3kmp4nhutlc/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/3n71hoq6c4h1mvt3kmp4nhutlc/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/4Y6HbOaeVVc&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content:encoded><category domain="http://www.blogger.com/atom/ns#">Wine</category><category domain="http://www.blogger.com/atom/ns#">News</category><pubDate>Mon, 11 Aug 2008 23:43:09 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-5526282733525261308.post-2832001978842614736</guid><dc:creator>suzebi</dc:creator><fs:srclink>http://shareitem.org/2008/08/wine-10.html</fs:srclink><fs:srcfeed>http://feeds.shareitem.org/siog</fs:srcfeed><fs:itemid>feedsky/suxixb/~7146982/109215525/4073886</fs:itemid></item><item><title>解决 Mldonkey 中文文件变下划线问题</title><link atom:title="解决 Mldonkey 中文文件变下划线问题" atom:type="text/html">http://shareitem.org/2008/06/mldonkey.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-5526282733525261308.post-4199736922197356912</id><app:edited>2008-08-11T23:31:53.981+08:00</app:edited><content xmlns="http://www.w3.org/2005/Atom" type="html">用了 Mldonkey 一段时间了，对他的速度很满意，决定以后也将继续使用下去，但是对他的中文文件名变成下划线这个问题一直很苦恼。今天 Google 了一下，根据&lt;a href=&quot;http://www.google.com/url?sa=t&amp;amp;ct=clnk&amp;amp;cd=9&amp;amp;url=http%3A%2F%2F209.85.173.104%2Fsearch%3Fognize%3Dtrue%26q%3Dcache%3AFExcnjL3VywJ%3Awww.5dlinux.com%2Farticle%2F1%2F2008%2Flinux_12149.html%2Bmldonkey%2B%25E4%25B8%25AD%25E6%2596%2587%26hl%3Den%26ct%3Dclnk%26cd%3D9%26client%3Dfirefox-a&amp;amp;ei=2wcUSMG-DJ7SpgTItqWeAg&amp;amp;usg=AFQjCNEe4k_1VycOr91umFJtWTqK-HK_gA&amp;amp;sig2=Qt1K4dx8PJL9Eeoy5d3RMA&quot;&gt;这篇文章&lt;/a&gt;，找到了个比较满意的解决方法，这里记录下面。我使用的系统是 ArchLinux ，Mldonkey 版本是 2.9.5 。&lt;br /&gt;&lt;br /&gt;网上盛传的那个 Unicode 的补丁其实在 2.9 的版本上已经自带有了，不用打补丁编译的，但是即使用上现在最新的 2.9.5 版也一样会有下划线问题，真正解决问题的关键是设置运行 mlnet 的用户的 LANG 和 LC_ALL 环境变量为 zh_CN.UTF8。&lt;br /&gt;&lt;br /&gt;首先新建 /usr/bin/mlnet.sh 文件，写入以下内容&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;export LANG=zh_CN.UTF8&lt;br /&gt;export LC_ALL=zh_CN.UTF8&lt;br /&gt;/usr/bin/mlnet &amp;amp; &amp;gt; /tmp/mldonkey.log &amp;amp;&lt;/blockquote&gt;&lt;br /&gt;然后编辑 /etc/rc.d/mldonkey 文件，查找到下面的内容&lt;br /&gt;&lt;blockquote&gt;su $MLDUSER -c &quot;/usr/bin/mlnet &amp;amp;&amp;gt; /tmp/mldonkey.log &amp;amp;&quot;&lt;/blockquote&gt;&lt;br /&gt;更改为以下内容&lt;br /&gt;&lt;blockquote&gt;su $MLDUSER -c &quot;/usr/bin/mlnet.sh &amp;amp;&quot;&lt;/blockquote&gt;&lt;br /&gt;保存，现在重启 mldonkey&lt;br /&gt;sudo /etc/rc.d/mldonkey restart&lt;br /&gt;&lt;br /&gt;过段时间查看那些下载完成的文件，你会发现文件名不会再有下划线了，问题解决。&lt;br /&gt;&lt;br /&gt;（6月20日补充）&lt;br /&gt;这个是经过一个晚上下载后的截图，图中的第一部分是应用该方法前下载到的文件，中文部分都变成了下划线，而第二部分是昨天晚上下载的，已经解决了中文文件名的问题。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBaUz50OsI/AAAAAAAAA6c/2TsoFI7ex5o/s1600-h/mldonkey-chinese-problem-2008-06-20.JPG&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBaUz50OsI/AAAAAAAAA6c/SsxB_MQQbiQ/s320-R/mldonkey-chinese-problem-2008-06-20.JPG&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/f4hkhtagmudikfk62otfk3iqjs/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/f4hkhtagmudikfk62otfk3iqjs/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src=&quot;http://feedproxy.google.com/~r/siog/~4/FH5vyNPh07w&quot; height=&quot;1&quot; width=&quot;1&quot;/&gt;</content><author xmlns="http://www.w3.org/2005/Atom"><name>suzebi</name><uri>http://www.blogger.com/profile/11041871757749869840</uri><email>noreply@blogger.com</email></author><content:encoded>用了 Mldonkey 一段时间了，对他的速度很满意，决定以后也将继续使用下去，但是对他的中文文件名变成下划线这个问题一直很苦恼。今天 Google 了一下，根据&lt;a href=&quot;http://www.google.com/url?sa=t&amp;amp;ct=clnk&amp;amp;cd=9&amp;amp;url=http%3A%2F%2F209.85.173.104%2Fsearch%3Fognize%3Dtrue%26q%3Dcache%3AFExcnjL3VywJ%3Awww.5dlinux.com%2Farticle%2F1%2F2008%2Flinux_12149.html%2Bmldonkey%2B%25E4%25B8%25AD%25E6%2596%2587%26hl%3Den%26ct%3Dclnk%26cd%3D9%26client%3Dfirefox-a&amp;amp;ei=2wcUSMG-DJ7SpgTItqWeAg&amp;amp;usg=AFQjCNEe4k_1VycOr91umFJtWTqK-HK_gA&amp;amp;sig2=Qt1K4dx8PJL9Eeoy5d3RMA&quot;&gt;这篇文章&lt;/a&gt;，找到了个比较满意的解决方法，这里记录下面。我使用的系统是 ArchLinux ，Mldonkey 版本是 2.9.5 。&lt;br /&gt;&lt;br /&gt;网上盛传的那个 Unicode 的补丁其实在 2.9 的版本上已经自带有了，不用打补丁编译的，但是即使用上现在最新的 2.9.5 版也一样会有下划线问题，真正解决问题的关键是设置运行 mlnet 的用户的 LANG 和 LC_ALL 环境变量为 zh_CN.UTF8。&lt;br /&gt;&lt;br /&gt;首先新建 /usr/bin/mlnet.sh 文件，写入以下内容&lt;br /&gt;&lt;blockquote&gt;#!/bin/bash&lt;br /&gt;export LANG=zh_CN.UTF8&lt;br /&gt;export LC_ALL=zh_CN.UTF8&lt;br /&gt;/usr/bin/mlnet &amp;amp; &amp;gt; /tmp/mldonkey.log &amp;amp;&lt;/blockquote&gt;&lt;br /&gt;然后编辑 /etc/rc.d/mldonkey 文件，查找到下面的内容&lt;br /&gt;&lt;blockquote&gt;su $MLDUSER -c &quot;/usr/bin/mlnet &amp;amp;&amp;gt; /tmp/mldonkey.log &amp;amp;&quot;&lt;/blockquote&gt;&lt;br /&gt;更改为以下内容&lt;br /&gt;&lt;blockquote&gt;su $MLDUSER -c &quot;/usr/bin/mlnet.sh &amp;amp;&quot;&lt;/blockquote&gt;&lt;br /&gt;保存，现在重启 mldonkey&lt;br /&gt;sudo /etc/rc.d/mldonkey restart&lt;br /&gt;&lt;br /&gt;过段时间查看那些下载完成的文件，你会发现文件名不会再有下划线了，问题解决。&lt;br /&gt;&lt;br /&gt;（6月20日补充）&lt;br /&gt;这个是经过一个晚上下载后的截图，图中的第一部分是应用该方法前下载到的文件，中文部分都变成了下划线，而第二部分是昨天晚上下载的，已经解决了中文文件名的问题。&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBaUz50OsI/AAAAAAAAA6c/2TsoFI7ex5o/s1600-h/mldonkey-chinese-problem-2008-06-20.JPG&quot; imageanchor=&quot;1&quot; style=&quot;border: 0pt none ; background-color: transparent; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img src=&quot;http://2.bp.blogspot.com/_UX_e8nZMpQ0/SKBaUz50OsI/AAAAAAAAA6c/SsxB_MQQbiQ/s320-R/mldonkey-chinese-problem-2008-06-20.JPG&quot; style=&quot;border: 0pt none ;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;hr /&gt;
此 Feed 内容属于&lt;a href='http://shareitem.org/'&gt;ShareItem.org&lt;/a&gt;,遵循&lt;a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'&gt;(CC)&lt;/a&gt;协议 | 7e6874b3209cf4276e96802080b61256&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;http://feedads.googleadservices.com/~a/f4hkhtagmudikfk62otfk3iqjs/a&quot;&gt;&lt;img src=&quot;http://feedads.googleadservices.com/~a/f4hkhtagmudikfk62otfk3iqjs/i&quot; border=&quot;0&quot; ismap=&quot;true&quot;&gt;&lt;/img&gt;&