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

<channel>
	<title>ubuntulife of guoshuang &#187; blog</title>
	<atom:link href="http://ubuntu.guoshuang.com/tag/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu.guoshuang.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 07 Jan 2010 13:26:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>很久没有写ubuntu的日志了</title>
		<link>http://ubuntu.guoshuang.com/2009/03/02/%e5%be%88%e4%b9%85%e6%b2%a1%e6%9c%89%e5%86%99ubuntu%e7%9a%84%e6%97%a5%e5%bf%97%e4%ba%86/</link>
		<comments>http://ubuntu.guoshuang.com/2009/03/02/%e5%be%88%e4%b9%85%e6%b2%a1%e6%9c%89%e5%86%99ubuntu%e7%9a%84%e6%97%a5%e5%bf%97%e4%ba%86/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 08:36:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/?p=654</guid>
		<description><![CDATA[其实是一年整了，自从blog搬家从 asp 转 php，换服务器，分站点之后，一直都没在这里写东西。其实在
http://wiki.guoshuang.com/Special:Search/Ubuntu
有一些。半瓶子总是逛荡&#8230;少写一点，可以多看一些，：）
一直用 mintlinux 多一些，刚开始是为了好看，受限制驱动默认就有等缘故。一旦牵扯到 www 开发还是 linux 方便本地测试。做图和打游戏、看带字幕的电影则常常回到 win，毕竟 wine+opengl 图显示老是怪怪的。
BTW：firebug 确实不错，刚才调整这里的 css，要不是firebug，很难找到少了一个 &#60;/div&#62;，：）
]]></description>
			<content:encoded><![CDATA[<p>其实是一年整了，自从blog搬家从 asp 转 php，换服务器，分站点之后，一直都没在这里写东西。其实在</p>
<p>http://wiki.guoshuang.com/Special:Search/Ubuntu</p>
<p>有一些。半瓶子总是逛荡&#8230;少写一点，可以多看一些，：）</p>
<p>一直用 mintlinux 多一些，刚开始是为了好看，受限制驱动默认就有等缘故。一旦牵扯到 www 开发还是 linux 方便本地测试。做图和打游戏、看带字幕的电影则常常回到 win，毕竟 wine+opengl 图显示老是怪怪的。</p>
<p>BTW：firebug 确实不错，刚才调整这里的 css，要不是firebug，很难找到少了一个 &lt;/div&gt;，：）</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2009/03/02/%e5%be%88%e4%b9%85%e6%b2%a1%e6%9c%89%e5%86%99ubuntu%e7%9a%84%e6%97%a5%e5%bf%97%e4%ba%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>把 ubuntu 相关的东西转到这里</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/%e6%8a%8a-ubuntu-%e7%9b%b8%e5%85%b3%e7%9a%84%e4%b8%9c%e8%a5%bf%e8%bd%ac%e5%88%b0%e8%bf%99%e9%87%8c/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/%e6%8a%8a-ubuntu-%e7%9b%b8%e5%85%b3%e7%9a%84%e4%b8%9c%e8%a5%bf%e8%bd%ac%e5%88%b0%e8%bf%99%e9%87%8c/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 09:26:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/%e6%8a%8a-ubuntu-%e7%9b%b8%e5%85%b3%e7%9a%84%e4%b8%9c%e8%a5%bf%e8%bd%ac%e5%88%b0%e8%bf%99%e9%87%8c</guid>
		<description><![CDATA[从 blog.guoshuang.com   正式剥离，截至今天的日志为止，日期都是同一天，前后顺序也不对。请自行站内搜索。
需要解决的bug如下：

运行和查看代码的按钮有问题，要么库里换掉 img 要么 jquery;wordpress 的编辑也不支持 textarea；
&#8230;
&#8230;


more
]]></description>
			<content:encoded><![CDATA[<p>从 <a href="http://blog.guoshuang.com" title="guoshuang blog">blog.guoshuang.com </a>  正式剥离，截至今天的日志为止，日期都是同一天，前后顺序也不对。请自行站内搜索。</p>
<p>需要解决的bug如下：</p>
<ol>
<li>运行和查看代码的按钮有问题，要么库里换掉 img 要么 jquery;wordpress 的编辑也不支持 textarea；</li>
<li>&#8230;</li>
<li>&#8230;</li>
<li></li>
</ol>
<p>more</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/%e6%8a%8a-ubuntu-%e7%9b%b8%e5%85%b3%e7%9a%84%e4%b8%9c%e8%a5%bf%e8%bd%ac%e5%88%b0%e8%bf%99%e9%87%8c/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ssh,vnc 反向连接</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/sshvnc-%e5%8f%8d%e5%90%91%e8%bf%9e%e6%8e%a5/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/sshvnc-%e5%8f%8d%e5%90%91%e8%bf%9e%e6%8e%a5/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/sshvnc-%e5%8f%8d%e5%90%91%e8%bf%9e%e6%8e%a5</guid>
		<description><![CDATA[反向连接不需要网关映射，因此不需要惊动网管大人，这样我就可以从家里（ADSL）连接控制单位局域网中的我的机器&#8230;
嘿嘿&#8230;坏处就是，两头都要有人&#8230;
感谢 pal（小时）蹲在我家里帮忙测试。
ssh 反向连接
如果没有安装 ssh的话，安装之
sudo apt-get install ssh
被控端，执行
ssh -f -N -R 10000:localhost:22 guoshuang@xxx.xxx.xxx.xxx
控制端执行
ssh guoshuang@localhost -p 10000
参考此文
vnc 反向连接
其实只要网关（防火墙）没有关掉 5500 就可以。注意：是5500能出去即可，不是进来，所以一般都是开放的。
sudo apt-get install x11vnc
控制端执行下面命令，等待邀请
vncviewer -listen
被控端，主动发起邀请
x11vnc -connect xxx.xxx.xxx.xxx:5500
参考此文
windows 和 mac 下的软件可参考下文
Free and easy remote access (through firewalls and NAT routers) with VNC reverse connections
内网远程控制全攻略
注意：vncviewer -fullscreen 模式全屏连接 vnc，用 f8 或者 ctrl+esc  esc 退出。即便如此，也会经常出现不能退出或者控制失灵的情况，这篇 patch: fix WM bindings for vncviewer [...]]]></description>
			<content:encoded><![CDATA[<p>反向连接不需要网关映射，因此不需要惊动网管大人，这样我就可以从家里（ADSL）连接控制单位局域网中的我的机器&#8230;<br />
嘿嘿&#8230;坏处就是，两头都要有人&#8230;<br />
感谢 pal（小时）蹲在我家里帮忙测试。</p>
<p><b>ssh 反向连接</b></p>
<p>如果没有安装 ssh的话，安装之</p>
<p>sudo apt-get install ssh</p>
<p>被控端，执行</p>
<p>ssh -f -N -R 10000:localhost:22 guoshuang@xxx.xxx.xxx.xxx</p>
<p>控制端执行<br />
ssh guoshuang@localhost -p 10000</p>
<p>参考<a href='http://www.duggmirror.com/linux_unix/Reverse_an_SSH_Connection/' rel='external' class='ubblink'>此文</a></p>
<p><b>vnc 反向连接</b></p>
<p>其实只要网关（防火墙）没有关掉 5500 就可以。注意：是5500能出去即可，不是进来，所以一般都是开放的。</p>
<p>sudo apt-get install x11vnc</p>
<p>控制端执行下面命令，等待邀请</p>
<p>vncviewer -listen</p>
<p>被控端，主动发起邀请</p>
<p>x11vnc -connect xxx.xxx.xxx.xxx:5500</p>
<p>参考<a href='http://www.ubuntuforums.org/showthread.php?t=299489' rel='external' class='ubblink'>此文</a></p>
<p>windows 和 mac 下的软件可参考下文</p>
<p><a href='http://www.tinyapps.org/docs/vnc/' rel='external' class='ubblink'>Free and easy remote access (through firewalls and NAT routers) with VNC reverse connections</a><br />
<a href='http://hi.baidu.com/%B5%B1%CF%E3%D1%CC%D3%F6%B5%BD%BB%F0%B2%C4/blog/item/2cb8baee292dc2292cf53444.html' rel='external' class='ubblink'>内网远程控制全攻略</a></p>
<p><span style='color:#c00'>注意：</span>vncviewer -fullscreen 模式全屏连接 vnc，用 f8 或者 ctrl+esc  esc 退出。即便如此，也会经常出现不能退出或者控制失灵的情况，这篇 <a href='http://www.realvnc.com/pipermail/vnc-list/2004-January/043021.html' rel='external' class='ubblink'>patch: fix WM bindings for vncviewer -fullscreen</a> 应该有些帮助</p>
<p>或者使用  xvnc4viewer（sudo apt-get install xvnc4viewer）而不是tightvnc viewer。</p>
<p>f8 和窗口控制都没问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/sshvnc-%e5%8f%8d%e5%90%91%e8%bf%9e%e6%8e%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux shell 快捷方式</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/linux-shell-%e5%bf%ab%e6%8d%b7%e6%96%b9%e5%bc%8f/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/linux-shell-%e5%bf%ab%e6%8d%b7%e6%96%b9%e5%bc%8f/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tty]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/linux-shell-%e5%bf%ab%e6%8d%b7%e6%96%b9%e5%bc%8f</guid>
		<description><![CDATA[原文来自 Bash Shell Keyboard Shortcuts For Linux Users，大部分快捷方式我以前一无所知&#8230;
# Ctrl + A &#8211; Go to the beginning of the line you are currently typing on
# Ctrl + E &#8211; Go to the end of the line you are currently typing on
切到命令行开始｜结尾
# Ctrl + L &#8211; Clears the Screen, similar to the clear command
清屏，类似于 clear 命令
# Ctrl [...]]]></description>
			<content:encoded><![CDATA[<p>原文来自 <a href='http://onlyubuntu.blogspot.com/2007/03/bash-shell-keyboard-shortcuts-for-linux.html' rel='external' class='ubblink'>Bash Shell Keyboard Shortcuts For Linux Users</a>，大部分快捷方式我以前一无所知&#8230;</p>
<p># Ctrl + A &#8211; Go to the beginning of the line you are currently typing on<br />
# Ctrl + E &#8211; Go to the end of the line you are currently typing on<br />
切到命令行开始｜结尾</p>
<p># Ctrl + L &#8211; Clears the Screen, similar to the clear command<br />
清屏，类似于 clear 命令</p>
<p># Ctrl + U &#8211; Clears the line before the cursor position. If you are at the end of the line, clears the entire line.<br />
清除光标以前</p>
<p># Ctrl + H &#8211; Same as backspace<br />
退格键 backspace</p>
<p># Ctrl + R &#8211; Let’s you search through previously used commands<br />
从命令历史中找</p>
<p># Ctrl + C &#8211; Kill whatever you are running<br />
终止命令</p>
<p># Ctrl + D &#8211; Exit the current shell<br />
退出 shell</p>
<p># Ctrl + Z &#8211; Puts whatever you are running into a suspended background process. fg restores it.<br />
??</p>
<p># Ctrl + W &#8211; Delete the word before the cursor<br />
清除光标之前</p>
<p># Ctrl + K &#8211; Clear the line after the cursor<br />
清除光标之后</p>
<p># Ctrl + T &#8211; Swap the last two characters before the cursor<br />
# Esc + T &#8211; Swap the last two words before the cursor<br />
切换光标前最后两个字母（单词）</p>
<p># Alt + F &#8211; Move cursor forward one word on the current line<br />
# Alt + B &#8211; Move cursor backward one word on the current line<br />
??在 ubuntu x windows终端中会切换到菜单！tty 可能可以</p>
<p># Tab &#8211; Auto-complete files and folder names<br />
自动补全</p>
<p># Ctrl + Y &#8211; to paste it (as in delete and copy) all text in front of the cursor<br />
粘贴（刚才 ctrl+w 或者  ctrl+k 的内容）</p>
<p># Esc + . (or Esc + Underscore) &#8211; Insert Last Argument<br />
??</p>
<p># Ctrl + b &#8211; Move back a character<br />
# Ctrl + f &#8211; Move forward a character<br />
向前｜后移动一个字母</p>
<p># Ctrl + r &#8211; Search the history backwards<br />
??<br />
# Ctrl + xx &#8211; Move between EOL and current cursor position<br />
光标在当前位置和 EOL 之间切换（EOL end of line?但我实验，是在开头和当前位置之间切换，怎么理解？谁知道？）</p>
<p># Ctrl + x @ &#8211; Show possible hostname completions</p>
<p># Alt +<br />
# Alt + > &#8211; Move to the last line in the history</p>
<p># Alt + ? &#8211; Show current completion list</p>
<p># Alt + * &#8211; Insert all possible completions</p>
<p># Alt + / &#8211; Attempt to complete filename</p>
<p># Alt + . &#8211; Yank last argument to previous command</p>
<p># Alt + c &#8211; Capitalize the word</p>
<p># Alt + d &#8211; Delete word</p>
<p># Alt + l &#8211; Make word lowercase</p>
<p># Alt + n &#8211; Search the history forwards non-incremental</p>
<p># Alt + p &#8211; Search the history backwards non-incremental</p>
<p># Alt + r &#8211; Recall command</p>
<p># Alt + t &#8211; Move words around</p>
<p># Alt + u &#8211; Make word uppercase</p>
<p># Alt + back-space &#8211; Delete backward from cursor</p>
<p># Here &#8220;2T&#8221; means Press TAB twice</p>
<p># $ 2T &#8211; All available commands(common)</p>
<p># $ (string) 2T &#8211; All available commands starting with (string)</p>
<p># $ /2T &#8211; Entire directory structure including Hidden one</p>
<p># $ 2T &#8211; Only Sub Dirs inside including Hidden one</p>
<p># $ *2T &#8211; Only Sub Dirs inside without Hidden one</p>
<p># $ ~2T &#8211; All Present Users on system from &#8220;/etc/passwd&#8221;</p>
<p># $ $2T &#8211; All Sys variables</p>
<p># $ @2T &#8211; Entries from &#8220;/etc/hosts&#8221;</p>
<p># $ =2T &#8211; Output like ls or dir</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/linux-shell-%e5%bf%ab%e6%8d%b7%e6%96%b9%e5%bc%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>提高 feisty 性能</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/%e6%8f%90%e9%ab%98-feisty-%e6%80%a7%e8%83%bd/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/%e6%8f%90%e9%ab%98-feisty-%e6%80%a7%e8%83%bd/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[feisty]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tty]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/%e6%8f%90%e9%ab%98-feisty-%e6%80%a7%e8%83%bd</guid>
		<description><![CDATA[原文来自 http://xlntsolution.blogspot.com/2007/03/feisty-performance-fly-like-butterfly.html
blogspt 似乎再次封掉了，：（ 我是通过这个代理看到的
部分内容如下：
sudo gedit /etc/hosts
你会看到类似
127.0.0.1 localhost
127.0.1.1 guoshuang-laptop
这样的内容，在 localost 后面加上你的主机名，如guoshuang-laptop
127.0.0.1 localhost guoshuang-laptop
127.0.1.1 guoshuang-laptop

1. Disable IPv6
At least I dont need IPv6 yet so this is what I do to disable it.
sudo kate /etc/modprobe.d/aliases
And change the line:
alias net-pf-10 ipv6
to:
alias net-pf-10 off #ipv6
This will disable IPv6 on all network interfaces. You need to reboot.
2. Run boot processes in [...]]]></description>
			<content:encoded><![CDATA[<p>原文来自 <a href='http://xlntsolution.blogspot.com/2007/03/feisty-performance-fly-like-butterfly.html' rel='external' class='ubblink'>http://xlntsolution.blogspot.com/2007/03/feisty-performance-fly-like-butterfly.html</a></p>
<p>blogspt 似乎再次封掉了，：（ 我是通过这个<a href='http://browseatwork.com/nph-proxy.cgi/000000A/http/xlntsolution.blogspot.com/2007/03/feisty-performance-fly-like-butterfly.html' rel='external' class='ubblink'>代理</a>看到的</p>
<p>部分内容如下：</p>
<p>sudo gedit /etc/hosts</p>
<p>你会看到类似</p>
<p>127.0.0.1 localhost<br />
127.0.1.1 guoshuang-laptop</p>
<p>这样的内容，在 localost 后面加上你的主机名，如<span style='color:#c00'>guoshuang-laptop</span></p>
<p>127.0.0.1 localhost <span style='color:#c00'>guoshuang-laptop</span><br />
127.0.1.1 guoshuang-laptop</p>
<div class='dottedHr'></div>
<p>1. Disable IPv6<br />
At least I dont need IPv6 yet so this is what I do to disable it.<br />
sudo kate /etc/modprobe.d/aliases<br />
And change the line:<br />
alias net-pf-10 ipv6<br />
to:<br />
alias net-pf-10 off #ipv6<br />
This will disable IPv6 on all network interfaces. You need to reboot.</p>
<p>2. Run boot processes in parallel<br />
This will make upstart to run the boot processes in parallel and speed up the boot process.<br />
sudo kate /etc/init.d/rc<br />
Find and change the line:<br />
CONCURRENCY=none<br />
to:<br />
CONCURRENCY=shell</p>
<p>3. Aliasing hostname to localhost<br />
Right or wrong, you decide. But I picked this up in the Ubuntu forums the other day and it does improve the startup of some apps.<br />
sudo kate /etc/hosts<br />
and add you hostname to the first line after localhost like this:<br />
127.0.0.1 localhost yourhost<br />
127.0.1.1 yourhost</p>
<p>4. Disable pango<br />
I know that this is already taken care of in firefox but it still makes a good performance boost to thunderbird and some other apps.<br />
sudo kate /etc/environment<br />
and add:<br />
MOZ_DISABLE_PANGO=&#8221;1&#8243;</p>
<p>5. Preload<br />
It does what you think. It preloads most common used libs and files = faster startup times on your applications.<br />
sudo apt-get install preload</p>
<p>What about prelink?<br />
Prelink is no longer necessary in feisty. Feisty uses a new linking mechanism called DT_GNU_HASH which speeds up the linking process without the need for continuously running prelink.</p>
<p>6. Swappiness<br />
The default value for vm.swappiness is 60 in Ubuntu Feisty whic is a good default value but if you want to tweak the performance a little bit more you can change this value to a lower value to reduce the load of the swap. If you run the follwing command:<br />
sysctl -q vm.swappiness<br />
You will se that the value is set to 60. And by running:<br />
sudo sysctl vm.swappiness=10<br />
You will change the value from 60 to 10 which will make your system write to swap a lot less and I would recommend this to everyone that has 512 mb of memory or more. If you find that you have very little use of swap set the value to 0. This will not disable the swap but it will make your system write to the swap as little as possible and keep as much as possible in memory. This makes a huge improvment when switching between applications since they are now likley to be in physical ram instead of on the swap partition.</p>
<p>To set your value permanent you need to change the sysctl.conf file:<br />
sudo kate /etc/sysctl.conf<br />
Add the line<br />
vm.swappiness=10<br />
To the end of the file. This way it will be set upon boot.</p>
<p>I&#8217;ve found that the value of 5 works very good for my use and I have 1 GB of memory.</p>
<p>7. Profile grub<br />
There is a option to grub called profile which will profile your startup. What it does is that it kind of indexing all the files read during boot/startup and later on it will find and read those files quicker.</p>
<p>Hit the escape button when booting to get to the grub menu.<br />
Select your default boot kernel and hit the e button.<br />
Go down to the second line and hit the e button again.<br />
Add profile to the end of the line and press enter.<br />
Hit the b button to boot with your new option.</p>
<p>The first time it will take a little bit longer to boot because it has to build the index (or whatever they want to call it) but every boot after this will be a lot smoother.<br />
You need to do this every time you update your kernel or have made other huge changes to your system that might affect the files needed during boot.</p>
<p>The following could cause your system to be unstable or even unable to boot so please use them care&#8230;</p>
<p>8. sysv-rc-conf<br />
Install sysv-rc-conf and disable the services you don&#8217;t need at startup.<br />
As an example. On my computer I don&#8217;t have bluetooth so I don&#8217;t need to start it at boot time.<br />
So simply disable what ever you don&#8217;t have or use.</p>
<p>sudo apt-get install sysv-rc-conf<br />
and then run:<br />
sudo sysv-rc-conf</p>
<p>9. Kernel hacking<br />
Even thought the new kernel in feisty is very good and already tuned a bit there still are some things you can do to the kernel the will make your system snappier and boot up even faster.</p>
<p>Use this thread from the ubuntu forums as a guide on how to compile your own kernel.<br />
master kernel thread</p>
<p>What I do is that I make sure to add my file systems I use to the kernel instead of loading them as modules. Take out whatever I don&#8217;t have or use and then compile my new and hopefully improved kernel <img src='http://ubuntu.guoshuang.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>10. Filesystem setup<br />
The choice and use of the file system is a big issue when dealing with performance. Depending on your usage of your system you might need to configure your filesystem different.</p>
<p>For my usage I like to use the following setup (which I think is a good desktop setup)</p>
<p>Mountpoint</p>
<p>filesystem</p>
<p>Size</p>
<p>/boot</p>
<p>ext2</p>
<p>100 MB</p>
<p>/root</p>
<p>LVM, VG=system, xfs</p>
<p>6 GB</p>
<p>/swap</p>
<p>LVM, VG=system, swap</p>
<p>The size of RAM in your computer. Making it smaller and you will not be able to hibernate.</p>
<p>/home</p>
<p>LVM, VG=system, xfs</p>
<p>1 GB, or the rest of the space in that VG</p>
<p>/data</p>
<p>LVM, VG=data, xfs</p>
<p>The rest of the free space</p>
<p>Using the following options in fstab for all my xfs partitions:<br />
noatime,nodiratime,logbufs=8</p>
<p>Using LVM can really speed up the disk performance. And you get a lot of other good stuff with it as well. Read more about LVM here.<br />
I choose to have /root and /home on one VolumeGroup and /data on another simply because I can then split them up on diffrent physical disks and have them spanning over multiple physical disks witch really speeds up the reads and writes.</p>
<p>At the moment this is pretty much it but I will update this as soon as I discover more performance tunings&#8230;</p>
<p>Tuning applications</p>
<p>Not so much to add here but this what I like to do.</p>
<p>1. Firefox<br />
Use swiftfox instead. It&#8217;s optimized for your CPU.<br />
Install the fasterfox add-on<br />
If it&#8217;s not already set, disable IPv6. In the url enter about:config and find the ipv6 entry and disable it.<br />
Install adblock plus add-on<br />
to disable ad&#8217;s it helps a lot <img src='http://ubuntu.guoshuang.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>2. openoffice<br />
If you don&#8217;t need that extras that java JRE provides then simply disable it openoffice. That&#8217;s what I do.</p>
<p>Once Feisty is released I will have a script done that all you brave people can run that will do most of this in one go <img src='http://ubuntu.guoshuang.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I will also write down the kernel options that I use to compile my kernel for those who are interested.</p>
<p>But until then, use this and enjoy a much faster and smoother running Feisty.</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/%e6%8f%90%e9%ab%98-feisty-%e6%80%a7%e8%83%bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bloglines notifier for gnome</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/bloglines-notifier-for-gnome/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/bloglines-notifier-for-gnome/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/bloglines-notifier-for-gnome</guid>
		<description><![CDATA[
新立得搜索并安装 libgtk2-gladexml-perl 和 libgladexml-perl。直接运行解压包里的 bloglines-notifier 即可。

http://jodrell.net/projects/bloglines-notifier
Installation is very simple &#8211; just make the bloglines-notifier script executable and put it somewhere in your $PATH.
All the other files are for development use &#8211; they are included inline in the program and do not need to be installed.
You will need the following Perl scripts to use this program:
	Gtk2 [...]]]></description>
			<content:encoded><![CDATA[<p><img class='croped' src='http://jodrell.net/files/journal/bloglines-notifier.png' onclick="if(this.width>=514){window.open(this.src)}&#8221; alt=&#8221;" /></p>
<p>新立得搜索并安装 libgtk2-gladexml-perl 和 libgladexml-perl。直接运行解压包里的 bloglines-notifier 即可。</p>
<div class='dottedHr'></div>
<p>http://jodrell.net/projects/bloglines-notifier</p>
<p>Installation is very simple &#8211; just make the bloglines-notifier script executable and put it somewhere in your $PATH.</p>
<p>All the other files are for development use &#8211; they are included inline in the program and do not need to be installed.</p>
<p>You will need the following Perl scripts to use this program:</p>
<p>	Gtk2 (compiled with support for GTK+ >+ 2.10)<br />
	Gtk2::GladeXML<br />
	LWP</p>
<div class='dottedHr'></div>
<p>all  platform notifiers</p>
<p>http://www.bloglines.com/about/notifie</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/bloglines-notifier-for-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 下的 gmail notifier</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e4%b8%8b%e7%9a%84-gmail-notifier/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e4%b8%8b%e7%9a%84-gmail-notifier/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[ebook]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e4%b8%8b%e7%9a%84-gmail-notifier</guid>
		<description><![CDATA[=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; />
https://mail.google.com/mail/feed/atom
BTW:建立 checkmail 菜单操作如下
sudo gedit /usr/share/applications/checkgmail.desktop
内容如下：
[Desktop Entry]
Encoding=UTF-8
Name=CheckGmail
Exec=checkgmail
Terminal=false
Type=Application
StartupNotify=true
Icon=
Categories=Application;Network;
然后刷新 gnome 菜单
sudo killall gnome-panel
checkgmail 的图标图片在 gmail 图标 可以找到。
相关日志：
gmail IMAP 协议设置
checkgmail 资料
How do I play a sound when new mail arrives?
Enter a command in the &#8220;Command to execute on new mail&#8221; section in the preferences. For example, to play a WAV sound, you could use
aplay /path/to/mysound.wav
What else can [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://ubuntu.guoshuang.com/wp-admin/guoshuangweb/app-screenshots/ubuntu_gmail_notifier01.png" onclick="if(this.width>=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; /><br />
在 ubuntu 下，其实有三种办法可以实时跟踪你的 gmail 邮箱。</p>
<p>一、checkgmail</p>
<p><span style="padding: 0pt 2px; background-color: #99cc00">sudo apt-get install checkgmail</span></p>
<p>即可。这个比下面的 gmail-notify 功能更多一些，可以直接查看最近的一些邮件，发信等等。</p>
<p>二、gmail-notify</p>
<p><span style="padding: 0pt 2px; background-color: #99cc00">sudo apt-get install gmail-notify</span></p>
<p>更适合等信。</p>
<p>三、直接用 livebookmark 订阅自己的邮箱，只要有firefox就可以了，win 下也可如此。我以前主要用这种方式。</p>
<p><img src="http://ubuntu.guoshuang.com/wp-admin/guoshuangweb/app-screenshots/ubuntu_gmail_notifier02.png" onclick="if(this.width>=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; /></p>
<p><a href="https://mail.google.com/mail/feed/atom" rel="external" class="ubblink">https://mail.google.com/mail/feed/atom</a></p>
<p>BTW:建立 checkmail 菜单操作如下</p>
<p><span style="padding: 0pt 2px; background-color: #99cc00">sudo gedit /usr/share/applications/checkgmail.desktop</span></p>
<p>内容如下：</p>
<p>[Desktop Entry]<br />
Encoding=UTF-8<br />
Name=CheckGmail<br />
Exec=checkgmail<br />
Terminal=false<br />
Type=Application<br />
StartupNotify=true<br />
Icon=<br />
Categories=Application;Network;</p>
<p>然后刷新 gnome 菜单</p>
<p><span style="padding: 0pt 2px; background-color: #99cc00">sudo killall gnome-panel</span></p>
<p>checkgmail 的图标图片在 <a href="http://blog.guoshuang.com/showlog.asp?cat_id=32&amp;log_id=5881" rel="external" class="ubblink">gmail 图标</a> 可以找到。</p>
<p>相关日志：</p>
<p><a href="http://blog.guoshuang.com/showlog.asp?cat_id=33&amp;log_id=5812" rel="external" class="ubblink">gmail IMAP 协议设置</a></p>
<p>checkgmail 资料</p>
<p>How do I play a sound when new mail arrives?</p>
<p>Enter a command in the &#8220;Command to execute on new mail&#8221; section in the preferences. For example, to play a WAV sound, you could use</p>
<p>aplay /path/to/mysound.wav<br />
What else can the &#8220;Command to execute on new mail&#8221; do?</p>
<p>Well, it can do whatever you want. I use it to turn on my laptop&#8217;s dedicated mail LED light:</p>
<p>echo 1 &gt; /proc/acpi/asus/mled</p>
<p>but anyone with the Blinkd software package installed could get their numlock or scroll-lock lights to blink with</p>
<p>blink &#8211;numlock &#8211;rate %m</p>
<p>What&#8217;s that &#8216;%m&#8217; thing doing there? Well, that&#8217;s a new feature of version 1.10.1, and represents the number of new messages. Which means that in the example above your numlock LED will blink with the number of new messages. It&#8217;s gimmicky, I know (and there&#8217;s no way I could live with it personally) &#8230; but you&#8217;ve gotta admit, it&#8217;s kinda cool! <img src='http://ubuntu.guoshuang.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you&#8217;re going to turn an LED on, though, you&#8217;ll also want to turn it off &#8211; and that&#8217;s why there&#8217;s also a &#8220;Command to execute for no mail&#8221; option. In the example above, you&#8217;ll want something like</p>
<p>blink &#8211;numlock &#8211;rate 0</p>
<p>And of course, you can combine options together by using semicolons, for example:</p>
<p>aplay /path/to/mysound.wav; blink &#8211;numlock &#8211;rate %m</p>
<p>The whole idea is to be as extensible here as possible, and recognise that not everyone wants a sound to play when new mail arrives, but they might want something else to happen instead &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e4%b8%8b%e7%9a%84-gmail-notifier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu 直接用 nautilus 做ftp工具</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e7%9b%b4%e6%8e%a5%e7%94%a8-nautilus-%e5%81%9aftp%e5%b7%a5%e5%85%b7/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e7%9b%b4%e6%8e%a5%e7%94%a8-nautilus-%e5%81%9aftp%e5%b7%a5%e5%85%b7/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e7%9b%b4%e6%8e%a5%e7%94%a8-nautilus-%e5%81%9aftp%e5%b7%a5%e5%85%b7</guid>
		<description><![CDATA[filezilla linux 版本总是有这样那样的问题，所以以前总是用 ftp 命令行，但那样慢啊。今天想当然地在 nautilus 中直接 ftp://blog.guoshuang.com，原来 nautilus 就可以ftp。只是修改后只能另存，然后再拖回去覆盖原文件。


]]></description>
			<content:encoded><![CDATA[<p>filezilla linux 版本总是有这样那样的问题，所以以前总是用 ftp 命令行，但那样慢啊。今天想当然地在 nautilus 中直接 ftp://blog.guoshuang.com，原来 nautilus 就可以ftp。只是修改后只能另存，然后再拖回去覆盖原文件。</p>
<p><img class='croped' src='http://68.142.232.116/181/474292373_282f752fae_o.png' onclick="if(this.width>=514){window.open(this.src)}&#8221; alt=&#8221;" /><br />
<img class='croped' src='http://68.142.232.116/210/474279076_2472c6a0a6.jpg?v=0' onclick="if(this.width>=514){window.open(this.src)}&#8221; alt=&#8221;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/ubuntu-%e7%9b%b4%e6%8e%a5%e7%94%a8-nautilus-%e5%81%9aftp%e5%b7%a5%e5%85%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wget 获取站点镜像</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/wget-%e8%8e%b7%e5%8f%96%e7%ab%99%e7%82%b9%e9%95%9c%e5%83%8f/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/wget-%e8%8e%b7%e5%8f%96%e7%ab%99%e7%82%b9%e9%95%9c%e5%83%8f/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/wget-%e8%8e%b7%e5%8f%96%e7%ab%99%e7%82%b9%e9%95%9c%e5%83%8f</guid>
		<description><![CDATA[wget -c -m -p -q -b http://www.sina.com
-c 是继续传送， -m 是镜像， -p 是下载媒体文件，比如图片， -q 是安静模式， -b 是后台运行
绕开 robots.txt 办法：
在 $HOME/.wgetrc 中加入
robots = off
原文来自 让 wget 忽略 robot.txt
]]></description>
			<content:encoded><![CDATA[<p>wget -c -m -p -q -b http://www.sina.com</p>
<p>-c 是继续传送， -m 是镜像， -p 是下载媒体文件，比如图片， -q 是安静模式， -b 是后台运行</p>
<p>绕开 robots.txt 办法：</p>
<p>在 $HOME/.wgetrc 中加入</p>
<p>robots = off</p>
<p>原文来自 <a href='http://fred.webcan.cn/weblog/2006/12/26/let-wget-ignores-robottxt-entry/' rel='external' class='ubblink'>让 wget 忽略 robot.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/wget-%e8%8e%b7%e5%8f%96%e7%ab%99%e7%82%b9%e9%95%9c%e5%83%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>feisty 安装 NTFS 分区写入支持</title>
		<link>http://ubuntu.guoshuang.com/2008/02/04/feisty-%e5%ae%89%e8%a3%85-ntfs-%e5%88%86%e5%8c%ba%e5%86%99%e5%85%a5%e6%94%af%e6%8c%81/</link>
		<comments>http://ubuntu.guoshuang.com/2008/02/04/feisty-%e5%ae%89%e8%a3%85-ntfs-%e5%88%86%e5%8c%ba%e5%86%99%e5%85%a5%e6%94%af%e6%8c%81/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 03:32:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[feisty]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://ubuntu.guoshuang.com/2008/02/04/feisty-%e5%ae%89%e8%a3%85-ntfs-%e5%88%86%e5%8c%ba%e5%86%99%e5%85%a5%e6%94%af%e6%8c%81</guid>
		<description><![CDATA[读 ntfs 分区本来就没问题。要加入NTFS分区写入支持，在 feisty 中很容易。直接安装 ntfs-config 即可
sudo apt-get install ntfs-config
打开 系统工具 &#8211; NTFS 写入支持配置程序，勾选 启用内（外）部设备写支持即可。以后就可以写 NTFS 分区了。
=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; />
via Widows NTFS Partitions Read/write support made easy in Ubuntu Feisty
相关日志：
windows 查看 linux 分区工具
windows 访问ubuntu 目录 SMB
]]></description>
			<content:encoded><![CDATA[<p><img src="http://ubuntu.guoshuang.com/wp-admin/images/ubuntu.gif" style="float: right" />读 ntfs 分区本来就没问题。要加入NTFS分区写入支持，在 feisty 中很容易。直接安装 ntfs-config 即可</p>
<p><span style="padding: 0pt 2px; background-color: #99cc00">sudo apt-get install ntfs-config</span></p>
<p>打开 系统工具 &#8211; NTFS 写入支持配置程序，勾选 启用内（外）部设备写支持即可。以后就可以写 NTFS 分区了。</p>
<p><img src="http://ubuntu.guoshuang.com/wp-admin/guoshuangweb/app-screenshots/ntfs-condif01.png" onclick="if(this.width>=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; /><br />
<img src="http://ubuntu.guoshuang.com/wp-admin/guoshuangweb/app-screenshots/ntfs-config02.png" onclick="if(this.width>=514){window.open(this.src)}&#8221; class=&#8221;croped&#8221; /></p>
<p>via <a href="http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html" rel="external" class="ubblink">Widows NTFS Partitions Read/write support made easy in Ubuntu Feisty</a></p>
<p>相关日志：</p>
<p><a href="http://blog.guoshuang.com/showlog.asp?cat_id=40&amp;log_id=4213" rel="external" class="ubblink">windows 查看 linux 分区工具</a><br />
<a href="http://blog.guoshuang.com/showlog.asp?cat_id=40&amp;log_id=4603" rel="external" class="ubblink">windows 访问ubuntu 目录 SMB</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ubuntu.guoshuang.com/2008/02/04/feisty-%e5%ae%89%e8%a3%85-ntfs-%e5%88%86%e5%8c%ba%e5%86%99%e5%85%a5%e6%94%af%e6%8c%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
