Virtual box adalah aplikasi virtual mesin sebagai sarana uji coba sebuah sistem operasi sebelum diinstal pada harddisk. Virtual box sendiri dapat berjalan di sistem operasi Linux dan Windows maupun MacOs. Bagaimana menginstal aplikasi tersebut?
VirtualBox sudah cukup stabil di FreeBSD tapi itu adalah bagian kompleks perangkat lunak sehingga Anda harus secara teratur update ke rilis patch terbaru.
update port Anda:
# portsnap fetch update
Build and install virtualbox:
# cd /usr/ports/emulators/virtualbox-ose && make install clean
Load the virtualbox kernel module via /boot/loader.conf:
vboxdrv_load="YES"
Jika Anda
menggunakan modul kernel untuk dijembatani atau host-only networking
menambahkan ini ke /etc/rc.conf and reboot the machine
afterwards:
vboxnet_enable="YES"
Tambahkan semua pengguna yang perlu virtualbox ke grup vboxusers:
# pw groupmod vboxusers -m yourusername
USB support
pengguna Anda perlu berada di kelompok operator dan perlu membaca dan menulis izin untuk perangkat USB.
# pw groupmod operator -m jerry
Add the following to /etc/devfs.rules
(create if it doesn't exist):
[system=10]
add path 'usb/*' mode 0660 group operator
Untuk memuat ini
aturan baru tambahkan berikut untuk
/etc/rc.conf:
devfs_system_ruleset="system"
Kemudian restart devfs untuk memuat aturan baru:
# /etc/rc.d/devfs restart
Sekarang Anda dapat
mengaktifkan USB untuk tamu dan harus dapat melihat perangkat USB dalam
preferensi VirtualBox.
Host DVD/CD access
modul kernel atipikal perlu dimuat melalui /boot/loader.conf:
atapicam_load="YES"
HAL harus
dijalankan pada saat ini sehingga memungkinkan di /etc/rc.conf
and start it if not yet done:
hald_enable="YES"
# /usr/local/etc/rc.d/hald start
Akun Anda perlu izin untuk mengakses /dev/xpt0,
/dev/cdN and /dev/passN so add this to /etc/devfs.conf:
perm cd0 0660
perm xpt0 0660
perm pass0 0660
Instalasi Guest Penambahan untuk tamu FreeBSD
Untuk tamu FreeBSD
dalam VirtualBox silahkan install emulators/virtualbox-ose-additions
in the FreeBSD guest.
They provide support for:
- Clipboard sharing
- Mouse pointer integration
- Host Time synchronization
- Window scaling
- Seamless mode
Install virtualbox-ose-additions in the FreeBSD guest:
# cd /usr/ports/emulators/virtualbox-ose-additions && make install clean
Add this to /etc/rc.conf
in the FreeBSD guest:
vboxguest_enable="YES"
vboxservice_enable="YES"
Jika Anda ingin
menggunakan ntpd(8) atau
ntpdate (8) untuk beberapa alasan maka Anda harus menonaktifkan tuan
sinkronisasi waktu:
vboxservice_flags="--disable-timesync"
vboxvideo_drm harus diakui oleh Xorg -configure. Jika tidak, menggunakan sesuatu seperti
ini di Anda xorg.conf for the video card:
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
To use vboxmouse_drv
silahkan
sesuaikan bagian mouse Anda xorg.conf like this:
Section "InputDevice"
Identifier "Mouse0"
Driver "vboxmouse"
EndSection
pengguna HAL akan membuat ini di
/usr/local/etc/hal/fdi/policy/90-vboxguest.fdi or copy it from
/usr/local/share/hal/fdi/policy/10osvendor/90-vboxguest.fdi:
<?xml version="1.0" encoding="UTF-8"?>
<!--
# Sun VirtualBox
# Hal driver description for the vboxmouse driver
# $Id: 90-vboxguest.fdi 21412 2009-07-08 21:18:57Z vboxsync $
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>
SEMOGA BERMANFAT JANGAN LUPA LANGANAN SHARE HALAMAN BLOG INI TRIMAKASIH
INSTAL VIRTUALBOX DI FREE BSD
Unknown
Tuesday, April 26, 2016