<?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>余心烦错 &#187; Ubuntu</title>
	<atom:link href="http://blog.efrees.com/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.efrees.com</link>
	<description>We shall meet in the place where there is no darkness.</description>
	<lastBuildDate>Mon, 09 Aug 2010 07:57:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Ubuntu下硬盘安装Windows7</title>
		<link>http://blog.efrees.com/ubunt-install-windows7.html</link>
		<comments>http://blog.efrees.com/ubunt-install-windows7.html#comments</comments>
		<pubDate>Fri, 18 Dec 2009 05:00:07 +0000</pubDate>
		<dc:creator>muzik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://blog.efrees.com/?p=143</guid>
		<description><![CDATA[此前在ubuntu下用virtualbox装了份windows7，确实比以往的windows好用许多。于是花了点时间把机子上原来与ubuntu并存的windowsXP升级成windows7。 所需工具、文件 Windows 7安装镜像; 我下载的是7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso,3.1G。 Grub4Dos 用于引导windows安装，后来听说Grub2也行，还要更方便一些，但我没可能再装一遍，以下还是以grub4dos为例; EasyBCD 用于在windows安装完成后找回启动ubuntu的菜单. 备份MBR $ sudo dd if=/dev/sda of=/backup/mbr.img bs=512 count=1 至关重要。ubuntu的安装过程会保留windows启动项，但windows的安装过程却很霸道，安装后需导入MBR才能找回ubuntu启动项。 windows下无法访问ubuntu里的文件，所以需要把这个备份文件复制到windows文件系统下，或则先用U盘备份。 挂载windows7 ISO $ sudo mount /iso/7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso /mnt -o loop 即把windows7 ISO挂载到/mnt，打开这个目录，把里边的所有文件复制到一个NTFS分区的根目录下——不能是将用于安装windows7的分区，亦即，需要预先准备两个windows分区。 我这里因为原本就是windows与ubuntu并存，windows下有C、D、E盘，C盘准备用来安装windows7，以上安装文件就复制到了E盘根目录下。 添加启动菜单 打开载下来的Grub4dos.zip，把其中的grub.exe解压出来。 修改/boot/grub/menu.lst,添加如下几行 title grub4dos root (hd0,3) kernel /home/grub.exe boot 第二行的0,3需根据实际情况修改，可查看menu.lst里原有的部分，找到ubuntu的选项复制成一样的即可。 如我原有启动项第一项是: title Ubuntu 9.10, kernel 2.6.31-16-generic root (hd0,3) 第三行的/home/grub.exe需修改成刚解压出的grub.exe所在路径。 重启安装 重启，在操作系统选单里选择grub4dos，屏幕一闪再度进入操作系统选单，按c进入命令行grub&#62;，依次输入以下指令： grub&#62;find --set-root [...]

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/archives/ubuntu-load-mod_rewrite' rel='bookmark' title='Permanent Link: UBUNTU:启用mod_rewrite'>UBUNTU:启用mod_rewrite</a> <small>如果不想重装的话，也可以用ubuntu7.04自带的apache2,版本是2.2.3。默认的安装没有启用mod_rewrite,作为一个ubuntu新手，我迷惘了.. @a2enmod rewrite@ 即可 要用.htaccess的话，记得把 @AllowOverride none@ 改成 @AllowOverride all@...</small></li>
<li><a href='http://blog.efrees.com/failing-to-start-mysql-on-ubuntu-lucid.html' rel='bookmark' title='Permanent Link: 升级Ubuntu到10.04后MYSQL无法启动'>升级Ubuntu到10.04后MYSQL无法启动</a> <small>升级Ubuntu到10.04之后，连接mysql提示： Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...</small></li>
<li><a href='http://blog.efrees.com/firefox-under-ubuntu-access-solution-is-also-the-issue-of-song-can-not-be-initialized.html' rel='bookmark' title='Permanent Link: 解决ubuntu下firefox访问亦歌无法初始化的问题'>解决ubuntu下firefox访问亦歌无法初始化的问题</a> <small>最近终于试用了wine——一个可以帮助我们在linux下运行windows程序的工具，还算比较顺滑，于是把ubuntu8.04升级到8.10，打算尽量少用windows了。 但是毕竟娱乐很少——前阵子windows里装的fallout III还没有玩完，ubuntu下那是别指望的了。只有打开在线听歌网站亦歌 ，也算聊胜于无了。古怪的是就出现了如下提示： 亦歌初始化失败，非常抱歉！ 这可能是由于您的Flash版本过低，亦歌需要Flash版本为9.0.0或以上。系统检测到您当前的版本为10.0 r12。 反 复安装了adobe-flashplugin和flashplugin-nonfree均不见效，同时发现yobo和google analytics里的flash也是无法播放。头疼了好一阵，这才注意到页面上的flash上右键菜单最后一个是quit...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>此前在<a href="http://blog.efrees.com/installing-windows-xp-inside-ubuntu-using-virtualbox.html">ubuntu下用virtualbox装了份windows7</a>，确实比以往的windows好用许多。于是花了点时间把机子上原来与ubuntu并存的windowsXP升级成windows7。<br />
<div class='toc wptoc'>
<h2>Contents</h2>
<ol class='toc-odd level-1'>
	<li>
		<a href="#">所需工具、文件</a>
	</li>
	<li>
		<a href="#MBR">备份MBR</a>
	</li>
	<li>
		<a href="#windows7_ISO">挂载windows7 ISO</a>
	</li>
	<li>
		<a href="#_1">添加启动菜单</a>
	</li>
	<li>
		<a href="#_2">重启安装</a>
	</li>
	<li>
		<a href="#MBR_1">恢复MBR</a>
	</li>
	<li>
		<a href="#_3">参考链接</a>
	</li>
</ol>
</ol>
</ol>
</div>
<div class='wptoc-end'>&nbsp;</div></p>
<span id=""><h3>所需工具、文件</h3></span>
<ol>
<li>Windows 7安装镜像;<br />
我下载的是7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso,3.1G。</li>
<li><a href="http://download.gna.org/grub4dos/">Grub4Dos</a><br />
用于引导windows安装，后来听说Grub2也行，还要更方便一些，但我没可能再装一遍，以下还是以grub4dos为例;</li>
<li><a href="http://neosmart.net/dl.php?id=1">EasyBCD</a><br />
用于在windows安装完成后找回启动ubuntu的菜单.</li>
</ol>
<p><span id="more-143"></span></p>
<span id="MBR"><h3>备份MBR</h3></span>
<p><code>$ sudo dd if=/dev/sda of=/backup/mbr.img bs=512 count=1</code></p>
<p>至关重要。ubuntu的安装过程会保留windows启动项，但windows的安装过程却很霸道，安装后需导入MBR才能找回ubuntu启动项。<br />
windows下无法访问ubuntu里的文件，所以需要把这个备份文件复制到windows文件系统下，或则先用U盘备份。</p>
<span id="windows7_ISO"><h3>挂载windows7 ISO</h3></span>
<p><code>$ sudo mount /iso/7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso /mnt -o loop</code><br />
即把windows7 ISO挂载到/mnt，打开这个目录，把里边的所有文件复制到一个NTFS分区的根目录下——不能是将用于安装windows7的分区，亦即，需要预先准备两个windows分区。</p>
<p>我这里因为原本就是windows与ubuntu并存，windows下有C、D、E盘，C盘准备用来安装windows7，以上安装文件就复制到了E盘根目录下。</p>
<span id="_1"><h3>添加启动菜单</h3></span>
<p>打开载下来的<a href="http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip">Grub4dos.zip</a>，把其中的grub.exe解压出来。<br />
修改/boot/grub/menu.lst,添加如下几行<br />
<code><br />
title grub4dos<br />
root (hd0,3)<br />
kernel /home/grub.exe<br />
boot<br />
</code><br />
第二行的0,3需根据实际情况修改，可查看menu.lst里原有的部分，找到ubuntu的选项复制成一样的即可。<br />
如我原有启动项第一项是:<br />
<code><br />
title		Ubuntu 9.10, kernel 2.6.31-16-generic<br />
root		(hd0,3)<br />
</code><br />
第三行的/home/grub.exe需修改成刚解压出的grub.exe所在路径。</p>
<span id="_2"><h3>重启安装</h3></span>
<p>重启，在操作系统选单里选择grub4dos，屏幕一闪再度进入操作系统选单，按c进入命令行grub&gt;，依次输入以下指令：<br />
<code><br />
grub&gt;find --set-root /bootmgr<br />
grub&gt;chainloader /bootmgr<br />
grub&gt;boot<br />
</code><br />
随即进入windows7安装引导界面，一路装下去即可。</p>
<span id="MBR_1"><h3>恢复MBR</h3></span>
<p>windows安装完成后，多系统选单不见了，此时需要恢复MBR。我安装前在网上找到的几篇文章里有指明，可以在windows下以如下指令恢复：<br />
<code>echo c:\"linux.lnx"=linux &gt;&gt; boot.ini</code><br />
遗憾的是windows7里好像根本就没有boot.ini，试了一下，此法无效。</p>
<p>无奈只好用下了一份easyBCD，安装之后运行，添加LINUX启动项。C盘下会生成c:\nst\nst_linux.mbr文件，删除之，把此前备份的mbr.img复制到这个位置，重命名为nst_linux.mbr。</p>
<p>重启在多系统选单选择linux选项，即可看见原来的ubuntu多系统选单。进入ubuntu之后，再彻底还原MBR。<br />
<code>$ sudo dd if=/backup/mbr.img of=/dev/sda bs=446 count=1</code></p>
<span id="_3"><h3>参考链接</h3></span>
<p>感谢以下页面及其作者的无私分享。</p>
<ul>
<li><a href="http://bbs.pcbeta.com/thread-634679-1-1.html">来个高难度的，UBUNTU下硬盘安装WINDOWS7，逆向安装，冷门才强大！</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=1035999">“How to” Dual boot Ubuntu and Windows 7 (Ubuntu installed first)</a></li>
</ul>
<img src="http://blog.efrees.com/?ak_action=api_record_view&id=143&type=feed" alt="" />

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/archives/ubuntu-load-mod_rewrite' rel='bookmark' title='Permanent Link: UBUNTU:启用mod_rewrite'>UBUNTU:启用mod_rewrite</a> <small>如果不想重装的话，也可以用ubuntu7.04自带的apache2,版本是2.2.3。默认的安装没有启用mod_rewrite,作为一个ubuntu新手，我迷惘了.. @a2enmod rewrite@ 即可 要用.htaccess的话，记得把 @AllowOverride none@ 改成 @AllowOverride all@...</small></li>
<li><a href='http://blog.efrees.com/failing-to-start-mysql-on-ubuntu-lucid.html' rel='bookmark' title='Permanent Link: 升级Ubuntu到10.04后MYSQL无法启动'>升级Ubuntu到10.04后MYSQL无法启动</a> <small>升级Ubuntu到10.04之后，连接mysql提示： Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...</small></li>
<li><a href='http://blog.efrees.com/firefox-under-ubuntu-access-solution-is-also-the-issue-of-song-can-not-be-initialized.html' rel='bookmark' title='Permanent Link: 解决ubuntu下firefox访问亦歌无法初始化的问题'>解决ubuntu下firefox访问亦歌无法初始化的问题</a> <small>最近终于试用了wine——一个可以帮助我们在linux下运行windows程序的工具，还算比较顺滑，于是把ubuntu8.04升级到8.10，打算尽量少用windows了。 但是毕竟娱乐很少——前阵子windows里装的fallout III还没有玩完，ubuntu下那是别指望的了。只有打开在线听歌网站亦歌 ，也算聊胜于无了。古怪的是就出现了如下提示： 亦歌初始化失败，非常抱歉！ 这可能是由于您的Flash版本过低，亦歌需要Flash版本为9.0.0或以上。系统检测到您当前的版本为10.0 r12。 反 复安装了adobe-flashplugin和flashplugin-nonfree均不见效，同时发现yobo和google analytics里的flash也是无法播放。头疼了好一阵，这才注意到页面上的flash上右键菜单最后一个是quit...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.efrees.com/ubunt-install-windows7.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解决ubuntu鼠标右键自动新建文件夹的问题</title>
		<link>http://blog.efrees.com/ubuntu-mouse-right-click-auto-selection-cteate-folder-problem-fix.html</link>
		<comments>http://blog.efrees.com/ubuntu-mouse-right-click-auto-selection-cteate-folder-problem-fix.html#comments</comments>
		<pubDate>Sun, 27 Sep 2009 04:06:13 +0000</pubDate>
		<dc:creator>muzik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.efrees.com/?p=123</guid>
		<description><![CDATA[最近我的鼠标很难用。具体表现是，点下鼠标右键，菜单一闪即逝，并且菜单上的第一项会被选中执行，比如： 在File Browse界面，点击右键后会新建一个文件夹，因为右键菜单第一项是create folder 在Firefox里，点击右键会Select All 在Aptana Studio里，点击右键会新建一个文件 当然，出问题的不仅仅是这些地方。一开始我以为我鼠标又坏了——年初新置的两台组装机，鼠标都是杂牌，此前已经坏掉一个。 但随后发现，在新装的Windows虚拟机里，鼠标却又正常。google了一轮，发现遇到类似问题的人还不少。比如这个，这个，这个，这个。我这也才敢确认，这不是我鼠标的问题。 又google了一轮，找到了解决方案: Select a visual theme which has a couple of pixel padding around the menus. Right clicks will stay on the menu padding and not be transferred to the first option (create folder). 菜单里找到System->Preferences->Appearance，把Theme从原来的Human换成Crux，问题竟然不复存在了。看来是主题的设计决定的鼠标焦点位置，只需换上鼠标焦点和菜单分离的主题即可。又换了几个主题测试，多数都和Human一样，鼠标焦点在菜单第一项，另一些则是在最后一项，比如Human-clearlooks。 Related posts:make Google Account Multi-Login script work for Firefox 3.5 升级到firefox [...]

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/make-google-account-multi-login-script-working-for-firefox-3-5.html' rel='bookmark' title='Permanent Link: make Google Account Multi-Login script work for Firefox 3.5'>make Google Account Multi-Login script work for Firefox 3.5</a> <small>升级到firefox 3.5之后,Google Account Multi-Login 就不能切换用户了。去主页看了一下，也没有新版本可以更新。 检查了一下脚本，发现自第83行开始的这几行出了问题 this.parentNode.Email.value = un; ......</small></li>
<li><a href='http://blog.efrees.com/archives/cakephp-12-theme-cakephp' rel='bookmark' title='Permanent Link: cakephp 1.2 theme'>cakephp 1.2 theme</a> <small>var $view = 'Theme';//themes directory var $theme = 'teline';//theme name...</small></li>
<li><a href='http://blog.efrees.com/archives/joomla-15-tutorial-links' rel='bookmark' title='Permanent Link: Joomla 1.5 tutorial links'>Joomla 1.5 tutorial links</a> <small>module:hello world components hello_world hello_world2 hello_world5 hello_world_mvc1 hello_world_mvc2 hello_world_mvc3 hello_world_mvc4...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>最近我的鼠标很难用。具体表现是，点下鼠标右键，菜单一闪即逝，并且菜单上的第一项会被选中执行，比如：</p>
<ul>
<li>在File Browse界面，点击右键后会新建一个文件夹，因为右键菜单第一项是create folder</li>
<li>在Firefox里，点击右键会Select All</li>
<li>在Aptana Studio里，点击右键会新建一个文件</li>
</ul>
<p>当然，出问题的不仅仅是这些地方。一开始我以为我鼠标又坏了——年初新置的两台组装机，鼠标都是杂牌，此前已经坏掉一个。<br />
<span id="more-123"></span><br />
但随后发现，在<a href="http://blog.efrees.com/installing-windows-xp-inside-ubuntu-using-virtualbox.html">新装的Windows虚拟机</a>里，鼠标却又正常。google了一轮，发现遇到类似问题的人还不少。比如<a href="http://www.learndiary.com/archives/diaries/3372.htm">这个</a>，<a href="http://www.firefox.net.cn/forum/viewtopic.php?p=182799">这个</a>，<a href="http://forum.ubuntu.org.cn/viewtopic.php?f=49&amp;t=209428">这个</a>，<a href="http://forum.ubuntu.org.cn/viewtopic.php?f=80&amp;t=148897">这个</a>。我这也才敢确认，这不是我鼠标的问题。</p>
<p>又google了一轮，找到了<a href="http://ubuntuforums.org/showthread.php?t=753517">解决方案</a>:</p>
<blockquote><p>Select a visual theme which has a couple of pixel padding around the menus.<br />
Right clicks will stay on the menu padding and not be transferred to the first option (create folder).</p></blockquote>
<p>菜单里找到System->Preferences->Appearance，把Theme从原来的Human换成Crux，问题竟然不复存在了。看来是主题的设计决定的鼠标焦点位置，只需换上鼠标焦点和菜单分离的主题即可。又换了几个主题测试，多数都和Human一样，鼠标焦点在菜单第一项，另一些则是在最后一项，比如Human-clearlooks。</p>
<img src="http://blog.efrees.com/?ak_action=api_record_view&id=123&type=feed" alt="" />

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/make-google-account-multi-login-script-working-for-firefox-3-5.html' rel='bookmark' title='Permanent Link: make Google Account Multi-Login script work for Firefox 3.5'>make Google Account Multi-Login script work for Firefox 3.5</a> <small>升级到firefox 3.5之后,Google Account Multi-Login 就不能切换用户了。去主页看了一下，也没有新版本可以更新。 检查了一下脚本，发现自第83行开始的这几行出了问题 this.parentNode.Email.value = un; ......</small></li>
<li><a href='http://blog.efrees.com/archives/cakephp-12-theme-cakephp' rel='bookmark' title='Permanent Link: cakephp 1.2 theme'>cakephp 1.2 theme</a> <small>var $view = 'Theme';//themes directory var $theme = 'teline';//theme name...</small></li>
<li><a href='http://blog.efrees.com/archives/joomla-15-tutorial-links' rel='bookmark' title='Permanent Link: Joomla 1.5 tutorial links'>Joomla 1.5 tutorial links</a> <small>module:hello world components hello_world hello_world2 hello_world5 hello_world_mvc1 hello_world_mvc2 hello_world_mvc3 hello_world_mvc4...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.efrees.com/ubuntu-mouse-right-click-auto-selection-cteate-folder-problem-fix.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>解决ubuntu下firefox访问亦歌无法初始化的问题</title>
		<link>http://blog.efrees.com/firefox-under-ubuntu-access-solution-is-also-the-issue-of-song-can-not-be-initialized.html</link>
		<comments>http://blog.efrees.com/firefox-under-ubuntu-access-solution-is-also-the-issue-of-song-can-not-be-initialized.html#comments</comments>
		<pubDate>Sun, 29 Mar 2009 15:16:54 +0000</pubDate>
		<dc:creator>muzik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://efrees.com/blog/?p=94</guid>
		<description><![CDATA[最近终于试用了wine——一个可以帮助我们在linux下运行windows程序的工具，还算比较顺滑，于是把ubuntu8.04升级到8.10，打算尽量少用windows了。 但是毕竟娱乐很少——前阵子windows里装的fallout III还没有玩完，ubuntu下那是别指望的了。只有打开在线听歌网站亦歌 ，也算聊胜于无了。古怪的是就出现了如下提示： 亦歌初始化失败，非常抱歉！ 这可能是由于您的Flash版本过低，亦歌需要Flash版本为9.0.0或以上。系统检测到您当前的版本为10.0 r12。 反 复安装了adobe-flashplugin和flashplugin-nonfree均不见效，同时发现yobo和google analytics里的flash也是无法播放。头疼了好一阵，这才注意到页面上的flash上右键菜单最后一个是quit gnash，这才恍然。于是卸载gnash，重新打开firefox，一切正常。 问题所在：ubuntu8。04＋默认安装了gnash swf player,内含mozilla-plugin-gnash.无论是否再安装adobe flash player,firefox均默认使用gnash player,所以无法加载. 解决方法：卸载gnash并安装adobe flash player即可。 卸载gnash： $ sudo apt-get remove gnash 如需使用adobe-flashplugin，先卸载flashplugin-nonfree： $ sudo apt-get remove flashplugin-nonfree 然后点这里下载adobe-flashplugin deb包 安装即可。 Related posts:升级Ubuntu到10.04后MYSQL无法启动 升级Ubuntu到10.04之后，连接mysql提示： Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/failing-to-start-mysql-on-ubuntu-lucid.html' rel='bookmark' title='Permanent Link: 升级Ubuntu到10.04后MYSQL无法启动'>升级Ubuntu到10.04后MYSQL无法启动</a> <small>升级Ubuntu到10.04之后，连接mysql提示： Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>最近终于试用了<a id="sho:" title="wine" href="http://www.winehq.org/" target="_blank">wine</a>——一个可以帮助我们在linux下运行windows程序的工具，还算比较顺滑，于是把ubuntu8.04升级到8.10，打算尽量少用windows了。<br />
<span id="more-94"></span><br />
但是毕竟娱乐很少——前阵子windows里装的<a href="http://fallout.bethsoft.com/eng/home/home.php" target="_blank">fallout III</a>还没有玩完，ubuntu下那是别指望的了。只有打开在线听歌网站<a id="zbb0" title="亦歌" href="http://1g1g.com/" target="_blank">亦歌</a> ，也算聊胜于无了。古怪的是就出现了如下提示：</p>
<blockquote><p>亦歌初始化失败，非常抱歉！</p>
<p>这可能是由于您的Flash版本过低，亦歌需要Flash版本为9.0.0或以上。系统检测到您当前的版本为<span style="color: #ff0000;">10.0 r12</span>。</p></blockquote>
<p>反 复安装了adobe-flashplugin和flashplugin-nonfree均不见效，同时发现yobo和google analytics里的flash也是无法播放。头疼了好一阵，这才注意到页面上的flash上右键菜单最后一个是quit gnash，这才恍然。于是卸载gnash，重新打开firefox，一切正常。</p>
<p><strong>问题所在：</strong>ubuntu8。04＋默认安装了gnash swf player,内含mozilla-plugin-gnash.无论是否再安装adobe flash player,firefox均默认使用gnash player,所以无法加载.</p>
<p><strong>解决方法：</strong>卸载gnash并安装adobe flash player即可。</p>
<p><strong>卸载gnash：</strong><br />
<code>$ sudo apt-get remove gnash</code></p>
<p>如需使用adobe-flashplugin，先<strong>卸载flashplugin-nonfree：</strong><br />
<code>$ sudo apt-get remove flashplugin-nonfree</code></p>
<p>然后点<a id="gvan" title="这里下载adobe-flashplugin deb包" href="http://get.adobe.com/flashplayer/" target="_blank">这里下载adobe-flashplugin deb包</a> 安装即可。</p>
<img src="http://blog.efrees.com/?ak_action=api_record_view&id=94&type=feed" alt="" />

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/failing-to-start-mysql-on-ubuntu-lucid.html' rel='bookmark' title='Permanent Link: 升级Ubuntu到10.04后MYSQL无法启动'>升级Ubuntu到10.04后MYSQL无法启动</a> <small>升级Ubuntu到10.04之后，连接mysql提示： Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.efrees.com/firefox-under-ubuntu-access-solution-is-also-the-issue-of-song-can-not-be-initialized.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu7.04新装后的几个问题</title>
		<link>http://blog.efrees.com/archives/resolved-ubuntu-sound-problems-on-sis-si7012</link>
		<comments>http://blog.efrees.com/archives/resolved-ubuntu-sound-problems-on-sis-si7012#comments</comments>
		<pubDate>Thu, 27 Sep 2007 05:33:11 +0000</pubDate>
		<dc:creator>muzik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://efrees.com/blog/2008/resolved-ubuntu-sound-problems-on-sis-si7012/</guid>
		<description><![CDATA[话说redhat el4的4cd在搬家时丢失之后，索性就装了ubuntu7.04,毕竟很多人推荐嘛。安装很便捷，也很快速，但是装完后小问题却也有一些。今天有朋友装ubuntu，也遇到了其中的几个，代为解决之，留个笔记。 h3. 没声音 @aplay -l@ 查看device型号 card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012] 这里有份详细的指南, &#8220;Comprehensive Sound Problem Solutions Guide&#8221;:http://ubuntuforums.org/showthread.php?t=205449 不过&#8230;按部就班之后，问题并没有立即得到解决。 调整mixer,确保mixer/Switches里以下三项状态如下，其余随意即可 Headphone jack Sense [Off] Line jack Sense [Off] Spread Front to Surround and Center/LFE [ON] 当然,mixer/playback里Master Surround和PCM也需打开 h3. VI arrow key bug 使用vi编辑文本，在INSERT模式下，方向键无用。安装vim即可。 @apt-get install vim@]]></description>
			<content:encoded><![CDATA[<p></p><p>话说redhat el4的4cd在搬家时丢失之后，索性就装了ubuntu7.04,毕竟很多人推荐嘛。安装很便捷，也很快速，但是装完后小问题却也有一些。今天有朋友装ubuntu，也遇到了其中的几个，代为解决之，留个笔记。</p>
<p>h3. 没声音</p>
<p>@aplay -l@ 查看device型号</p>
<blockquote><p>card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]</p></blockquote>
<p>这里有份详细的指南, &#8220;Comprehensive Sound Problem Solutions Guide&#8221;:http://ubuntuforums.org/showthread.php?t=205449<br />
不过&#8230;按部就班之后，问题并没有立即得到解决。</p>
<p>调整mixer,确保mixer/Switches里以下三项状态如下，其余随意即可</p>
<blockquote><p>
    Headphone jack Sense [Off]<br />
    Line jack Sense [Off]<br />
    Spread Front to Surround and Center/LFE [ON]
</p></blockquote>
<p>当然,mixer/playback里Master Surround和PCM也需打开</p>
<p>h3. VI arrow key bug</p>
<p>使用vi编辑文本，在INSERT模式下，方向键无用。安装vim即可。<br />
@apt-get install vim@</p>
<img src="http://blog.efrees.com/?ak_action=api_record_view&id=6&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blog.efrees.com/archives/resolved-ubuntu-sound-problems-on-sis-si7012/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UBUNTU:启用mod_rewrite</title>
		<link>http://blog.efrees.com/archives/ubuntu-load-mod_rewrite</link>
		<comments>http://blog.efrees.com/archives/ubuntu-load-mod_rewrite#comments</comments>
		<pubDate>Wed, 12 Sep 2007 05:26:39 +0000</pubDate>
		<dc:creator>muzik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mod rewrite]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://efrees.com/blog/2008/ubuntu-load-mod_rewrite/</guid>
		<description><![CDATA[如果不想重装的话，也可以用ubuntu7.04自带的apache2,版本是2.2.3。默认的安装没有启用mod_rewrite,作为一个ubuntu新手，我迷惘了.. @a2enmod rewrite@ 即可 要用.htaccess的话，记得把 @AllowOverride none@ 改成 @AllowOverride all@ h3. 外部连接 * &#8220;mod_rewrite@ubuntuforums&#8221;:http://ubuntuforums.org/archive/index.php/t-7304.html Tags: Linux, Ubuntu, Rewrite Related posts:Ubuntu下硬盘安装Windows7 此前在ubuntu下用virtualbox装了份windows7，确实比以往的windows好用许多。于是花了点时间把机子上原来与ubuntu并存的windowsXP升级成windows7。 所需工具、文件 Windows 7安装镜像; 我下载的是7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso,3.1G。 Grub4Dos 用于引导windows安装，后来听说Grub2也行，还要更方便一些，但我没可能再装一遍，以下还是以grub4dos为例; EasyBCD 用于在windows安装完成后找回启动ubuntu的菜单. 备份MBR... Ubuntu:又再装了Apache,mysql,Php等等等 话说前几天把redhat el4上的php5.1.4装成了5.2.4,之后发现去年写的代码跑不起来了，检查一番发现是因为没有gd和mbstring。我为人比较的不严谨，既忘了把php装成和以前一样的环境，写脚本时也没有考虑那么多，于是如此。平时又还比较爱搞，但是一段时间过去，很难记得上次编译时的配置，总还得查看一下phpinfo才知。但像这次，已经被重装过了，以前的以前的配置如何，可就不知道是什么样子的了。 今天又在ubuntu上重装了apache,ruby,和php,笔记一下。 h4. apache ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-ssl... 解决ubuntu鼠标右键自动新建文件夹的问题 最近我的鼠标很难用。具体表现是，点下鼠标右键，菜单一闪即逝，并且菜单上的第一项会被选中执行，比如： 在File Browse界面，点击右键后会新建一个文件夹，因为右键菜单第一项是create folder 在Firefox里，点击右键会Select All 在Aptana Studio里，点击右键会新建一个文件 当然，出问题的不仅仅是这些地方。一开始我以为我鼠标又坏了——年初新置的两台组装机，鼠标都是杂牌，此前已经坏掉一个。 但随后发现，在新装的Windows虚拟机里，鼠标却又正常。google了一轮，发现遇到类似问题的人还不少。比如这个，这个，这个，这个。我这也才敢确认，这不是我鼠标的问题。...

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/ubunt-install-windows7.html' rel='bookmark' title='Permanent Link: Ubuntu下硬盘安装Windows7'>Ubuntu下硬盘安装Windows7</a> <small>此前在ubuntu下用virtualbox装了份windows7，确实比以往的windows好用许多。于是花了点时间把机子上原来与ubuntu并存的windowsXP升级成windows7。 所需工具、文件 Windows 7安装镜像; 我下载的是7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso,3.1G。 Grub4Dos 用于引导windows安装，后来听说Grub2也行，还要更方便一些，但我没可能再装一遍，以下还是以grub4dos为例; EasyBCD 用于在windows安装完成后找回启动ubuntu的菜单. 备份MBR...</small></li>
<li><a href='http://blog.efrees.com/archives/install-php-mysql-apache-again' rel='bookmark' title='Permanent Link: Ubuntu:又再装了Apache,mysql,Php等等等'>Ubuntu:又再装了Apache,mysql,Php等等等</a> <small>话说前几天把redhat el4上的php5.1.4装成了5.2.4,之后发现去年写的代码跑不起来了，检查一番发现是因为没有gd和mbstring。我为人比较的不严谨，既忘了把php装成和以前一样的环境，写脚本时也没有考虑那么多，于是如此。平时又还比较爱搞，但是一段时间过去，很难记得上次编译时的配置，总还得查看一下phpinfo才知。但像这次，已经被重装过了，以前的以前的配置如何，可就不知道是什么样子的了。 今天又在ubuntu上重装了apache,ruby,和php,笔记一下。 h4. apache ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-ssl...</small></li>
<li><a href='http://blog.efrees.com/ubuntu-mouse-right-click-auto-selection-cteate-folder-problem-fix.html' rel='bookmark' title='Permanent Link: 解决ubuntu鼠标右键自动新建文件夹的问题'>解决ubuntu鼠标右键自动新建文件夹的问题</a> <small>最近我的鼠标很难用。具体表现是，点下鼠标右键，菜单一闪即逝，并且菜单上的第一项会被选中执行，比如： 在File Browse界面，点击右键后会新建一个文件夹，因为右键菜单第一项是create folder 在Firefox里，点击右键会Select All 在Aptana Studio里，点击右键会新建一个文件 当然，出问题的不仅仅是这些地方。一开始我以为我鼠标又坏了——年初新置的两台组装机，鼠标都是杂牌，此前已经坏掉一个。 但随后发现，在新装的Windows虚拟机里，鼠标却又正常。google了一轮，发现遇到类似问题的人还不少。比如这个，这个，这个，这个。我这也才敢确认，这不是我鼠标的问题。...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p>如果不想重装的话，也可以用ubuntu7.04自带的apache2,版本是2.2.3。默认的安装没有启用mod_rewrite,作为一个ubuntu新手，我迷惘了..<br />
@a2enmod rewrite@ 即可<br />
要用.htaccess的话，记得把 @AllowOverride none@ 改成 @AllowOverride all@</p>
<p>h3. 外部连接</p>
<p>* &#8220;mod_rewrite@ubuntuforums&#8221;:http://ubuntuforums.org/archive/index.php/t-7304.html<!-- technorati tags begin -->
<p style="font-size:10px;text-align:right;">Tags: <a href="http://technorati.com/tag/Linux" rel="tag">Linux</a>, <a href="http://technorati.com/tag/Ubuntu" rel="tag">Ubuntu</a>, <a href="http://technorati.com/tag/Rewrite" rel="tag">Rewrite</a></p>
<p><!-- technorati tags end --></p>
<img src="http://blog.efrees.com/?ak_action=api_record_view&id=5&type=feed" alt="" />

<h3>Related posts:</h3><ol><li><a href='http://blog.efrees.com/ubunt-install-windows7.html' rel='bookmark' title='Permanent Link: Ubuntu下硬盘安装Windows7'>Ubuntu下硬盘安装Windows7</a> <small>此前在ubuntu下用virtualbox装了份windows7，确实比以往的windows好用许多。于是花了点时间把机子上原来与ubuntu并存的windowsXP升级成windows7。 所需工具、文件 Windows 7安装镜像; 我下载的是7600.16385.090713-1255_x64fre_client_zh-cn_Retail_Ultimate-GRMCULXFRER_CN_DVD.iso,3.1G。 Grub4Dos 用于引导windows安装，后来听说Grub2也行，还要更方便一些，但我没可能再装一遍，以下还是以grub4dos为例; EasyBCD 用于在windows安装完成后找回启动ubuntu的菜单. 备份MBR...</small></li>
<li><a href='http://blog.efrees.com/archives/install-php-mysql-apache-again' rel='bookmark' title='Permanent Link: Ubuntu:又再装了Apache,mysql,Php等等等'>Ubuntu:又再装了Apache,mysql,Php等等等</a> <small>话说前几天把redhat el4上的php5.1.4装成了5.2.4,之后发现去年写的代码跑不起来了，检查一番发现是因为没有gd和mbstring。我为人比较的不严谨，既忘了把php装成和以前一样的环境，写脚本时也没有考虑那么多，于是如此。平时又还比较爱搞，但是一段时间过去，很难记得上次编译时的配置，总还得查看一下phpinfo才知。但像这次，已经被重装过了，以前的以前的配置如何，可就不知道是什么样子的了。 今天又在ubuntu上重装了apache,ruby,和php,笔记一下。 h4. apache ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-ssl...</small></li>
<li><a href='http://blog.efrees.com/ubuntu-mouse-right-click-auto-selection-cteate-folder-problem-fix.html' rel='bookmark' title='Permanent Link: 解决ubuntu鼠标右键自动新建文件夹的问题'>解决ubuntu鼠标右键自动新建文件夹的问题</a> <small>最近我的鼠标很难用。具体表现是，点下鼠标右键，菜单一闪即逝，并且菜单上的第一项会被选中执行，比如： 在File Browse界面，点击右键后会新建一个文件夹，因为右键菜单第一项是create folder 在Firefox里，点击右键会Select All 在Aptana Studio里，点击右键会新建一个文件 当然，出问题的不仅仅是这些地方。一开始我以为我鼠标又坏了——年初新置的两台组装机，鼠标都是杂牌，此前已经坏掉一个。 但随后发现，在新装的Windows虚拟机里，鼠标却又正常。google了一轮，发现遇到类似问题的人还不少。比如这个，这个，这个，这个。我这也才敢确认，这不是我鼠标的问题。...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://blog.efrees.com/archives/ubuntu-load-mod_rewrite/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: blog.efrees.com @ 2010-09-06 13:03:06 -->