Whitespace-only fixes, translators please ignore.
This commit is contained in:
parent
d9652dc82a
commit
7237a0a5f3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44408
1 changed files with 64 additions and 46 deletions
|
@ -4,23 +4,31 @@
|
|||
|
||||
$FreeBSD$
|
||||
-->
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="virtualization">
|
||||
<info><title>Virtualization</title>
|
||||
<authorgroup>
|
||||
<author><personname><firstname>Murray</firstname><surname>Stokely</surname></personname><contrib>Contributed by </contrib></author>
|
||||
</authorgroup>
|
||||
|
||||
</info>
|
||||
<chapter xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="virtualization">
|
||||
|
||||
|
||||
<info>
|
||||
<title>Virtualization</title>
|
||||
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Murray</firstname>
|
||||
<surname>Stokely</surname>
|
||||
</personname>
|
||||
<contrib>Contributed by </contrib>
|
||||
</author>
|
||||
</authorgroup>
|
||||
</info>
|
||||
|
||||
<sect1 xml:id="virtualization-synopsis">
|
||||
<title>Synopsis</title>
|
||||
|
||||
<para>Virtualization software allows multiple operating systems
|
||||
to run simultaneously on the same computer. Such software
|
||||
systems for PCs often involve a host operating system which runs
|
||||
the virtualization software and supports any number of guest
|
||||
<para>Virtualization software allows multiple operating systems to
|
||||
run simultaneously on the same computer. Such software systems
|
||||
for PCs often involve a host operating system which runs the
|
||||
virtualization software and supports any number of guest
|
||||
operating systems.</para>
|
||||
|
||||
<para>After reading this chapter, you will know:</para>
|
||||
|
@ -265,11 +273,13 @@
|
|||
the host &mac;. This can be accomplished by adding
|
||||
<literal>ifconfig_ed0="DHCP"</literal> to
|
||||
<filename>/etc/rc.conf</filename>. More advanced
|
||||
networking setups are described in <xref linkend="advanced-networking"/>.</para>
|
||||
networking setups are described in
|
||||
<xref linkend="advanced-networking"/>.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<!--
|
||||
Deactivate/hide this section as the instructions in there do NOT work any more:
|
||||
- FreeBSD 7.0 has reached its EOL a long time ago.
|
||||
|
@ -336,7 +346,8 @@ jkois@FreeBSD.org, 2010-06-18
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<title>Add a Menu Entry into Grub <filename>menu.lst</filename></title>
|
||||
<title>Add a Menu Entry into Grub
|
||||
<filename>menu.lst</filename></title>
|
||||
|
||||
<para>Edit <filename>/boot/grub/menu.lst</filename> and
|
||||
add the following lines:</para>
|
||||
|
@ -400,7 +411,7 @@ Domain-0 0 256 1 r––&nda
|
|||
<filename>xmexample1.bsd</filename> into
|
||||
<filename>/etc/xen/</filename> and modify the related
|
||||
entries about where the kernel and the disk image are
|
||||
stored. It should look like the following:</para>
|
||||
stored. It should look like the following:</para>
|
||||
|
||||
<programlisting>kernel = "/opt/kernel-current"
|
||||
memory = 256
|
||||
|
@ -584,12 +595,13 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
&windows;</title>
|
||||
|
||||
<para><application>Virtual PC</application> for &windows; is a
|
||||
µsoft; software product available for free download.
|
||||
See this website for the <link xlink:href="http://www.microsoft.com/windows/downloads/virtualpc/sysreq.mspx">
|
||||
system requirements</link>. Once <application> Virtual PC
|
||||
</application> has been installed on µsoft.windows;,
|
||||
the user can configure a virtual machine and then install
|
||||
the desired guest operating system.</para>
|
||||
µsoft; software product available for free download. See
|
||||
this website for the <link
|
||||
xlink:href="http://www.microsoft.com/windows/downloads/virtualpc/sysreq.mspx">system
|
||||
requirements</link>. Once <application>Virtual
|
||||
PC</application> has been installed on µsoft.windows;,
|
||||
the user can configure a virtual machine and then install the
|
||||
desired guest operating system.</para>
|
||||
|
||||
<sect3 xml:id="virtualization-guest-virtualpc-install">
|
||||
<title>Installing &os; on <application>Virtual
|
||||
|
@ -772,7 +784,8 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
the µsoft.windows; host. This can be accomplished
|
||||
by adding <literal>ifconfig_de0="DHCP"</literal> to
|
||||
<filename>/etc/rc.conf</filename>. More advanced
|
||||
networking setups are described in <xref linkend="advanced-networking"/>.</para>
|
||||
networking setups are described in
|
||||
<xref linkend="advanced-networking"/>.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect3>
|
||||
|
@ -974,7 +987,8 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
the host &mac;. 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"/>.</para>
|
||||
networking setups are described in
|
||||
<xref linkend="advanced-networking"/>.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
</sect3>
|
||||
|
@ -1012,9 +1026,9 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
<para>The following commands are run in the &os; guest.</para>
|
||||
</note>
|
||||
|
||||
<para>First, install the <package>emulators/virtualbox-ose-additions</package>
|
||||
package or port in the &os; guest. This will install
|
||||
the port:</para>
|
||||
<para>First, install the
|
||||
<package>emulators/virtualbox-ose-additions</package> package
|
||||
or port in the &os; guest. This will install the port:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/virtualbox-ose-additions && make install clean</userinput></screen>
|
||||
|
||||
|
@ -1106,17 +1120,19 @@ EndSection</programlisting>
|
|||
&unix;-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>&virtualbox;</application> wiki</link>.
|
||||
Currently, these extensions are not available for &os;.</para>
|
||||
More information may be found on the <link
|
||||
xlink:href="http://www.virtualbox.org/wiki/Downloads"><quote>Downloads</quote>
|
||||
page of the <application>&virtualbox;</application>
|
||||
wiki</link>. Currently, these extensions are not available
|
||||
for &os;.</para>
|
||||
|
||||
<sect2 xml:id="virtualization-virtualbox-install">
|
||||
<title>Installing &virtualbox;</title>
|
||||
|
||||
<para><application>&virtualbox;</application> is available as a
|
||||
&os; package or port in <package>emulators/virtualbox-ose</package>. The
|
||||
port can be installed using these commands:</para>
|
||||
&os; package or port in
|
||||
<package>emulators/virtualbox-ose</package>. The port can be
|
||||
installed using these commands:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/virtualbox-ose</userinput>
|
||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
||||
|
@ -1152,18 +1168,18 @@ EndSection</programlisting>
|
|||
|
||||
<programlisting>vboxnet_enable="YES"</programlisting>
|
||||
|
||||
<para>The <systemitem class="groupname">vboxusers</systemitem> group is created
|
||||
during installation of
|
||||
<para>The <systemitem class="groupname">vboxusers</systemitem>
|
||||
group is created during installation of
|
||||
<application>&virtualbox;</application>. All users that need
|
||||
access to <application>&virtualbox;</application> will have to
|
||||
be added as members of this group. <command>pw</command>
|
||||
can be used to add new members:</para>
|
||||
be added as members of this group. <command>pw</command> can
|
||||
be used to add new members:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pw groupmod vboxusers -m <replaceable>yourusername</replaceable></userinput></screen>
|
||||
|
||||
<para>The default permissions for <filename>/dev/vboxnetctl</filename> are
|
||||
restrictive and need to be changed for bridged
|
||||
networking:</para>
|
||||
<para>The default permissions for
|
||||
<filename>/dev/vboxnetctl</filename> are restrictive and need
|
||||
to be changed for bridged networking:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>chown root:vboxusers /dev/vboxnetctl</userinput>
|
||||
&prompt.root; <userinput>chmod 0660 /dev/vboxnetctl</userinput></screen>
|
||||
|
@ -1183,8 +1199,9 @@ perm vboxnetctl 0660</programlisting>
|
|||
<application>&virtualbox;</application>, refer to the
|
||||
<link xlink:href="http://www.virtualbox.org">official
|
||||
website</link>. For &os;-specific information and
|
||||
troubleshooting instructions, refer to the <link xlink:href="http://wiki.FreeBSD.org/VirtualBox">relevant page in
|
||||
the &os; wiki</link>.</para>
|
||||
troubleshooting instructions, refer to the <link
|
||||
xlink:href="http://wiki.FreeBSD.org/VirtualBox">relevant
|
||||
page in the &os; wiki</link>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="virtualization-virtualbox-usb-support">
|
||||
|
@ -1242,12 +1259,13 @@ add path 'usb/*' mode 0660 group operator</programlisting>
|
|||
|
||||
<para>In order for users to be able to use
|
||||
<application>&virtualbox;</application> DVD/CD functions, they
|
||||
need access to <filename>/dev/xpt0</filename>, <filename>/dev/cd<replaceable>N</replaceable></filename>,
|
||||
and <filename>/dev/pass<replaceable>N</replaceable></filename>.
|
||||
need access to <filename>/dev/xpt0</filename>,
|
||||
<filename>/dev/cd<replaceable>N</replaceable></filename>, and
|
||||
<filename>/dev/pass<replaceable>N</replaceable></filename>.
|
||||
This is usually achieved by making the user a member of
|
||||
<systemitem class="groupname">operator</systemitem>. Permissions to these devices
|
||||
have to be corrected by adding these lines to
|
||||
<filename>/etc/devfs.conf</filename>:</para>
|
||||
<systemitem class="groupname">operator</systemitem>.
|
||||
Permissions to these devices have to be corrected by adding
|
||||
these lines to <filename>/etc/devfs.conf</filename>:</para>
|
||||
|
||||
<programlisting>perm cd* 0660
|
||||
perm xpt0 0660
|
||||
|
|
Loading…
Reference in a new issue