<?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>Some reminiscences, some memories &#187; linux</title>
	<atom:link href="http://www.mikespook.com/index.php/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mikespook.com</link>
	<description>Just another boring day</description>
	<lastBuildDate>Tue, 10 Jan 2012 03:14:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>一个设置 golang 的 vim 开发环境的脚本</title>
		<link>http://www.mikespook.com/2011/09/%e4%b8%80%e4%b8%aa%e8%ae%be%e7%bd%ae-golang-%e7%9a%84-vim-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e7%9a%84%e8%84%9a%e6%9c%ac/</link>
		<comments>http://www.mikespook.com/2011/09/%e4%b8%80%e4%b8%aa%e8%ae%be%e7%bd%ae-golang-%e7%9a%84-vim-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e7%9a%84%e8%84%9a%e6%9c%ac/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 15:07:25 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[Golang]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[gocode]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=1102</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
golang 本身在代码的 misc/vim 中提供了相应脚本，用来集成 golang 的 vim 环境。而第三方项目 gocode 则更是一个强大的工具。我在《gocode——VIM 和 Emacs 的 golang 代码自动补全》中已经介绍过了。

这两个项目都很活跃，而社区活跃带来的最大麻烦就是频繁更新。为了能方便的升级 vim 环境的 golang 脚本，所以写了这个 shell。

可以 step by step 的协助集成 golang 相关脚本到 vim 中。

