Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 4fb84d36b6 moved to 5.2-1 il y a 5 ans
phpvirtualbox moved to 5.2-1 il y a 5 ans
.gitignore init il y a 6 ans
README moved to 5.2-1 il y a 5 ans
docker-compose.yml init il y a 6 ans
env init il y a 6 ans
update_vars.sh init il y a 6 ans

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
```