MFen 1.25 -> 1.26
Obtained from: the FreeBSD Dutch Documentation Project
This commit is contained in:
parent
96e7567f02
commit
4f7fe964b2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=37994
1 changed files with 205 additions and 32 deletions
|
@ -4,7 +4,7 @@
|
|||
$FreeBSD$
|
||||
|
||||
%SOURCE% en_US.ISO8859-1/books/handbook/virtualization/chapter.sgml
|
||||
%SRCID% 1.25
|
||||
%SRCID% 1.26
|
||||
-->
|
||||
|
||||
<chapter id="virtualization">
|
||||
|
@ -1004,6 +1004,120 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
</procedure>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="virtualization-guest-virtualbox-guest-additions">
|
||||
<title>&virtualbox; gasttoevoegingen op een &os;-gast</title>
|
||||
|
||||
<para>De gasttoevoegingen van <application>&virtualbox;</application>
|
||||
bieden ondersteuning voor:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>Het delen van het prikbord</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Integratie van de muiscursor</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Synchronisatie met de tijd van de gastheer</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Het schalen van vensters</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Naadloze modus</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<note>
|
||||
<para>De volgende commando's worden gedraaid in de &os;-gast.</para>
|
||||
</note>
|
||||
|
||||
<para>Installeer ten eerste het pakket <filename
|
||||
role="package">emulators/virtualbox-ose-additions</filename> in de
|
||||
&os;-gast.</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/virtualbox-ose-additions && make install clean</userinput></screen>
|
||||
|
||||
<para>Voeg deze regels toe aan <filename>/etc/rc.conf</filename>:</para>
|
||||
|
||||
<programlisting>vboxguest_enable="YES"
|
||||
vboxservice_enable="YES"</programlisting>
|
||||
|
||||
<para>Als &man.ntpd.8; of &man.ntpdate.8; gebruikt, dient de
|
||||
synchronisatie met de tijd van de gastheer te worden
|
||||
uitgeschakeld:</para>
|
||||
|
||||
<programlisting>vboxservice_flags="--disable-timesync"</programlisting>
|
||||
|
||||
<para>De <literal>vboxvideo_drv</literal> zou herkend moeten worden door
|
||||
<command>Xorg -configure</command>. Als dit niet zo is, dient
|
||||
<filename>xorg.conf</filename> gewijzigd te worden voor de videokaart
|
||||
van <application>&virtualbox;</application>:</para>
|
||||
|
||||
<programlisting>Section "Device"
|
||||
### Available Driver options are:-
|
||||
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
|
||||
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
|
||||
### [arg]: arg optional
|
||||
Identifier "Card0"
|
||||
Driver "vboxvideo"
|
||||
VendorName "InnoTek Systemberatung GmbH"
|
||||
BoardName "VirtualBox Graphics Adapter"
|
||||
BusID "PCI:0:2:0"
|
||||
EndSection</programlisting>
|
||||
|
||||
<para>Pas het gedeelte over de muis in <filename>xorg.conf</filename> aan
|
||||
om <literal>vboxmouse_drv</literal> te gebruiken:</para>
|
||||
|
||||
<programlisting>Section "InputDevice"
|
||||
Identifier "Mouse0"
|
||||
Driver "vboxmouse"
|
||||
EndSection</programlisting>
|
||||
|
||||
<para>Gebruikers van <acronym>HAL</acronym> dienen dit bestand aan te
|
||||
maken als
|
||||
<filename>/usr/local/etc/hal/fdi/policy/90-vboxguest.fdi</filename>
|
||||
of het te kopiëren van
|
||||
<filename>/usr/local/hal/fdi/policy/10osvendor/90-vboxguest.fdi</filename>:</para>
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
# Sun VirtualBox
|
||||
# Hal driver description for the vboxmouse driver
|
||||
# $Id: chapter.sgml,v 1.12 2011-12-03 17:49:02 rene 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.
|
||||
-->
|
||||
<deviceinfo version="0.2">
|
||||
<device>
|
||||
<match key="info.subsystem" string="pci">
|
||||
<match key="info.product" string="VirtualBox guest Service">
|
||||
<append key="info.capabilities" type="strlist">input</append>
|
||||
<append key="info.capabilities" type="strlist">input.mouse</append>
|
||||
<merge key="input.x11_driver" type="string">vboxmouse</merge>
|
||||
<merge key="input.device" type="string">/dev/vboxguest</merge>
|
||||
</match>
|
||||
</match>
|
||||
</device>
|
||||
</deviceinfo></programlisting>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="virtualization-host">
|
||||
|
@ -1037,8 +1151,10 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
|
||||
<para><application>&virtualbox;</application> is beschikbaar als een
|
||||
&os;-port in <filename
|
||||
role="package">emulators/virtualbox-ose</filename> en kan met de
|
||||
volgende commando's geïnstalleerd worden:</para>
|
||||
role="package">emulators/virtualbox-ose</filename>. Zorg ervoor,
|
||||
aangezien &virtualbox; erg actief ontwikkeld wordt, dat
|
||||
uw ports bijgewerkt is voordat u met de installatie begint. Installeer
|
||||
het met deze commando's:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>cd /usr/ports/emulators/virtualbox-ose</userinput>
|
||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
||||
|
@ -1067,35 +1183,11 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
|
||||
<programlisting>vboxdrv_load="YES"</programlisting>
|
||||
|
||||
<para>Voor versies van <application>&virtualbox;</application> lager dan
|
||||
3.1.2 is het nodig om het bestandssysteem
|
||||
<filename class="directory">proc</filename> aan te koppelen. Voor
|
||||
recente versies is dit niet nodig, die maken gebruik van de functies die
|
||||
door de bibliotheek &man.sysctl.3; worden aangeboden.</para>
|
||||
<para>Voeg het volgende aan <filename>/etc/rc.conf</filename> toe en
|
||||
herstart de computer om de kernelmodules te gebruiken die in gebridgede
|
||||
of gastheer-only netwerken voorzien:</para>
|
||||
|
||||
<para>Volg de onderstaande instructies op bij het gebruik van een oudere
|
||||
versie van de port om er zeker van te zijn dat <filename
|
||||
class="directory">proc</filename> juist is aangekoppeld:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>mount -t procfs proc /proc</userinput></screen>
|
||||
|
||||
<para>De volgende regel is nodig in <filename>/etc/fstab</filename> om de
|
||||
instelling werkend te houden na een herstart:</para>
|
||||
|
||||
<programlisting>proc /proc procfs rw 0 0</programlisting>
|
||||
|
||||
<note>
|
||||
<para>Als er zich een foutmelding voordoet die lijkt op de volgende
|
||||
wanneer <application>&virtualbox;</application> vanaf de terminal
|
||||
wordt gedraaid:</para>
|
||||
|
||||
<screen>VirtualBox: supR3HardenedExecDir: couldn't read "", errno=2 cchLink=-1</screen>
|
||||
|
||||
<para>Waarschijnlijk is de boosdoener het <filename
|
||||
class="directory">proc</filename> bestandssysteem. Controleer met
|
||||
het commando <command>mount</command> of het juist is
|
||||
aangekoppeld.</para>
|
||||
</note>
|
||||
<programlisting>vboxnet_enable="YES"</programlisting>
|
||||
|
||||
<para>De groep <groupname>vboxusers</groupname> wordt tijdens de
|
||||
installatie van <application>&virtualbox;</application> aangemaakt.
|
||||
|
@ -1106,8 +1198,23 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
|
||||
<screen>&prompt.root; <userinput>pw groupmod vboxusers -m <replaceable>uwgebruikersnaam</replaceable></userinput></screen>
|
||||
|
||||
<para>De standaardpermissies voor <filename
|
||||
class="devicefile">/dev/vboxnetctl</filename> zijn restrictief en
|
||||
moeten veranderd worden voor gebridged netwerken.</para>
|
||||
|
||||
<para>Om het tijdelijk te testen:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>chown root:vboxusers /dev/vboxnetctl</userinput>
|
||||
&prompt.root; <userinput>chmod 0660 /dev/vboxnetctl</userinput></screen>
|
||||
|
||||
<para>Voeg deze regels toe aan <filename>/etc/devfs.conf</filename> om de
|
||||
permissiewijziging permanent te maken:</para>
|
||||
|
||||
<programlisting>own vboxnetctl root:vboxusers
|
||||
perm vboxnetctl 0660</programlisting>
|
||||
|
||||
<para>Gebruik de optie <guimenuitem>Sun VirtualBox</guimenuitem> van het
|
||||
menu van uw grafische omgeving of typ het volgende in in een terminal om
|
||||
menu van de grafische omgeving of typ het volgende in in een terminal om
|
||||
<application>&virtualbox;</application> te starten:</para>
|
||||
|
||||
<screen>&prompt.user; <userinput>VirtualBox</userinput></screen>
|
||||
|
@ -1121,6 +1228,72 @@ xenbr1 8000.feffffffffff no vif0.1
|
|||
url="http://wiki.FreeBSD.org/VirtualBox"></ulink>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="virtualization-virtualbox-usb-suport">
|
||||
<title>USB-ondersteuning in &virtualbox;</title>
|
||||
|
||||
<note>
|
||||
<para>Voor deze stappen is VirtualBox 4.0.0 of nieuwer nodig.</para>
|
||||
</note>
|
||||
|
||||
<para>Om van UBS-apparaten te kunnen lezen en ernaar te kunnen schrijven
|
||||
dienen gebruikers lid te zijn van de groep operator:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>pw groupmod operator -m <replaceable>jerry</replaceable></userinput></screen>
|
||||
|
||||
<para>Voeg vervolgens het volgende toe aan
|
||||
<filename>/etc/devfs.rules</filename> (maak het aan als het nog niet
|
||||
bestaat):</para>
|
||||
|
||||
<programlisting>[system=10]
|
||||
add path 'usb/*' mode 0660 group operator</programlisting>
|
||||
|
||||
<para>Voeg het volgende aan toe aan <filename>/etc/rc.conf</filename> om
|
||||
deze nieuwe regels te laden:</para>
|
||||
|
||||
<programlisting>devfs_system_ruleset="system</programlisting>
|
||||
|
||||
<para>Herstart vervolgens devfs:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/devfs restart</userinput></screen>
|
||||
|
||||
<para>USB kan nu in het gast-besturingssysteem worden aangezet.
|
||||
USB-apparaten zouden zichtbaar moeten zijn in de voorkeuren van
|
||||
&virtualbox;.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="virtualization-virtualbox-host-dvd-cd-access">
|
||||
<title>DVD/CD-toegang van de gastheer in &virtualbox;</title>
|
||||
|
||||
<para>De kernelmodule <command>atapicam</command> moet geladen zijn door
|
||||
de volgende regel toe te voegen aan
|
||||
<filename>/boot/loader.conf</filename>:</para>
|
||||
|
||||
<programlisting>atapicam_load="YES"</programlisting>
|
||||
|
||||
<para><acronym>HAL</acronym> moet draaien om de DVD/CD-functies van
|
||||
<application>&virtualbox;</application> te laten werken, zet het dus aan
|
||||
in <filename>/etc/rc.conf</filename> en start het (als het niet reeds
|
||||
draait):</para>
|
||||
|
||||
<programlisting>hald_enable="YES"</programlisting>
|
||||
|
||||
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/hald start</userinput></screen>
|
||||
|
||||
<para>Om gebruikers de DVD/CD-functionaliteit van
|
||||
<application>&virtualbox;</application> te laten gebruiken, dienen ze
|
||||
toegang te hebben tot <filename class="devicefile">/dev/xpt0</filename>,
|
||||
<filename
|
||||
class="devicefile">/dev/cd<replaceable>N</replaceable></filename> en
|
||||
<filename
|
||||
class="devicefile">/dev/pass<replaceable>N</replaceable></filename>.
|
||||
Voeg de volgende regels toe aan
|
||||
<filename>/etc/devfs.conf</filename>:</para>
|
||||
|
||||
<programlisting>perm cd0 0600
|
||||
perm xpt0 0660
|
||||
perm pass0 0660</programlisting>
|
||||
</sect2>
|
||||
|
||||
<!--
|
||||
Noot: er is geen werkende/gebruiksklare ondersteuning voor Xen op 07-2010.
|
||||
Verberg alle informatie mbt Xen op FreeBSD.
|
||||
|
|
Loading…
Reference in a new issue