<span class="readmore"><a href="http://www.mikespook.com/2011/09/%e4%b8%80%e4%b8%aa%e8%ae%be%e7%bd%ae-golang-%e7%9a%84-vim-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e7%9a%84%e8%84%9a%e6%9c%ac/" title="一个设置 golang 的 vim 开发环境的脚本">阅读全文——共413字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>golang 本身在代码的 <a href="http://code.google.com/p/go/source/browse/#hg%2Fmisc%2Fvim" target="_blank">misc/vim</a> 中提供了相应脚本，用来集成 golang 的 vim 环境。而第三方项目 <a href="https://github.com/nsf/gocode" target="_blank">gocode</a> 则更是一个强大的工具。我在《<a href="http://www.mikespook.com/2011/03/gocode%e2%80%94%e2%80%94vim-%e5%92%8c-emacs-%e7%9a%84-golang-%e4%bb%a3%e7%a0%81%e8%87%aa%e5%8a%a8%e8%a1%a5%e5%85%a8/" target="_blank">gocode——VIM 和 Emacs 的 golang 代码自动补全</a>》中已经介绍过了。</p>
<p>这两个项目都很活跃，而社区活跃带来的最大麻烦就是频繁更新。为了能方便的升级 vim 环境的 golang 脚本，所以写了这个 shell。</p>
<p>可以 step by step 的协助集成 golang 相关脚本到 vim 中。</p>
<p>下载地址：<a href="https://bitbucket.org/mikespook/learning_go_chinese/downloads/vim.sh" target="_blank">https://bitbucket.org/mikespook/learning_go_chinese/downloads/vim.sh</a>。</p>
<p>虽然脚本会检测相关环境变量和依赖程序，不过还是最好提前设置好，免得麻烦。当然也可以将脚本到某个目录，让脚本自动下载 go 代码和 gocode 代码。</p>
<p>现在唯一没在这个脚本中集成的就是环境变量的设置和 .vimrc 中关于 syntax 之类的通用设置的开启。这些内容，DIY吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2011/09/%e4%b8%80%e4%b8%aa%e8%ae%be%e7%bd%ae-golang-%e7%9a%84-vim-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83%e7%9a%84%e8%84%9a%e6%9c%ac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>firefox 5.0 安装 Google Toolbar 的办法</title>
		<link>http://www.mikespook.com/2011/06/firefox-5-0-%e5%ae%89%e8%a3%85-google-toolbar-%e7%9a%84%e5%8a%9e%e6%b3%95/</link>
		<comments>http://www.mikespook.com/2011/06/firefox-5-0-%e5%ae%89%e8%a3%85-google-toolbar-%e7%9a%84%e5%8a%9e%e6%b3%95/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 01:59:11 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[firefox 5]]></category>
		<category><![CDATA[firefox add-one]]></category>
		<category><![CDATA[google toolbar]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=1061</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Ubuntu 一向都很高效，firefox 5 出来没几天就将 11.04 的浏览器升级到了版本 5。于是，有点小杯具了。其他不兼容差价都是平常不怎么用的，不用也罢。结果 google toolbar 居然不兼容。上个邮箱、书签，搜个资料，一直都用的是这个。于是，过了数天没有 google toolbar 的日子……

忍不下去了！！！

上网搜了一下，找到一个不错的firefox add-ons：Add-on Compatibility Reporter。

<span class="readmore"><a href="http://www.mikespook.com/2011/06/firefox-5-0-%e5%ae%89%e8%a3%85-google-toolbar-%e7%9a%84%e5%8a%9e%e6%b3%95/" title="firefox 5.0 安装 Google Toolbar 的办法">阅读全文——共244字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>Ubuntu 一向都很高效，firefox 5 出来没几天就将 11.04 的浏览器升级到了版本 5。于是，有点小杯具了。其他不兼容差价都是平常不怎么用的，不用也罢。结果 google toolbar 居然不兼容。上个邮箱、书签，搜个资料，一直都用的是这个。于是，过了数天没有 google toolbar 的日子……</p>
<p>忍不下去了！！！</p>
<p>上网搜了一下，找到一个不错的firefox add-ons：<a href="https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/" target="_blank">Add-on Compatibility Reporter</a>。</p>
<p>用法简单，直接安装重启 firefox 即可，无须设置。</p>
<p>Bingo！</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2011/06/firefox5-google-toolbar.png"><img src="http://www.mikespook.com/wp-content/uploads/2011/06/firefox5-google-toolbar.png" alt="" title="firefox5-google-toolbar" width="562" height="107" class="alignnone size-full wp-image-1062" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2011/06/firefox-5-0-%e5%ae%89%e8%a3%85-google-toolbar-%e7%9a%84%e5%8a%9e%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在 xubuntu 中使用 3G 手机作为猫上网</title>
		<link>http://www.mikespook.com/2010/07/%e5%9c%a8-xubuntu-%e4%b8%ad%e4%bd%bf%e7%94%a8-3g-%e6%89%8b%e6%9c%ba%e4%bd%9c%e4%b8%ba%e7%8c%ab%e4%b8%8a%e7%bd%91/</link>
		<comments>http://www.mikespook.com/2010/07/%e5%9c%a8-xubuntu-%e4%b8%ad%e4%bd%bf%e7%94%a8-3g-%e6%89%8b%e6%9c%ba%e4%bd%9c%e4%b8%ba%e7%8c%ab%e4%b8%8a%e7%bd%91/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 14:57:20 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[xubuntu]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=651</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
我使用的是三星的一款3G手机，比较破烂。不过使用三星的 PC 套件可以在 Windows 下当作猫通过手机上网。在没有可接入的网络的时候还是很方便的。不过遗憾的是，我不用 Windows……每个月 300M 的流量我只用 10%，实在是浪费……所以，我想通过 xubuntu 接入 3G 手机上网。

好吧，最出乎意料的是，xubuntu 下用 3G 手机上网相当简单。

下面是图文混排的步骤……

<span class="readmore"><a href="http://www.mikespook.com/2010/07/%e5%9c%a8-xubuntu-%e4%b8%ad%e4%bd%bf%e7%94%a8-3g-%e6%89%8b%e6%9c%ba%e4%bd%9c%e4%b8%ba%e7%8c%ab%e4%b8%8a%e7%bd%91/" title="在 xubuntu 中使用 3G 手机作为猫上网">阅读全文——共423字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>我使用的是三星的一款3G手机，比较破烂。不过使用三星的 PC 套件可以在 Windows 下当作猫通过手机上网。在没有可接入的网络的时候还是很方便的。不过遗憾的是，我不用 Windows……每个月 300M 的流量我只用 10%，实在是浪费……所以，我想通过 xubuntu 接入 3G 手机上网。</p>
<p>好吧，最出乎意料的是，xubuntu 下用 3G 手机上网相当简单。</p>
<p>下面是图文混排的步骤……</p>
<p><span id="more-651"></span></p>
<p>1st. step：连接数据线。<br />
2nd. step：打开网络连接管理，选中移动宽带选项卡，添加……</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2010/07/3g-1st.png"><img src="http://www.mikespook.com/wp-content/uploads/2010/07/3g-1st-300x246.png" alt="" title="3g-1st" width="300" height="246" class="alignnone size-medium wp-image-652" target="_blank"/></a></p>
<p>3td. step：首先会要求选择设备，通常只有一个设备可选。</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2010/07/3g-3td.png"><img src="http://www.mikespook.com/wp-content/uploads/2010/07/3g-3td-300x221.png" alt="" title="3g-3td" width="300" height="221" class="alignnone size-medium wp-image-653" target="_blank"/></a></p>
<p>4th. step：选择中国后，会要选中国移动还是中国联通。我是联通的 WCDMA。</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2010/07/3g-4th.png"><img src="http://www.mikespook.com/wp-content/uploads/2010/07/3g-4th-300x222.png" alt="" title="3g-4th" width="300" height="222" class="alignnone size-medium wp-image-654" target="_blank"/></a></p>
<p>5th. step：选择计划，也就是用什么信道。这个网上大部分说的还都是 cnwap 或者 cnnet 的。3G 需要用 3gwap 作为 APN。</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2010/07/3g-5th.png"><img src="http://www.mikespook.com/wp-content/uploads/2010/07/3g-5th-300x221.png" alt="" title="3g-5th" width="300" height="221" class="alignnone size-medium wp-image-655" target="_blank"/></a></p>
<p>好了，然后在网络管理里选择移动宽带连接就可以了。这篇随笔就是用 3G 网络写的，速度还行……只是不知道 300M 的流量用了多少。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2010/07/%e5%9c%a8-xubuntu-%e4%b8%ad%e4%bd%bf%e7%94%a8-3g-%e6%89%8b%e6%9c%ba%e4%bd%9c%e4%b8%ba%e7%8c%ab%e4%b8%8a%e7%bd%91/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.4 countdown</title>
		<link>http://www.mikespook.com/2010/04/ubuntu-10-4-countdown/</link>
		<comments>http://www.mikespook.com/2010/04/ubuntu-10-4-countdown/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 02:51:04 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[countdown]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=548</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Ubuntu 9.10 的 countdown：http://www.mikespook.com/index.php/archives/407

时间如梭啊，10.4 马上要发布了。一起倒数吧……

]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>Ubuntu 9.10 的 countdown：<a href="http://www.mikespook.com/index.php/archives/407">http://www.mikespook.com/index.php/archives/407</a></p>
<p>时间如梭啊，10.4 马上要发布了。一起倒数吧……</p>
<p><script src="http://www.ubuntu.com/files/countdown/display.js" type="text/javascript"></script></p>
<p><span id="more-548"></span></p>
<p><script src="http://www.ubuntu.com/files/countdown/display1.js" type="text/javascript"></script></p>
<p><script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display2.js"></script></p>
<p><a href="http://www.ubuntu.com/"><img src="http://www.ubuntu.com/files/countdown/static.png" border="0" alt="Ubuntu: For Desktops, Servers, Netbooks and in the cloud" width="180" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2010/04/ubuntu-10-4-countdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.10 下安装 OpenTTD 1.0.0 中文版</title>
		<link>http://www.mikespook.com/2010/04/ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85-openttd-1-0-0-%e4%b8%ad%e6%96%87%e7%89%88/</link>
		<comments>http://www.mikespook.com/2010/04/ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85-openttd-1-0-0-%e4%b8%ad%e6%96%87%e7%89%88/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 01:33:18 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openttd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[方块]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=535</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
