<?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>FAQ Book &#187; Virtual Box</title>
	<atom:link href="https://blog.faq-book.com/?cat=303&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://blog.faq-book.com</link>
	<description>Some SOP,Note,Learned Article of IT  關於IT資訊界的筆記和學習紀錄</description>
	<lastBuildDate>Sun, 27 Mar 2022 12:25:43 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<atom:link rel='hub' href='https://blog.faq-book.com/?pushpress=hub'/>
		<item>
		<title>開啟Virtual Box 外連服務</title>
		<link>https://blog.faq-book.com/?p=2214</link>
		<comments>https://blog.faq-book.com/?p=2214#comments</comments>
		<pubDate>Thu, 23 Jun 2011 00:59:24 +0000</pubDate>
		<dc:creator>andy</dc:creator>
				<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[外連服務]]></category>

		<guid isPermaLink="false">http://blog.faq-book.com/?p=2214</guid>
		<description><![CDATA[<p><meta charset="utf-8" /><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; color: rgb(0, 0, 0); "><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">開啟命令提示字元<br />
	進入你安裝virtualbox的目錄;<br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">cd &quot;c:\Program Files\sun\VirtualBox&quot;</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444"><br />
	執行以下的指令;<br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata [Ubuntu] &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol&quot; TCP</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444"><br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata [Ubuntu] &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort&quot; 22</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444"><br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata [Ubuntu] &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort&quot; 3456</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444"><br />
	比較要注意的是&quot;ubuntu&quot;是你安裝在virtualbox上系統的名稱,&nbsp;<br />
	port3456則看你自己設定;</p>
<p>	設定http連線則複製以上指令,ssh改成http即可.<br />
	</font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata&nbsp; [input your vb_name]&nbsp; &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/Protocol&quot; TCP&nbsp;</font><font face="'courier new', monospace"></font><font color="#444444"><br />
	</font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata&nbsp; [input your vb_name] &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort&quot; 80&nbsp;</font><font face="'courier new', monospace"></font><font color="#444444"><br />
	</font><font face="'courier new', monospace"></font><font color="#444444">VBoxManage setextradata&nbsp; [input your vb_name] &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort&quot; 8000</font><font face="'courier new', monospace"></font><font color="#444444"><br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444"><br />
	接著重新執行virtualbox即可,第一次設定請重CMD 下指令 直接修改XML可能會失敗詳細原因尚未查明<br />
	</font><font size="2"></font><font face="'courier new', monospace"></font><font color="#444444">以上設定或者到目錄下C:\Users\Administrator\.VirtualBox\Machines\Work\ 找該機器的xml&nbsp;&nbsp;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ftp/GuestPort&quot; value=&quot;21&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ftp/HostPort&quot; value=&quot;2121&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ftp/Protocol&quot; value=&quot;TCP&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort&quot; value=&quot;80&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort&quot; value=&quot;8000&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/Protocol&quot; value=&quot;TCP&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort&quot; value=&quot;22&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort&quot; value=&quot;2222&quot;/&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ExtraDataItem name=&quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol&quot; value=&quot;TCP&quot;/&gt;</p>
<p>	在ubuntu預設似乎沒有ssh,<br />
	進入root權限,<br />
	apt-get install ssh 下載安裝;&nbsp;</p>
<p>	FTP相關：<br />
	</font></span></p>
<h1 style="font-weight: normal; "><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; color: rgb(0, 0, 0); "><font size="2"><a href="http://www.ubuntugeek.com/how-to-get-pasv-ftp-to-work-behind-a-nat-router-with-proftpd.html" rel="bookmark" title="Permanent link to How to get PASV FTP to work<br />
behind a NAT router with ProFTPD"><font face="'courier new', monospace"></font><font color="#444444">How to get PASV FTP to work behind a NAT router with ProFTPD</font></a></font></span></h1>
<p> <a href="https://blog.faq-book.com/?p=2214#more-2214" class="more-link">繼續閱讀 &raquo;</a></p>

<div class="wp_rp_wrap  wp_rp_pinterest" id="wp_rp_first"><div class="wp_rp_content"><h3 class="related_post_title">更多內容</h3><ul class="related_post wp_rp" style="visibility: visible"><li data-position="0" data-poid="in-1719" data-post-type="none" ><a href="https://blog.faq-book.com/?p=1719" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="[問題紀錄]Rubygem mysql 問題" /></a><a href="https://blog.faq-book.com/?p=1719" class="wp_rp_title">[問題紀錄]Rubygem mysql 問題</a></li><li data-position="1" data-poid="in-2473" data-post-type="none" ><a href="https://blog.faq-book.com/?p=2473" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt=".htaccess 簡單的用法" /></a><a href="https://blog.faq-book.com/?p=2473" class="wp_rp_title">.htaccess 簡單的用法</a></li><li data-position="2" data-poid="in-2419" data-post-type="none" ><a href="https://blog.faq-book.com/?p=2419" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="Apache-status 欄位說明" /></a><a href="https://blog.faq-book.com/?p=2419" class="wp_rp_title">Apache-status 欄位說明</a></li><li data-position="3" data-poid="in-2212" data-post-type="none" ><a href="https://blog.faq-book.com/?p=2212" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="Linux實用刪除檔案指令 " /></a><a href="https://blog.faq-book.com/?p=2212" class="wp_rp_title">Linux實用刪除檔案指令 </a></li><li data-position="4" data-poid="in-4383" data-post-type="none" ><a href="https://blog.faq-book.com/?p=4383" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2012/01/How-to-Install-PPTP-Server-on-Ubuntu.jpg" alt="How to Install PPTP Server on Ubuntu" /></a><a href="https://blog.faq-book.com/?p=4383" class="wp_rp_title">How to Install PPTP Server on Ubuntu</a></li><li data-position="5" data-poid="in-1768" data-post-type="none" ><a href="https://blog.faq-book.com/?p=1768" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="jQuery Formly 註冊表單" /></a><a href="https://blog.faq-book.com/?p=1768" class="wp_rp_title">jQuery Formly 註冊表單</a></li><li data-position="6" data-poid="in-2077" data-post-type="none" ><a href="https://blog.faq-book.com/?p=2077" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="[問題紀錄]安裝 ImageMagick Error" /></a><a href="https://blog.faq-book.com/?p=2077" class="wp_rp_title">[問題紀錄]安裝 ImageMagick Error</a></li><li data-position="7" data-poid="in-1375" data-post-type="none" ><a href="https://blog.faq-book.com/?p=1375" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="SSH 免密碼登入" /></a><a href="https://blog.faq-book.com/?p=1375" class="wp_rp_title">SSH 免密碼登入</a></li><li data-position="8" data-poid="in-1444" data-post-type="none" ><a href="https://blog.faq-book.com/?p=1444" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="PuTTYgen產生金鑰 (Windows使用)" /></a><a href="https://blog.faq-book.com/?p=1444" class="wp_rp_title">PuTTYgen產生金鑰 (Windows使用)</a></li><li data-position="9" data-poid="in-1917" data-post-type="none" ><a href="https://blog.faq-book.com/?p=1917" class="wp_rp_thumbnail"><img src="http://blog.faq-book.com/wp-content/uploads/2013/02/default-150x150.png" alt="[問題紀錄]發生找不到 mysql.sock 的處理方法" /></a><a href="https://blog.faq-book.com/?p=1917" class="wp_rp_title">[問題紀錄]發生找不到 mysql.sock 的處理方法</a></li></ul></div></div>
<div class='yarpp-related-rss yarpp-related-none'>
<h3>相關文章:</h3>
<p>沒有相關文章</p>
<img src='http://yarpp.org/pixels/96bfd12e93e905461749e105253e82f0'/>
</div>
]]></description>
		<wfw:commentRss>https://blog.faq-book.com/?feed=rss2&#038;p=2214</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
