Line 33: |
Line 33: |
| === Requirements === | | === Requirements === |
| | | |
− | <tabs container><tab name="5.2 For SME 10"> | + | <tabs container=""><tab name="5.2 For SME 10"> |
| {{Note box|work in progress, alpha, use at your own risks}} | | {{Note box|work in progress, alpha, use at your own risks}} |
− | | + | virtual box will compile it's drivers, so we need to install a few development components as well |
− | yum install smeserver-extrarepositories-virtualbox -y | + | yum install smeserver-extrarepositories-epel smeserver-extrarepositories-virtualbox -y |
| + | yum --enablerepo=epel install dkms kernel-devel |
| yum --enablerepo=smedev,smetest,smecontribs,virtualbox install smeserver-phpvirtualbox smeserver-virtualbox | | yum --enablerepo=smedev,smetest,smecontribs,virtualbox install smeserver-phpvirtualbox smeserver-virtualbox |
| | | |
Line 104: |
Line 105: |
| phpvirtualbox controls a virtualbox service (vboxweb-service), you may need to restart it if you can't connect to phpvirtualbox | | phpvirtualbox controls a virtualbox service (vboxweb-service), you may need to restart it if you can't connect to phpvirtualbox |
| | | |
− | /etc/init.d/vboxweb-service restart | + | systemctl restart vboxweb-service |
| | | |
| you can control eventually that the port 18083 is opened to the service | | you can control eventually that the port 18083 is opened to the service |
Line 120: |
Line 121: |
| | | |
| You can see if all kernel modules are compiled and loaded, if you issue : | | You can see if all kernel modules are compiled and loaded, if you issue : |
− | # /etc/init.d/vboxdrv status | + | # /usr/lib/virtualbox/vboxdrv.sh status |
| VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded. | | VirtualBox kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) are loaded. |
| | | |
− | {{Tip box|If you want to launch manually the compilation of virtualbox module you can do these command lines in a root terminal.}} | + | {{Tip box|Restarting the vboxdrv service will trigger a driver compile if it is not present. |
| + | If you want to manually launch the compilation of virtualbox module you can run the driver setup script.}} |
| | | |
− | /etc/init.d/vboxdrv setup; /etc/init.d/vboxweb-service start | + | Restart the driver and web service |
| + | systemctl restart vboxdrv; systemctl restart vboxweb-service |
| + | Run age driver setup script and restart the box web service |
| + | /usr/lib/virtualbox/vboxdrv.sh setup; systemctl restart vboxweb-service |
| | | |
| Stopping VirtualBox kernel modules [ OK ] | | Stopping VirtualBox kernel modules [ OK ] |
Line 138: |
Line 143: |
| For example : | | For example : |
| | | |
− | wget http://dlc.sun.com.edgesuite.net/virtualbox/4.3.0/Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack | + | wget https://download.virtualbox.org/virtualbox/5.2.44/Oracle_VM_VirtualBox_Extension_Pack-5.2.44.vbox-extpack |
− | vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.0-89960.vbox-extpack | + | vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.44.vbox-extpack |
| | | |
| see [https://www.virtualbox.org/manual/ch08.html#vboxmanage-extpack vboxmanage-extpack] for a complete list of commands | | see [https://www.virtualbox.org/manual/ch08.html#vboxmanage-extpack vboxmanage-extpack] for a complete list of commands |