OpenTTD是开源版本的《运输大亨》，这两天刚刚发布了 1.0.0，中文汉化很完整。经本人验证，使用官方提供的 deb 包安装后，对于中文的显示需要小小调整。本着 Mr&#8217;Hu 的 BuZheTeng 原理，现记录一下较为简单的安装过程。

下载 openttd 的 1.0.0 版本：http://binaries.openttd.org/releases/1.0.0/openttd-1.0.0-linux-ubuntu-karmic-i386.deb。

使用命令 dpkg -i openttd-1.0.0-linux-ubuntu-karmic-i386.deb 安装。或双击 deb 文件，使用 GDebi 在图形界面下安装。安装过程可能提示软件库中有旧的版本，更为稳定，忽略不管即可。

<span class="readmore"><a href="http://www.mikespook.com/2010/04/ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85-openttd-1-0-0-%e4%b8%ad%e6%96%87%e7%89%88/" title="Ubuntu 9.10 下安装 OpenTTD 1.0.0 中文版">阅读全文——共1204字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>OpenTTD是开源版本的《运输大亨》，这两天刚刚发布了 1.0.0，中文汉化很完整。经本人验证，使用官方提供的 deb 包安装后，对于中文的显示需要小小调整。本着 Mr&#8217;Hu 的 BuZheTeng 原理，现记录一下较为简单的安装过程。<span id="more-535"></span></p>
<p>下载 openttd 的 1.0.0 版本：<a href="http://binaries.openttd.org/releases/1.0.0/openttd-1.0.0-linux-ubuntu-karmic-i386.deb" target="_blank">http://binaries.openttd.org/releases/1.0.0/openttd-1.0.0-linux-ubuntu-karmic-i386.deb</a>。</p>
<p>使用命令 dpkg -i openttd-1.0.0-linux-ubuntu-karmic-i386.deb 安装。或双击 deb 文件，使用 GDebi 在图形界面下安装。安装过程可能提示软件库中有旧的版本，更为稳定，忽略不管即可。</p>
<p>安装好后，在终端执行 openttd 会报错“Error: Failed to find a graphics set. Please acquire a graphics set for OpenTTD. See section 4.1 of readme.txt.”。如果乐意，直接去看 readme.txt 的 4.1 节，或者照着下面的步骤做也不错。</p>
<p>下载：<a href="http://binaries.openttd.org/extra/opengfx/0.2.3/opengfx-0.2.3-all.zip" target="_blank">http://binaries.openttd.org/extra/opengfx/0.2.3/opengfx-0.2.3-all.zip</a></p>
<p>下载：<a href="http://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip" target="_blank">http://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip</a></p>
<p>下载：<a href="http://binaries.openttd.org/extra/openmsx/0.2.1/openmsx-0.2.1-all.zip" target="_blank">http://binaries.openttd.org/extra/openmsx/0.2.1/openmsx-0.2.1-all.zip</a></p>
<p>解压缩。</p>
<p>在 $HOME/.openttd/ 下建立 data 目录。将上面解压缩的三个目录移入 $HOME/.openttd/data/ 中：</p>
<pre class="brush: bash; title: ; notranslate">
$HOME/.openttd/data/opengfx-0.2.3/
$HOME/.openttd/data/openmsx-0.2.1/
$HOME/.openttd/data/opensfx-0.2.3/
</pre>
<p>这时执行 openttd 就可以启动 OpenTTD 了。不过中文会是方块，如图：</p>
<p><img class="size-full wp-image-537 alignnone" title="openttd-no-chinese" src="http://www.mikespook.com/wp-content/uploads/2010/04/openttd-no-chinese.png" alt="" width="267" height="204" /></p>
<p>需要修改 $HOME/.openttd/openttd.cfg 的 18 至 23 行，增加字体文件路径，例如我使用 uming 字体：</p>
<pre class="brush: bash; title: ; notranslate">
small_font = /usr/share/fonts/truetype/arphic/uming.ttc
medium_font = /usr/share/fonts/truetype/arphic/uming.ttc
large_font = /usr/share/fonts/truetype/arphic/uming.ttc
small_size = 12
medium_size = 14
large_size = 16
</pre>
<p>在进入 OpenTTD，世界清爽了：</p>
<p><a href="http://www.mikespook.com/wp-content/uploads/2010/04/openttd-with-chinese.png" target="_blank"><img class="size-medium wp-image-538 alignnone" title="openttd-with-chinese" src="http://www.mikespook.com/wp-content/uploads/2010/04/openttd-with-chinese-300x225.png" alt="" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2010/04/ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85-openttd-1-0-0-%e4%b8%ad%e6%96%87%e7%89%88/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>在 Ubuntu 9.10 下安装和简单配置 trac 0.12dev</title>
		<link>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85%e5%92%8c%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae-trac-0-12dev/</link>
		<comments>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85%e5%92%8c%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae-trac-0-12dev/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 02:26:41 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[trac]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=508</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
