Web Based VirtualBox Administration with phpVirtualbox
#VirtualBox #phpVirtualBox #WebTools
Full steps can be found at https://i12bretro.github.io/tutorials/0113.html
--------------------------------------------------------------------
Pre-requisites
--------------------------------------------------------------------
- A web server running PHP 5.1.0 (WAMP/LAMP/XAMPP/PHP for IIS)
- PHP SOAP extension enabled
- A VirtualBox installation
--------------------------------------------------------------------
Installation and Setup
--------------------------------------------------------------------
01. Download phpVirtualBox https://github.com/phpvirtualbox/phpvirtualbox/
02. Extract phpVirtualBox
03. Copy phpVirtualBox to a folder named virtualbox in the PHP web directory
04. Navigate to config.php-example, make a copy and name it config.php
05. Open config.php in Notepad
06. Update the $username and $password variables to set an admin login
07. Update the $location variable to the IP address of the VirtualBox host
08. Save the changes to config.php
09. On the VirtualBox host, Click the Start Button ≫ Type Control Panel and select it
10. Click Windows Defender Firewall
11. Click Advanced settings in the left navigation menu
12. Select Inbound Rules ≫ New Rule...
13. Select Port ≫ Click Next
14. Select TCP and specify port 18083 ≫ Click Next
15. Select Allow the Connection ≫ Click Next
16. Click Next ≫ Name the rule phpVirtualBox ≫ Click Finish
17. Select Outbound Rules ≫ New Rule...
18. Select Port ≫ Click Next
19. Select TCP and specify port 18083 ≫ Click Next
20. Select Allow the Connection ≫ Click Next
21. Click Next ≫ Name the rule phpVirtualBox ≫ Click Finish
22. Right click on the Start button ≫ Command Prompt (Admin) ≫ Paste the following command
"%ProgramFiles%\Oracle\VirtualBox\vboxwebsrv.exe" -H 192.168.0.83 ≫nul
23. Open a browser and navigate to http://IPorDNS/virtualbox
24. Login with the username and password set in config.php
25. Manage VirtualBox VMs from the browser
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro