You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 4fb84d36b6 moved to 5.2-1 5 년 전
phpvirtualbox moved to 5.2-1 5 년 전
.gitignore init 6 년 전
README moved to 5.2-1 5 년 전
docker-compose.yml init 6 년 전
env init 6 년 전
update_vars.sh init 6 년 전

README

Install and configure virtualbox on host (as root):
```
apt-get install -y virtualbox
useradd -m vbox -G vboxusers
passwd vbox # put the provided password in env file
echo 'VBOXWEB_USER=vbox' >> /etc/default/virtualbox
echo 'VBOXWEB_HOST=0.0.0.0' >> /etc/default/virtualbox
systemctl enable vboxweb-service
systemctl start vboxweb-service
```
Then reboot

Allow autostart VMs (as root):
```
echo 'VBOXAUTOSTART_DB=/etc/vbox' >> /etc/default/virtualbox
echo 'VBOXAUTOSTART_CONFIG=/etc/vbox/vbox.cfg' >> /etc/default/virtualbox
echo 'default_policy = allow' > /etc/vbox/vbox.cfg
chgrp vboxusers /etc/vbox
chmod 1775 /etc/vbox
# in vbox shell (su vbox, not sudo): VBoxManage setproperty autostartdbpath /etc/vbox
# for each VM, when not running, in vbox shell (su vbox, not sudo): VBoxManage modifyvm VM_NAME --autostart-enabled on

```

Install extension pack (as root):
get version in https://download.virtualbox.org/virtualbox/
```
wget ...
vboxmanage extpack install Oracle...vbox-extpack
```