昨日（2010-03-14）在金山参加了”CPyUG会课总第38期~暨珠三角技术沙龙第6次“。会中廖杰大仙用平和的语气，激动人心的介绍了 trac 若干功能、以及插件的开发和金山已经在使用的或者准备使用的插件。回来手痒，随尝试安装 0.12dev。

关于 Windows 下的安装，请看赖神的《在 windows 下安装和简单配置 trac 0.12》。

Ubuntu 下没 Windows 下麻烦，不过如果完全按照 Trac 官方的文档，还是会略有折腾，特别记录于此，以备后用。

<span class="readmore"><a href="http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85%e5%92%8c%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae-trac-0-12dev/" title="在 Ubuntu 9.10 下安装和简单配置 trac 0.12dev">阅读全文——共1470字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>昨日（2010-03-14）在金山参加了”<a href="http://wiki.woodpecker.org.cn/moin/ZPyUG/2010-03-14" target="_blank">CPyUG会课总第38期~暨珠三角技术沙龙第6次</a>“。会中廖杰大仙用平和的语气，激动人心的介绍了 trac 若干功能、以及插件的开发和金山已经在使用的或者准备使用的插件。回来手痒，随尝试安装 0.12dev。</p>
<p>关于 Windows 下的安装，请看赖神的《<a href="http://blog.csdn.net/lanphaday/archive/2010/03/12/5374066.aspx" target="_blank">在 windows 下安装和简单配置 trac 0.12</a>》。</p>
<p>Ubuntu 下没 Windows 下麻烦，不过如果完全按照 Trac 官方的文档，还是会略有折腾，特别记录于此，以备后用。<span id="more-508"></span></p>
<pre lang="bash" line="1">
# 安装 ubuntu 提供的库，能由 apt 管理的包，还是交由 apt 管理
sudo apt-get install subversion
sudo apt-get install python-setuptools
sudo apt-get install sqlite3
sudo apt-get install python-pysqlite2
sudo apt-get install python-pygments
sudo apt-get install python-docutils
</pre>
<pre lang="bash" line="1">
# 下面的包，不是 ubuntu 没有提供 apt 源，就是源里的版本过旧。所以使用 easy_install 安装最新稳定版。
sudo easy_install pytz
sudo easy_install babel
# Genshi 甚至 stable 版本都不行，所以使用 dev，也就是 svn 中的版本。不过安装好后需要手工做一下处理。
sudo easy_install -U "Genshi==dev"
</pre>
<pre lang="bash" line="1">
# 进入 egg 存放目录
cd /usr/local/lib/python2.6/dist-packages/
# 修改刚才通过 easy_install 安装的 Genshi 的 egg 版本，也许是我哪里没搞合适，用 easy_install 安装 svn 的版本，版本号默认总是 0。
# 本来，版本只要大于 1072 即可，不过为了避免弄混，所以还是用版本库中的真实版本号为好。我安装的时候，genshi 的版本号是 1096。
mv Genshi-0.6dev_r0-py2.6.egg Genshi-0.6dev_r1096-py2.6.egg
# 同时需要修改 easy-install.pth 中的 genshi 的 egg 文件名
sudo vim easy-install.pth
</pre>
<p>在 easy-install.pth 中找到 ./Genshi-0.6dev_r0-py2.6.egg，将这个文件名修改为对应的正确的版本号的文件名。</p>
<pre lang="bash" line="1">
# 然后安装 Trac 的 svn 主线版本。当前，也就是现在的里程碑 0.12dev
sudo easy_install http://svn.edgewall.org/repos/trac/trunk
</pre>
<p>至此，trac 0.12dev 版本安装完毕。<br />
0.12dev 跟之前的版本有些变化的是，在用 trac-admin 创建 trac 环境的时候，不会再询问代码仓库的路径。也就是说，可以在 trac 中完全屏蔽代码管理的功能。</p>
<p>详细的内容可以看 <a href="http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin" target="_blank">http://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin</a></p>
<p>另外，必装插件 <a href="http://trac-hacks.org/wiki/AccountManagerPlugin" target="_blank">http://trac-hacks.org/wiki/AccountManagerPlugin</a>。</p>
<p>好吧，如同往日一样，我总是最后才爆点猛料出来：Ubuntu 下的打包好的安装文件——舒放任务通道 <a href="http://py.kingsoft.net/ktrac/wiki/KtracInstall" target="_blank">http://py.kingsoft.net/ktrac/wiki/KtracInstall</a>。</p>
<p>特别感谢 KingSoft、感谢Z.Q.大妈、感谢廖杰……oh，md，我错了，先要感谢祖国-_-!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-%e4%b8%8b%e5%ae%89%e8%a3%85%e5%92%8c%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae-trac-0-12dev/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在 Ubuntu 9.10 Server 上安装 Nginx 0.8.34</title>
		<link>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-server-%e4%b8%8a%e5%ae%89%e8%a3%85-nginx-0-8-34/</link>
		<comments>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-server-%e4%b8%8a%e5%ae%89%e8%a3%85-nginx-0-8-34/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 07:16:55 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[安装]]></category>
		<category><![CDATA[编译]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=483</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Nginx 在 3 月 3 日放出了 0.8.34 这个开发版。张宴也随即更新了《Nginx 0.8.x + PHP 5.2.13（FastCGI）搭建胜过Apache十倍的Web服务器》到第六版。不过，他写的记录是针对 CentOS、Redhat 等 rpm 包管理的服务器。由于习惯了 debian 系列的服务器，特别是用惯了 ubuntu 服务器，在这里特别做一下 Ubuntu 9.10 下的安装笔记。其他基于 deb 包管理的发行版也类似。

首先，为了编译 Nginx，应在新装好的 Ubuntu server 环境下安装如下软件包：

<span class="readmore"><a href="http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-server-%e4%b8%8a%e5%ae%89%e8%a3%85-nginx-0-8-34/" title="在 Ubuntu 9.10 Server 上安装 Nginx 0.8.34">阅读全文——共3398字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>Nginx 在 3 月 3 日放出了 0.8.34 这个开发版。张宴也随即更新了《<a href="http://blog.s135.com/nginx_php_v6/">Nginx 0.8.x + PHP 5.2.13（FastCGI）搭建胜过Apache十倍的Web服务器</a>》到第六版。不过，他写的记录是针对 CentOS、Redhat 等 rpm 包管理的服务器。由于习惯了 debian 系列的服务器，特别是用惯了 ubuntu 服务器，在这里特别做一下 Ubuntu 9.10 下的安装笔记。其他基于 deb 包管理的发行版也类似。<span id="more-483"></span></p>
<p>首先，为了编译 Nginx，应在新装好的 Ubuntu server 环境下安装如下软件包：</p>
<pre lang="bash">sudo apt-get install build-essential libpcre3-dev libssl-dev libxslt-dev libgd2-xpm-dev libgeoip-dev zlib1g-dev</pre>
<p>然后下载 0.8.34 版本的 Nginx：</p>
<pre lang="bash">wget http://www.nginx.org/download/nginx-0.8.34.tar.gz</pre>
<p>解压：</p>
<pre lang="bash">tar xvzf nginx-0.8.34.tar.gz</pre>
<p>下载 upstream fair 模块。upstream fair 是比内建的负载均衡更加智能的负载均衡模块。它采用的不是内建负载均衡使用的轮换的均衡算法，而是可以根据页面大小、加载时间长短智能的进行负载均衡。</p>
<pre lang="bash">wget http://github.com/gnosek/nginx-upstream-fair/tarball/master</pre>
<p>解压：</p>
<pre lang="bash">tar xvzf gnosek-nginx-upstream-fair-2131c73.tar.gz</pre>
<p>然后进入 nginx 源码目录执行 configure 配置编译选项。下面是我所使用的配置：</p>
<pre lang="bash">./configure --conf-path=/etc/nginx/nginx.conf \--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/lib/nginx/body \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--with-debug \
--with-http_stub_status_module \
--with-http_flv_module \
--with-http_ssl_module \
--with-http_dav_module \
--with-http_gzip_static_module \
--with-mail \
--with-mail_ssl_module \
--with-ipv6 \
--with-http_realip_module \
--with-http_geoip_module \
--with-http_xslt_module \
--with-http_image_filter_module \
--with-sha1=/usr/include/openssl \
--with-md5=/usr/include/openssl \
--add-module=/home/mikespook/gnosek-nginx-upstream-fair-2131c73</pre>
<p>这个配置来自于 Jeff Waugh 的 PPA 中的 nginx 0.8.34 编译选项。配置、lock、pid 等文件的位置都是按照 ubuntu 系统惯例设置的。需要注意的是 &#8211;add-module 指向的是 upstream fair 的解压缩目录的绝对路径。这样就可以将 upstream fair 编译进 nginx。</p>
<p>然后编译并安装：</p>
<pre lang="bash">make &amp;&amp; make install</pre>
<p>nginx 就安装成功了。目录 /var/lib/nginx 需要手工建立，否则启动 nginx 会报错：</p>
<pre lang="bash">[emerg]: mkdir() "/var/lib/nginx/body" failed (2: No such file or directory)</pre>
<p>建立shell 脚本 /etc/init.d/nginx（<a href="http://www.mikespook.com/wp-content/uploads/2010/03/nginx.tar.gz">nginx</a>）：</p>
<pre lang="bash">#! /bin/sh

### BEGIN INIT INFO
# Provides:          nginx
# Required-Start:    $all
# Required-Stop:     $all
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: starts the nginx web server
# Description:       starts nginx using start-stop-daemon
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/nginx/sbin/nginx
NAME=nginx
DESC=nginx

test -x $DAEMON || exit 0

# Include nginx defaults if available
if [ -f /etc/default/nginx ] ; then
        . /etc/default/nginx
fi

set -e

case "$1" in
  start)
        echo -n "Starting $DESC: "
        start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
                --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
                --exec $DAEMON
        echo "$NAME."
        ;;
  restart|force-reload)
        echo -n "Restarting $DESC: "
        start-stop-daemon --stop --quiet --pidfile \
                /var/run/$NAME.pid --exec $DAEMON
        sleep 1
        start-stop-daemon --start --quiet --pidfile \
                /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
  reload)
      echo -n "Reloading $DESC configuration: "
      start-stop-daemon --stop --signal HUP --quiet --pidfile /var/run/$NAME.pid \
          --exec $DAEMON
      echo "$NAME."
      ;;
  *)
        N=/etc/init.d/$NAME
        echo "Usage: $N {start|stop|restart|force-reload}" &gt;&amp;2
        exit 1
        ;;
