<?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>#raynix# &#187; VirtualBox</title>
	<atom:link href="http://raynix.info/archives/tag/virtualbox/feed" rel="self" type="application/rss+xml" />
	<link>http://raynix.info</link>
	<description>You aren't the man you used to be 2 years ago.</description>
	<lastBuildDate>Sat, 04 Sep 2010 07:51:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VirtualBox＋招行专业版</title>
		<link>http://raynix.info/archives/638</link>
		<comments>http://raynix.info/archives/638#comments</comments>
		<pubDate>Fri, 14 Aug 2009 02:33:52 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[招商银行]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=638</guid>
		<description><![CDATA[最近招行在做专业版网上银行的促销，原来要60元的U盾居然免费了，不要白不要啊。拿来以后，我不得不求助VirtualBox了，好在一切顺利，VB里面WinXP毫不含糊的识别了VB外面的U盾，登录成功了。 附：将USB设备传递给VirtualBox（Ubuntu 9.04）： 另外，VirtualBox 3.0.4出来了！没错，10天前就出来了，我才注意到。 © raynix for #raynix#, 2009. &#124; Permalink &#124; 唉, 一个评论都没 &#124; Add to del.icio.us Post tags: Ubuntu, VirtualBox, 招商银行 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p><a href="http://raynix.info/wp-content/uploads/2009/08/Screenshot.png"><img class="alignnone size-medium wp-image-639" title="Screenshot" src="http://raynix.info/wp-content/uploads/2009/08/Screenshot-300x225.png" alt="Screenshot" width="300" height="225" /></a></p>
<p>最近招行在做专业版网上银行的促销，原来要60元的U盾居然免费了，不要白不要啊。拿来以后，我不得不求助VirtualBox了，好在一切顺利，VB里面WinXP毫不含糊的识别了VB外面的U盾，登录成功了。</p>
<p>附：将USB设备传递给VirtualBox（Ubuntu 9.04）：</p>
<p><a href="http://raynix.info/wp-content/uploads/2009/08/screenshot_011.png"><img class="alignnone size-medium wp-image-640" title="screenshot_011" src="http://raynix.info/wp-content/uploads/2009/08/screenshot_011-300x242.png" alt="screenshot_011" width="300" height="242" /></a></p>
<p>另外，<a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> 3.0.4出来了！没错，10天前就出来了，我才注意到。</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2009. |
<a href="http://raynix.info/archives/638">Permalink</a> |
<a href="http://raynix.info/archives/638#comments">唉, 一个评论都没</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/638&title=VirtualBox＋招行专业版">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a>, <a href="http://raynix.info/archives/tag/virtualbox" rel="tag">VirtualBox</a>, <a href="http://raynix.info/archives/tag/%e6%8b%9b%e5%95%86%e9%93%b6%e8%a1%8c" rel="tag">招商银行</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/638/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox 3.0的透明窗口特效/问题</title>
		<link>http://raynix.info/archives/594</link>
		<comments>http://raynix.info/archives/594#comments</comments>
		<pubDate>Tue, 07 Jul 2009 12:55:19 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=594</guid>
		<description><![CDATA[前些天我兴冲冲的把VirtualBox升级到了3.0了，但是却得到了如下这种奇特效果： VB窗口内的像素似乎和背景像素做了加法……搜索一下，还好我不是孤独的，已经有了解决方法： [ubuntu] Transparency in VirtualBox 3.0 window. 简单的说只有两步：首先打开CompizConfig Settings Manager，如果你还没有装这个，可以在Add/Remove里面安装。 之后在“Window Rules”里找到“No ARGB Visuals”，并写入“class=VirtualBox”。 然后重新开启VirtualBox，成功！ © raynix for #raynix#, 2009. &#124; Permalink &#124; 有且只有一条评论 &#124; Add to del.icio.us Post tags: VirtualBox Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>前些天我兴冲冲的把<a href="http://linuxdesktop.cn/2009/06/30/virtualbox-3-0-released.html" target="_blank">VirtualBox升级到了3.0</a>了，但是却得到了如下这种奇特效果：</p>
<p><a href="http://picasaweb.google.com/lh/photo/8sRH3YawXWOO6x68qrSSsA?feat=embedwebsite"><img src="http://lh5.ggpht.com/_ZO8fi9o7nlg/SlLwunnwfKI/AAAAAAAABOc/Ss4IxqoA82Y/s144/VirtualBox3.0-bug_Screenshot.png" alt="" /></a></p>
<p>VB窗口内的像素似乎和背景像素做了加法……搜索一下，还好我不是孤独的，已经有了解决方法：</p>
<p><a href="http://ubuntuforums.org/showthread.php?t=1202470" target="_blank"><strong><span style="font-weight: bold; color: #980101;">[ubuntu]</span> Transparency in VirtualBox 3.0 window. </strong></a></p>
<p>简单的说只有两步：首先打开CompizConfig Settings Manager，如果你还没有装这个，可以在Add/Remove里面安装。</p>
<p><a href="http://picasaweb.google.com/lh/photo/PDafhDREwIy9dRyMrbnUXA?feat=embedwebsite"><img src="http://lh6.ggpht.com/_ZO8fi9o7nlg/SlL3iAZPUDI/AAAAAAAABOg/J_6KJeuB8Wc/s144/fix-virtualbox3.0-1.png" alt="" /></a></p>
<p>之后在“Window Rules”里找到“No ARGB Visuals”，并写入“class=VirtualBox”。</p>
<p><a href="http://picasaweb.google.com/lh/photo/b4UeBc3aESe0rgXBoWfZIQ?feat=embedwebsite"><img src="http://lh5.ggpht.com/_ZO8fi9o7nlg/SlL3iQvRdFI/AAAAAAAABOk/QoOOMfrwjhY/s144/fix-virtualbox3.0-2.png" alt="" /></a></p>
<p>然后重新开启VirtualBox，成功！</p>
<p><a href="http://picasaweb.google.com/lh/photo/VtJSAqsqQfE3Uq4N_Dv3tQ?feat=embedwebsite"><img src="http://lh5.ggpht.com/_ZO8fi9o7nlg/SlL3idKBQKI/AAAAAAAABOo/qAw7m52yrNM/s144/fix-virtualbox3.0-3.png" alt="" /></a></p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2009. |
<a href="http://raynix.info/archives/594">Permalink</a> |
<a href="http://raynix.info/archives/594#comments">有且只有一条评论</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/594&title=VirtualBox 3.0的透明窗口特效/问题">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/virtualbox" rel="tag">VirtualBox</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/594/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>把网站服务器塞进VirtualBox</title>
		<link>http://raynix.info/archives/385</link>
		<comments>http://raynix.info/archives/385#comments</comments>
		<pubDate>Mon, 01 Dec 2008 08:53:01 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=385</guid>
		<description><![CDATA[只能怪我永不消逝的好奇心，我最近又想试试一个叫做Plone的基于Python的CMS了。可是手头没有多余的服务器来装Plone需要的Zope Application Server，如果装在自己的Ubuntu本本上，又觉得可能影响现有软件，而且头一次接触Python世界，心里没底。 于是我在VirtualBox里新建了一个虚拟机，并开始安装Ubuntu Server。第一次运行失败了，错误信息是什么"no kernel for your CPU"，Google了一下，原来需要开启PAE/Nx支持才行的： 然后顺利完成Ubuntu Server的安装，这里不须细说了。 我打算先弄好LAMP在虚拟机上，然后在另一个虚拟机上尝试ZOPE。接下来的问题的做端口转发，因为虚拟机上的GuestOS是通过NAT连接到我的本本的，好比一台电脑通过路由器上网一样。方法比较麻烦： VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 80 VBoxManage setextradata "Linux Guest" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 8000 目前似乎只有敲命令了。上面的是样本："Linux Guest"是你VirtualBox里面虚拟机的名字，"pcnet"是虚拟网卡的名字（缺省），其它只要照猫画虎即可。注意一点就是HostPort必须是大于1024的，这是因为Linux的安全机制规定&#60;1024的端口只能被root用户使用（当然，如果您开机就root的话……）。 这样通过端口映射，已经可以访问到虚拟机上的HTTP服务了。 下一步是为Virtual Machine上面设置Virtual Host，够拗口的吧…… 由于访问是在Host OS上面，所以在Host OS里设置几个域名： sudo vim /etc/hosts 添加 127.0.0.1  vh1.localhost 127.0.0.1  vh2.localhost 然后在Guest OS上面修改Apache2配置，添加VH记录： &#60;VirtualHost *:80&#62; ServerName vh1.localhost DocumentRoot /path/to/your/website [...]]]></description>
			<content:encoded><![CDATA[<p>只能怪我永不消逝的好奇心，我最近又想试试一个叫做Plone的基于Python的CMS了。可是手头没有多余的服务器来装Plone需要的Zope Application Server，如果装在自己的Ubuntu本本上，又觉得可能影响现有软件，而且头一次接触Python世界，心里没底。</p>
<p>于是我在VirtualBox里新建了一个虚拟机，并开始安装Ubuntu Server。第一次运行失败了，错误信息是什么"no kernel for your CPU"，Google了一下，原来需要开启PAE/Nx支持才行的：</p>
<p><a href="http://picasaweb.google.com/lh/photo/OKzHnmIF1TceO-Y7I4F4ug"><img src="http://lh6.ggpht.com/_ZO8fi9o7nlg/STOiFJ6C9pI/AAAAAAAAAuU/mA7eJwoGKCU/s144/Screenshot-Sun%20xVM%20VirtualBox.png" alt="" /></a></p>
<p>然后顺利完成Ubuntu Server的安装，这里不须细说了。</p>
<p>我打算先弄好LAMP在虚拟机上，然后在另一个虚拟机上尝试ZOPE。接下来的问题的做端口转发，因为虚拟机上的GuestOS是通过NAT连接到我的本本的，好比一台电脑通过路由器上网一样。方法比较麻烦：</p>
<blockquote><p>VBoxManage setextradata "Linux Guest"<br />
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP<br />
VBoxManage setextradata "Linux Guest"<br />
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 80<br />
VBoxManage setextradata "Linux Guest"<br />
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 8000</p></blockquote>
<p>目前似乎只有敲命令了。上面的是样本："Linux Guest"是你VirtualBox里面虚拟机的名字，"pcnet"是虚拟网卡的名字（缺省），其它只要照猫画虎即可。注意一点就是HostPort必须是大于1024的，这是因为Linux的安全机制规定&lt;1024的端口只能被root用户使用（当然，如果您开机就root的话……）。</p>
<p><a href="http://picasaweb.google.com/lh/photo/_nVd5Stv3euepT3u__qE2Q"><img src="http://lh5.ggpht.com/_ZO8fi9o7nlg/STOiE04ivPI/AAAAAAAAAuM/T5pkAPyurqg/s144/Screenshot-Mozilla%20Firefox.png" alt="" /></a></p>
<p>这样通过端口映射，已经可以访问到虚拟机上的HTTP服务了。</p>
<p>下一步是为Virtual Machine上面设置Virtual Host，够拗口的吧……</p>
<p>由于访问是在Host OS上面，所以在Host OS里设置几个域名：</p>
<blockquote><p>sudo vim /etc/hosts</p></blockquote>
<p>添加</p>
<blockquote><p>127.0.0.1  vh1.localhost</p>
<p>127.0.0.1  vh2.localhost</p></blockquote>
<p>然后在Guest OS上面修改Apache2配置，添加VH记录：</p>
<blockquote><p>&lt;VirtualHost *:80&gt;</p>
<p>ServerName vh1.localhost</p>
<p>DocumentRoot /path/to/your/website</p>
<p>&lt;/VirtualHost&gt;</p></blockquote>
<p>重新启动Guest OS上面的Apache2服务。最后在Host OS上用FireFox访问 http://vh1.localhost:8000，应该能看到你配置的网站了。</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2008. |
<a href="http://raynix.info/archives/385">Permalink</a> |
<a href="http://raynix.info/archives/385#comments">2 条评论</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/385&title=把网站服务器塞进VirtualBox">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/virtualbox" rel="tag">VirtualBox</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/385/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>搞定VirtualBox 1.6在ubuntu 8.04里的键盘锁死问题</title>
		<link>http://raynix.info/archives/283</link>
		<comments>http://raynix.info/archives/283#comments</comments>
		<pubDate>Fri, 16 May 2008 02:00:24 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=283</guid>
		<description><![CDATA[现在系统升级可不是那么好玩的了，很多Windows XP -&#62; Vista -&#62; XP的过程就是例子。而ubuntu 7.10 -&#62; 8.04的道路也不平坦，因为自从升级了之后VirtualBox里面的Windows XP就不能使用键盘了。 搜索了一下，ubuntu forums上面已经有了答案： File -&#62; Preferences -&#62; Input; then uncheck "Autocapture keyboard"， 经过测试，一切恢复正常了。 © raynix for #raynix#, 2008. &#124; Permalink &#124; 2 条评论 &#124; Add to del.icio.us Post tags: Ubuntu, VirtualBox Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>现在系统升级可不是那么好玩的了，很多Windows XP -&gt; Vista -&gt; XP的过程就是例子。而ubuntu 7.10 -&gt; 8.04的道路也不平坦，因为自从升级了之后VirtualBox里面的Windows XP就不能使用键盘了。</p>
<p>搜索了一下，<a href="http://ubuntuforums.org/showthread.php?t=746817" target="_blank">ubuntu forums</a>上面已经有了答案：</p>
<p>File -&gt; Preferences -&gt; Input; then uncheck "Autocapture keyboard"，</p>
<p>经过测试，一切恢复正常了。</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2008. |
<a href="http://raynix.info/archives/283">Permalink</a> |
<a href="http://raynix.info/archives/283#comments">2 条评论</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/283&title=搞定VirtualBox 1.6在ubuntu 8.04里的键盘锁死问题">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a>, <a href="http://raynix.info/archives/tag/virtualbox" rel="tag">VirtualBox</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/283/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu、VirtualBox以及USB</title>
		<link>http://raynix.info/archives/261</link>
		<comments>http://raynix.info/archives/261#comments</comments>
		<pubDate>Fri, 07 Mar 2008 01:42:51 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[自由软件]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[开源]]></category>

		<guid isPermaLink="false">http://raynix.cn/archives/261</guid>
		<description><![CDATA[参考链接： http://www.xxlinux.com/linux/article/development/soft/20071126/12656.html https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/151585 http://www.virtualbox.org/ticket/747 http://forums.virtualbox.org/viewtopic.php?p=981&#38;sid=6f27866dd1b767a59739ce46d452cc9e 也许是VirtualBox还不够成熟，正常安装好之后，无法把USB设备指派给Guest系统。参考以上链接内的方法，我勉强把一个U盘给接上了，可以交换文件，但是其他USB设备例如手机、移动硬盘还是连不上。 希望VirtualBox以后解决这个问题。 © raynix for #raynix#, 2008. &#124; Permalink &#124; 唉, 一个评论都没 &#124; Add to del.icio.us Post tags: 自由软件, linux, Ubuntu, usb, VirtualBox, 开源 Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>参考链接：</p>
<p>http://www.xxlinux.com/linux/article/development/soft/20071126/12656.html</p>
<p>https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/151585</p>
<p>http://www.virtualbox.org/ticket/747</p>
<p>http://forums.virtualbox.org/viewtopic.php?p=981&amp;sid=6f27866dd1b767a59739ce46d452cc9e</p>
<p>也许是VirtualBox还不够成熟，正常安装好之后，无法把USB设备指派给Guest系统。参考以上链接内的方法，我勉强把一个U盘给接上了，可以交换文件，但是其他USB设备例如手机、移动硬盘还是连不上。</p>
<p><a href="http://picasaweb.google.com/raynix/Lib/photo#5171598923822853426"><img src="http://lh4.google.com/raynix/R8U10idA7TI/AAAAAAAAARw/M-r3jJT0O_8/s144/vbox10.jpeg" alt="" /></a></p>
<p>希望VirtualBox以后解决这个问题。</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2008. |
<a href="http://raynix.info/archives/261">Permalink</a> |
<a href="http://raynix.info/archives/261#comments">唉, 一个评论都没</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/261&title=Ubuntu、VirtualBox以及USB">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/%e8%87%aa%e7%94%b1%e8%bd%af%e4%bb%b6" rel="tag">自由软件</a>, <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a>, <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a>, <a href="http://raynix.info/archives/tag/usb" rel="tag">usb</a>, <a href="http://raynix.info/archives/tag/virtualbox" rel="tag">VirtualBox</a>, <a href="http://raynix.info/archives/tag/%e5%bc%80%e6%ba%90" rel="tag">开源</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
