Changes

From SME Server
Jump to navigationJump to search
461 bytes added ,  00:11, 13 July 2023
added current Bugs for this contrib
Line 111: Line 111:  
  signal-event smeserver-phpvirtualbox-update
 
  signal-event smeserver-phpvirtualbox-update
 
{| class="wikitable"
 
{| class="wikitable"
|+config setprop phpvirtualbox authtype <>
+
|+config setprop phpvirtualbox authtype <none/Builtin/LDAP/WebAuth/AD>
 
!Property
 
!Property
 
!Description
 
!Description
Line 177: Line 177:     
=== Access the ISO share directory via samba ===
 
=== Access the ISO share directory via samba ===
{{Note box|This is NOT working at the moment bug #12336}}
   
This is where ISOs used for building/installing VMs are stored.
 
This is where ISOs used for building/installing VMs are stored.
    
By default, anyone defined in adminUser, Users or userGroups will have write access to the /opt/vbox/ISOs directory (share name virtualbox), regardless of the authtype.
 
By default, anyone defined in adminUser, Users or userGroups will have write access to the /opt/vbox/ISOs directory (share name virtualbox), regardless of the authtype.
   −
I suggest that we probably need a samba property with values none, adminUser, all.
+
You can control whether the share is available/visible and who has access via the phpvirtualbox samba configuration item.
 
{| class="wikitable"
 
{| class="wikitable"
|+config setprop phpvirtualbox samba <>
+
|+config setprop phpvirtualbox samba <none/adminUser/all>
 
!Property
 
!Property
 
!Description
 
!Description
Line 192: Line 191:  
|-
 
|-
 
|adminUser
 
|adminUser
|user defined in adminUser ONLY, has write access to virtualbox share
+
|ONLY user defined in adminUser, has write access to virtualbox share
 
|-
 
|-
|all
+
|'''all'''
|Any user defined in adminUser, Users or userGroups has write access to the virtualbox share
+
|<u>Default:</u> Any user defined in adminUser, Users or userGroups has write access to the virtualbox share
 
|}
 
|}
   Line 203: Line 202:  
  systemctl restart vboxweb-service
 
  systemctl restart vboxweb-service
   −
you can control eventually that the port 18083 is opened to the service
+
you can check that the port 18083 is opened to the service
 
  nmap localhost -p 18083
 
  nmap localhost -p 18083
 
  ....
 
  ....
Line 214: Line 213:  
===Kernel Upgrade===
 
===Kernel Upgrade===
   −
After a kernel upgrade and the  "signal-event post-upgrade;  signal-event reboot", the vboxdrv need to be compiled with the new kernel, a script is launched at the boot time to test if the compilation is needed.
+
After a kernel upgrade and the  "signal-event post-upgrade;  signal-event reboot", the vboxdrv needs to be compiled with the new kernel, a script is launched at startup of the driver, to test if the compilation is needed and will compile it for you.
   −
You can see if all kernel modules are compiled and loaded, if you issue :
+
You can see if all the kernel modules are compiled and loaded, if you issue :
 
  # /usr/lib/virtualbox/vboxdrv.sh 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.
Line 223: Line 222:  
If you want to manually launch the compilation of virtualbox module you can run the driver setup script.}}
 
If you want to manually launch the compilation of virtualbox module you can run the driver setup script.}}
   −
Restart the driver and web service
+
Run the driver setup script and restart the vbox web service
systemctl restart vboxdrv; systemctl restart vboxweb-service
  −
Run the driver setup script and restart the box web service
   
  /usr/lib/virtualbox/vboxdrv.sh setup; systemctl restart vboxweb-service
 
  /usr/lib/virtualbox/vboxdrv.sh setup; systemctl restart vboxweb-service
    
===Installation of Extension Pack===
 
===Installation of Extension Pack===
 +
 +
{{Note box|The Extension Pack provides support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack.
 +
See this page (https://www.virtualbox.org/wiki/Downloads) to download the extension pack if the url below is no longer good.}}
    
The Extension Pack is now automatically installed with VirtualBox.
 
The Extension Pack is now automatically installed with VirtualBox.
   −
You can trigger a recheck and possible install. This will also check the installed driver and recompile if required (e.g. after a kernel upgrade).<syntaxhighlight lang="bash">
+
You can trigger a re-check, and possible install. This will also check the installed driver and recompile if required (e.g. after a kernel upgrade).<syntaxhighlight lang="bash">
 
signal-event smeserver-virtualbox-update
 
signal-event smeserver-virtualbox-update
</syntaxhighlight>Support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. See this chapter [https://www.virtualbox.org/manual/ch01.html#intro-installing from the User Manual] for an introduction to this Extension Pack. See this page to [https://www.virtualbox.org/wiki/Downloads download the extension pack] if the url below is no longer good.
+
</syntaxhighlight>If you still want to install it yourself...
 
  −
For example :
      
  wget https://download.virtualbox.org/virtualbox/5.2.44/Oracle_VM_VirtualBox_Extension_Pack-5.2.44.vbox-extpack
 
  wget https://download.virtualbox.org/virtualbox/5.2.44/Oracle_VM_VirtualBox_Extension_Pack-5.2.44.vbox-extpack
Line 248: Line 246:     
* The '''VBoxManage extpack cleanup''' command can be used to remove temporary files and directories that may have been left behind if a previous install or uninstall command failed.
 
* The '''VBoxManage extpack cleanup''' command can be used to remove temporary files and directories that may have been left behind if a previous install or uninstall command failed.
      
===BridgeInterface===
 
===BridgeInterface===
Line 399: Line 396:     
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]
 +
 +
===Bugs===
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-phpvirtualbox component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-phpvirtualbox|title=this link}}
 +
 +
Below is an overview of the current issues for this contrib:{{#bugzilla:columns=id,product,version,status,summary|sort=id|order=desc|component=smeserver-phpvirtualbox|noresultsmessage=No open bugs found.}}
    
[[Category: Contrib]]
 
[[Category: Contrib]]
 
[[Category:Virtualisation]]
 
[[Category:Virtualisation]]

Navigation menu