esac

exit 0</pre>
<p>并执行命令：</p>
<pre lang="bash">sudo update-rc.d -f nginx defaults</pre>
<p>更新 rc 后，即可使用：</p>
<pre lang="bash">sudo /etc/init.d/nginx start
sudo /etc/init.d/nginx stop
sudo /etc/init.d/nginx restart</pre>
<p>控制 nginx 启动。<br />
其他配置不再累述，张宴的 blog 里写得非常清晰。只补充一下 upstream fair 的使用，只要在 nginx 配置文件的 upstream 段加入 fair 开关即可：</p>
<pre lang="bash">upstream backend {
    server server1;
    server server2;
    fair;
}</pre>
<p>当然，ubuntu 还可以用上面提到的 Jeff 的 ppa 源进行安装：</p>
<pre lang="bash">echo "deb http://ppa.launchpad.net/jdub/devel/ubuntu hardy main" &gt;&gt; /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E9EEF4A1
apt-get update
apt-get install nginx</pre>
<p>简单快捷。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2010/03/%e5%9c%a8-ubuntu-9-10-server-%e4%b8%8a%e5%ae%89%e8%a3%85-nginx-0-8-34/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Flex Builder for Linux 未死？</title>
		<link>http://www.mikespook.com/2009/12/flex-builder-for-linux-%e6%9c%aa%e6%ad%bb%ef%bc%9f/</link>
		<comments>http://www.mikespook.com/2009/12/flex-builder-for-linux-%e6%9c%aa%e6%ad%bb%ef%bc%9f/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 01:07:27 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Alpha]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=429</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
