Translation

(itstool) path: sect1/para
If <citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> or <citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used, disable host time synchronization:
198/2300
Context English Chinese (Simplified) (zh_CN) State
All of the FireWire, and USB device drivers can be removed from a custom kernel configuration file. <application>VMware Fusion</application> provides a virtual network adapter used by the <citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry> driver, so all network devices except for <citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry> can be removed from the kernel. 所有的SCSI,FireWire及USB装置可以从自定义的核心配置文件中移除。<application>VMware Fusion</application>提供的虚拟网络卡使用<citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry>驱动程序,所以除了<citerefentry><refentrytitle>em</refentrytitle><manvolnum>4</manvolnum></citerefentry>外的所有网络装置可以自核心中移除。
The most basic networking setup uses DHCP to connect the virtual machine to the same local area network as the host <trademark class="registered">Mac</trademark>. This can be accomplished by adding <literal>ifconfig_em0="DHCP"</literal> to <filename>/etc/rc.conf</filename>. More advanced networking setups are described in <xref linkend="advanced-networking"/>. 最基本的网络设定是使用DHCP来让虚拟机器联机到与主端<trademark class="registered">Mac</trademark>相同的区域网路,这可以透过加入<literal>ifconfig_em0=“DHCP”</literal>到<filename>/etc/rc.conf</filename>来完成。更进阶的网络设定在<xref linkend="advanced-networking"/>中描述。
FreeBSD as a Guest on <trademark>VirtualBox</trademark> 在<trademark>VirtualBox</trademark>使用FreeBSD作为客端
FreeBSD works well as a guest in <application><trademark>VirtualBox</trademark></application>. The virtualization software is available for most common operating systems, including FreeBSD itself. 在<application><trademark>VirtualBox</trademark></application>中使用FreeBSD做为客端系统也可运作的很好,虚拟化软件可支持最常见的几个操作系统,这当然也包含FreeBSD。
The <application><trademark>VirtualBox</trademark></application> guest additions provide support for: <application><trademark>VirtualBox</trademark></application> guest additions支持以下功能:
Clipboard sharing. 剪贴板共享。
Mouse pointer integration. 鼠标指标整合。
Host time synchronization. 主机时间同步。
Window scaling. 视窗缩放。
Seamless mode. 无痕模式。
These commands are run in the FreeBSD guest. 以下指令均是在FreeBSD客端中执行。
First, install the <package>emulators/virtualbox-ose-additions</package> package or port in the FreeBSD guest. This will install the port: 首先,在FreeBSD客端安装<package>emulators/virtualbox-ose-additions</package>套件或Port,以下指令会安装Port:
<prompt>#</prompt> <userinput>cd /usr/ports/emulators/virtualbox-ose-additions &amp;&amp; make install clean</userinput> <prompt>#</prompt> <userinput>cd /usr/ports/emulators/virtualbox-ose-additions &amp;&amp; make install clean</userinput>
Add these lines to <filename>/etc/rc.conf</filename>: 加入下行到<filename>/etc/rc.conf</filename>:
vboxguest_enable="YES"
vboxservice_enable="YES"
vboxguest_enable="YES"
vboxservice_enable="YES"
If <citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> or <citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used, disable host time synchronization: 若有使用<citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry>或<citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry>,便可关闭主机时间同步功能:
vboxservice_flags="--disable-timesync" vboxservice_flags="--disable-timesync"
<application>Xorg</application> will automatically recognize the <literal>vboxvideo</literal> driver. It can also be manually entered in <filename>/etc/X11/xorg.conf</filename>: <application>Xorg</application>会自动辨识<literal>vboxvideo</literal>驱动程序,也可手动在<filename>/etc/X11/xorg.conf</filename>中输入:
Section "Device"
Identifier "Card0"
Driver "vboxvideo"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox Graphics Adapter"
EndSection
Section "Device"
Identifier "Card0"
Driver "vboxvideo"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox Graphics Adapter"
EndSection
To use the <literal>vboxmouse</literal> driver, adjust the mouse section in <filename>/etc/X11/xorg.conf</filename>: 要使用<literal>vboxmouse</literal>驱动程序,可调整在<filename>/etc/X11/xorg.conf</filename>中与鼠标相关的一节:
Section "InputDevice"
Identifier "Mouse0"
Driver "vboxmouse"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "vboxmouse"
EndSection
<acronym>HAL</acronym> users should create the following <filename>/usr/local/etc/hal/fdi/policy/90-vboxguest.fdi</filename> or copy it from <filename>/usr/local/share/hal/fdi/policy/10osvendor/90-vboxguest.fdi</filename>: <acronym>HAL</acronym>的使用者应建立以下<filename>/usr/local/etc/hal/fdi/policy/90-vboxguest.fdi</filename>或复制自<filename>/usr/local/share/hal/fdi/policy/10osvendor/90-vboxguest.fdi</filename>:
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!--
# Sun VirtualBox
# Hal driver description for the vboxmouse driver
# $Id: chapter.xml,v 1.33 2012-03-17 04:53:52 eadler Exp $

