Line 3: |
Line 3: |
| {{Level|Medium}} | | {{Level|Medium}} |
| === Maintainer === | | === Maintainer === |
− | [mailto:stephdl@de-labrusse.fr[[User:stephdl|Stephane de Labrusse aka stephdl]]]<br /> | + | [mailto:stephdl@de-labrusse.fr][[User:stephdl|Stephane de Labrusse aka stephdl]]<br /> |
| | | |
| === Description === | | === Description === |
Line 17: |
Line 17: |
| | | |
| === Installation phpvirtualbox-4.3 For SME8 and SME9=== | | === Installation phpvirtualbox-4.3 For SME8 and SME9=== |
| + | First install the required repos<syntaxhighlight lang="bash"> |
| + | yum install smeserver-extrarepositories-virtualbox smeserver-extrarepositories-epel smeserver-extrarepositories-stephdl |
| + | signal-even yum-modify |
| + | </syntaxhighlight> |
| + | |
| You have to be sure that your server has '''the kernel up-to-date''' before to install virtualbox, else the installation will fail. You must first configure the [[epel]] repository | | You have to be sure that your server has '''the kernel up-to-date''' before to install virtualbox, else the installation will fail. You must first configure the [[epel]] repository |
| | | |
Line 41: |
Line 46: |
| yum remove smeserver-phpvirtualbox\* smeserver-virtualbox\* VirtualBox\* phpvirtualbox\* dkms }} | | yum remove smeserver-phpvirtualbox\* smeserver-virtualbox\* VirtualBox\* phpvirtualbox\* dkms }} |
| | | |
− | You have to be sure that your server has '''the kernel up-to-date''' before to install virtualbox, else the installation will fail. You must first configure the [[epel]] repository | + | First install the required repos<syntaxhighlight lang="bash"> |
− | | + | yum install smeserver-extrarepositories-virtualbox smeserver-extrarepositories-epel smeserver-extrarepositories-stephdl |
| + | signal-even yum-modify |
| + | </syntaxhighlight>You have to be sure that your server has '''the kernel up-to-date''' before to install virtualbox, else the installation will fail. You must first configure the [[epel]] repository |
| yum install --enablerepo=epel dkms kernel-devel | | yum install --enablerepo=epel dkms kernel-devel |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
Line 278: |
Line 285: |
| Then, set your desired virtual machines to start automatically, with an optional delay, and optionally to suspend (rather than power down) when your SME server shuts down or reboots. You can specify the virtual machine by name or by UUID: | | Then, set your desired virtual machines to start automatically, with an optional delay, and optionally to suspend (rather than power down) when your SME server shuts down or reboots. You can specify the virtual machine by name or by UUID: |
| [root@e-smith ~]# '''VBoxManage modifyvm "IncrediblePBX 12" --autostart-enabled on --autostart-delay 15''' | | [root@e-smith ~]# '''VBoxManage modifyvm "IncrediblePBX 12" --autostart-enabled on --autostart-delay 15''' |
− | [root@e-smith ~]# '''VBoxManage modifyvm df3d3440-3113-4c91-9890-5323f99d755c --autostart-enabled on --autostop-type savestate | + | [root@e-smith ~]# '''VBoxManage modifyvm df3d3440-3113-4c91-9890-5323f99d755c --autostart-enabled on --autostop-type savestate''' |
| | | |
| Finally, start the vboxautostart-service service: | | Finally, start the vboxautostart-service service: |
Line 297: |
Line 304: |
| To optimize and/or fine-tune your SME guest server running on your phpvirtualbox host, please see our [[Virtual_SME_Server#SME_Server_configuration_settings|Virtual SME Server wiki page]] | | To optimize and/or fine-tune your SME guest server running on your phpvirtualbox host, please see our [[Virtual_SME_Server#SME_Server_configuration_settings|Virtual SME Server wiki page]] |
| | | |
− | For general information on how to configure phpvirtualbox guests please visit the [https://www.virtualbox.org/manual/ch03.html phpvirtualbox documentation] | + | For general information on how to configure phpvirtualbox guests please visit the [https://www.virtualbox.org/manual/ch03.html phpvirtualbox documentation] |
− | | |
− | | |
| | | |
| [[Category: Contrib]] | | [[Category: Contrib]] |
| [[Category:Virtualisation]] | | [[Category:Virtualisation]] |