说 Flex Builder Linux 未死，那就肯定要说它已死。大家请看这里《Flex Builder for Linux已死？》。

前些日子在笔记本上下了 Flex Builder Linux 的 Alpha4。今天想在台式机上也装一个玩玩。打开官方下载页面，忽然发现已经是 Alpha5 的版本。有图为证：

更新时间是 2009-11-24。看来 Flex Builder for Linux 未死啊！

]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>说 Flex Builder Linux 未死，那就肯定要说它已死。大家请看这里《<a href="http://www.infoq.com/cn/news/2009/05/flex-builder-linux-dead" target="_blank">Flex Builder for Linux已死？</a>》。</p>
<p>前些日子在笔记本上下了 Flex Builder Linux 的 Alpha4。今天想在台式机上也装一个玩玩。打开官方<a href="http://labs.adobe.com/downloads/flexbuilder_linux.html" target="_blank">下载页面</a>，忽然发现已经是 Alpha5 的版本。有图为证：<a href="http://www.mikespook.com/wp-content/uploads/2009/12/flex-builder-linux.png"><img class="alignnone size-full wp-image-430" title="flex-builder-linux" src="http://www.mikespook.com/wp-content/uploads/2009/12/flex-builder-linux.png" alt="flex-builder-linux" width="552" height="140" /></a></p>
<p>更新时间是 2009-11-24。看来 Flex Builder for Linux 未死啊！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2009/12/flex-builder-for-linux-%e6%9c%aa%e6%ad%bb%ef%bc%9f/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ubuntu 9.10 countdown</title>
		<link>http://www.mikespook.com/2009/10/ubuntu-9-10-countdown/</link>
		<comments>http://www.mikespook.com/2009/10/ubuntu-9-10-countdown/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 05:58:40 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[countdown]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=407</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
