How to install VirtualBox
Example for installation to DilOS server with X11 server on MacBook:
Install packages:
apt-get install xauth xterm virtualbox virtualbox-drivers
login to SSH by command:
ssh -Y -X root@<your ip>
Create file ~/.VirtualBox/VirtualBox.xml with content:
<?xml version="1.0"?> <VirtualBox xmlns="http://www.innotek.de/VirtualBox-settings" version="1.13-solaris"> </VirtualBox>
Start VirtualBox by command:
# VirtualBox &
Example of creation RAW disk for VBox guest:
# create RAW dataset 20GB for VBox guest: zfs create -V 20G data2/vbox/vm01 # create VMDK for VBox: VBoxManage internalcommands createrawvmdk -filename /nfs/vbox/vm01/vm01.vmdk -rawdisk /dev/zvol/rdsk/data2/vbox/vm01
How to start VBox guest in background:
VBoxManage startvm <VM name> --type headless