Copyright (C) 2008-2009 Sun Microsystems, Inc.

This file is part of VirtualBox Open Source Edition (OSE, as
available from http://www.virtualbox.org. This file is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License (GPL) as published by the Free Software
Foundation, in version 2 as it comes in the "COPYING" file of the
VirtualBox OSE distribution. VirtualBox OSE is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.

Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
Clara, CA 95054 USA or visit http://www.sun.com if you need
additional information or have any questions.
--&gt;
&lt;deviceinfo version="0.2"&gt;
&lt;device&gt;
&lt;match key="info.subsystem" string="pci"&gt;
&lt;match key="info.product" string="VirtualBox guest Service"&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input&lt;/append&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input.mouse&lt;/append&gt;
&lt;merge key="input.x11_driver" type="string"&gt;vboxmouse&lt;/merge&gt;
&lt;merge key="input.device" type="string"&gt;/dev/vboxguest&lt;/merge&gt;
&lt;/match&gt;
&lt;/match&gt;
&lt;/device&gt;
&lt;/deviceinfo&gt;
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;!--
# Sun VirtualBox
# Hal driver description for the vboxmouse driver
# $Id: chapter.xml,v 1.33 2012-03-17 04:53:52 eadler Exp $

Copyright (C) 2008-2009 Sun Microsystems, Inc.

This file is part of VirtualBox Open Source Edition (OSE, as
available from http://www.virtualbox.org. This file is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License (GPL) as published by the Free Software
Foundation, in version 2 as it comes in the "COPYING" file of the
VirtualBox OSE distribution. VirtualBox OSE is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.

Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
Clara, CA 95054 USA or visit http://www.sun.com if you need
additional information or have any questions.
--&gt;
&lt;deviceinfo version="0.2"&gt;
&lt;device&gt;
&lt;match key="info.subsystem" string="pci"&gt;
&lt;match key="info.product" string="VirtualBox guest Service"&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input&lt;/append&gt;
&lt;append key="info.capabilities" type="strlist"&gt;input.mouse&lt;/append&gt;
&lt;merge key="input.x11_driver" type="string"&gt;vboxmouse&lt;/merge&gt;
&lt;merge key="input.device" type="string"&gt;/dev/vboxguest&lt;/merge&gt;
&lt;/match&gt;
&lt;/match&gt;
&lt;/device&gt;
&lt;/deviceinfo&gt;
Shared folders for file transfers between host and VM are accessible by mounting them using <literal>mount_vboxvfs</literal>. A shared folder can be created on the host using the VirtualBox GUI or via <command>vboxmanage</command>. For example, to create a shared folder called <replaceable>myshare</replaceable> under <filename><replaceable>/mnt/bsdboxshare</replaceable></filename> for the VM named <replaceable>BSDBox</replaceable>, run: 主机和 VM 之间文件传输的共享文件夹可通过使用<literal>mount_vboxvfs</literal>进行装载来访问。可以使用 VirtualBox GUI 或通过<command>vboxmanage</command>在主机上创建共享文件夹。例如,在<filename><replaceable>/mnt/bsdboxshare</replaceable></filename>中为<replaceable>BSDBox</replaceable>虚拟机创建名为 <replaceable>myshare</replaceable>的共享文件夹,请运行:
<prompt>#</prompt> <userinput>vboxmanage sharedfolder add '<replaceable>BSDBox</replaceable>' --name <replaceable>myshare</replaceable> --hostpath <replaceable>/mnt/bsdboxshare</replaceable></userinput> <prompt>#</prompt> <userinput>vboxmanage sharedfolder add '<replaceable>BSDBox</replaceable>' --name <replaceable>myshare</replaceable> --hostpath <replaceable>/mnt/bsdboxshare</replaceable></userinput>
Note that the shared folder name must not contain spaces. Mount the shared folder from within the guest system like this: 请注意,共享文件夹名称不得包含空格。从来宾系统内装载共享文件夹,如下所示:
<prompt>#</prompt> <userinput>mount_vboxvfs -w <replaceable>myshare</replaceable> <replaceable>/mnt</replaceable></userinput> <prompt>#</prompt> <userinput>mount_vboxvfs -w <replaceable>myshare</replaceable> <replaceable>/mnt</replaceable></userinput>
FreeBSD as a Host with <trademark>VirtualBox</trademark> 使用 <trademark>VirtualBox</trademark> 虚拟机
<application><trademark>VirtualBox</trademark></application> is an actively developed, complete virtualization package, that is available for most operating systems including <trademark class="registered">Windows</trademark>, <trademark class="registered">Mac OS</trademark>, <trademark class="registered">Linux</trademark> and FreeBSD. It is equally capable of running <trademark class="registered">Windows</trademark> or <trademark class="registered">UNIX</trademark>-like guests. It is released as open source software, but with closed-source components available in a separate extension pack. These components include support for USB 2.0 devices. More information may be found on the <link xlink:href="http://www.virtualbox.org/wiki/Downloads"><quote>Downloads</quote> page of the <application><trademark>VirtualBox</trademark></application> wiki</link>. Currently, these extensions are not available for FreeBSD. <application><trademark>VirtualBox</trademark></application>是一套积极开发、完整的虚拟化套件,适用大多数操作系统,包含<trademark class="registered">Windows</trademark>,<trademark class="registered">Mac OS</trademark>,<trademark class="registered">Linux</trademark>与FreeBSD,它同样能够执行类<trademark class="registered">Windows</trademark>或<trademark class="registered">UNIX</trademark>的客端系统。它是以开源软件的方式发布,但闭源元件可独立在扩充包中使用,这些元件包含对USB 2.0装置的支持。更多信息可在<link xlink:href="http://www.virtualbox.org/wiki/Downloads"><application><trademark>VirtualBox</trademark></application> wiki的<quote>Downloads</quote>页面</link>。目前,这些扩充套件并不支持FreeBSD。
Installing <trademark>VirtualBox</trademark> 安装<trademark>VirtualBox</trademark>
<application><trademark>VirtualBox</trademark></application> is available as a FreeBSD package or port in <package>emulators/virtualbox-ose</package>. The port can be installed using these commands: <application><trademark>VirtualBox</trademark></application>可于<package>emulators/virtualbox-ose</package>以FreeBSD套件或Port的方式取得。要安装Port可使用以下指令:

Loading…

If <citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry> or <citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry> is used, disable host time synchronization:
若有使用<citerefentry><refentrytitle>ntpd</refentrytitle><manvolnum>8</manvolnum></citerefentry>或<citerefentry><refentrytitle>ntpdate</refentrytitle><manvolnum>8</manvolnum></citerefentry>,便可关闭主机时间同步功能:
11 months ago
Browse all component changes

Glossary

English Chinese (Simplified) (zh_CN)
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/para
Source string location
book.translate.xml:42727
String age
a year ago
Source string age
a year ago
Translation file
books/zh_CN/handbook.po, string 6920