不知不觉，用了两年的 ubuntu 了，从 7.10 到 9.10 ……大家一起 countdown ubuntu 9.10 的新鲜出炉吧。

]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>不知不觉，用了两年的 ubuntu 了，从 7.10 到 9.10 ……大家一起 countdown ubuntu 9.10 的新鲜出炉吧。<br />
<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display.js"></script><br />
<script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display2.js"></script><br />
<a href="http://www.ubuntu.com/"><img src="http://www.mikespook.com/wp-content/uploads/2009/12/2ebb_static.png" width="180" height="150" alt="Ubuntu: For Desktops, Servers, Netbooks and in the cloud" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2009/10/ubuntu-9-10-countdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu升级内核到2.6.28-14后VritualBox不能启动的问题</title>
		<link>http://www.mikespook.com/2009/08/ubuntu%e5%8d%87%e7%ba%a7%e5%86%85%e6%a0%b8%e5%88%b02-6-28-14%e5%90%8evritualbox%e4%b8%8d%e8%83%bd%e5%90%af%e5%8a%a8%e7%9a%84%e9%97%ae%e9%a2%98/</link>
		<comments>http://www.mikespook.com/2009/08/ubuntu%e5%8d%87%e7%ba%a7%e5%86%85%e6%a0%b8%e5%88%b02-6-28-14%e5%90%8evritualbox%e4%b8%8d%e8%83%bd%e5%90%af%e5%8a%a8%e7%9a%84%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 05:34:32 +0000</pubDate>
		<dc:creator>mikespook</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[内核]]></category>
		<category><![CDATA[升级]]></category>

		<guid isPermaLink="false">http://www.mikespook.com/?p=374</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
国内镜像源不知道是不是都有问题，几天前就提示可以升级，但总也找不到linux-image-2.6.28-14-generic这个的依赖包（404错误）。索性换到了主站上更新。

一切顺利，速度也不差……

然后麻烦来了，VritualBox3.0.2无法启动。提示：

<span class="readmore"><a href="http://www.mikespook.com/2009/08/ubuntu%e5%8d%87%e7%ba%a7%e5%86%85%e6%a0%b8%e5%88%b02-6-28-14%e5%90%8evritualbox%e4%b8%8d%e8%83%bd%e5%90%af%e5%8a%a8%e7%9a%84%e9%97%ae%e9%a2%98/" title="Ubuntu升级内核到2.6.28-14后VritualBox不能启动的问题">阅读全文——共425字</a></span>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>国内镜像源不知道是不是都有问题，几天前就提示可以升级，但总也找不到linux-image-2.6.28-14-generic这个的依赖包（404错误）。索性换到了主站上更新。</p>
<p>一切顺利，速度也不差……</p>
<p>然后麻烦来了，VritualBox3.0.2无法启动。提示：</p>
<p>Kernel driver not installed (rc=-1908)</p>
<p>The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing</p>
<p>‘/etc/init.d/vboxdrv setup’</p>
<p>折腾了半天，最后发现解决办法爆简单：</p>
<p>sudo apt-get install linux-headers-2.6.28-14-generic</p>
<p>然后</p>
<p>sudo /etc/init.d/vboxdrv setup</p>
<p>就可以了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikespook.com/2009/08/ubuntu%e5%8d%87%e7%ba%a7%e5%86%85%e6%a0%b8%e5%88%b02-6-28-14%e5%90%8evritualbox%e4%b8%8d%e8%83%bd%e5%90%af%e5%8a%a8%e7%9a%84%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

