1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Web Based VirtualBox Administration with phpVirtualbox</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="VirtualBox,PhpVirtualBox,Web Based Tools,Browser VM Control,Virtual Machine,VM,Browser Based,Home Lab,Home Lab Ideas,Hypervisor,Install Guide,Self-Hosted,Web Based,PHP,Web Server Administration,System Administrator,Web Based VirtualBox Administration,Control VirtualBox VMs From Web Browser,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="Web Based VirtualBox Administration with phpVirtualbox">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="04/05/2022 08:32:43 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>Web Based VirtualBox Administration with phpVirtualbox</h1>
- </div>
- <div></div>
- <div id="content">
- <h2>Pre-requisites</h2>
- <ul>
- <li>A web server running PHP 5.1.0 (WAMP/LAMP/XAMPP/PHP for IIS)</li>
- <li>PHP SOAP extension enabled</li>
- <li>A VirtualBox installation</li>
- </ul>
- <h2>Installation and Setup</h2>
- <ol>
- <li>Download phpVirtualBox <a href="https://github.com/phpvirtualbox/phpvirtualbox/" target="_blank">Download</a></li>
- <li>Extract phpVirtualBox</li>
- <li>Copy phpVirtualBox to a folder named virtualbox in the PHP web directory</li>
- <li>Navigate to config.php-example, make a copy and name it config.php</li>
- <li>Open config.php in Notepad</li>
- <li>Update the $username and $password variables to set an admin login</li>
- <li>Update the $location variable to the IP address of the VirtualBox host</li>
- <li>Save the changes to config.php</li>
- <li>On the VirtualBox host, Click the Start Button > Type Control Panel and select it</li>
- <li>Click Windows Defender Firewall</li>
- <li>Click Advanced settings in the left navigation menu</li>
- <li>Select Inbound Rules > New Rule...</li>
- <li>Select Port > Click Next</li>
- <li>Select TCP and specify port 18083 > Click Next</li>
- <li>Select Allow the Connection > Click Next</li>
- <li>Click Next > Name the rule phpVirtualBox > Click Finish</li>
- <li>Select Outbound Rules > New Rule...</li>
- <li>Select Port > Click Next</li>
- <li>Select TCP and specify port 18083 > Click Next</li>
- <li>Select Allow the Connection > Click Next</li>
- <li>Click Next > Name the rule phpVirtualBox > Click Finish</li>
- <li>Right click on the Start button > Command Prompt (Admin) > Paste the following command
- <div class="codeBlock">"%ProgramFiles%\Oracle\VirtualBox\vboxwebsrv.exe" -H 192.168.0.83 >nul</div>
- </li>
- <li>Open a browser and navigate to http://IPorDNS/virtualbox</li>
- <li>Login with the username and password set in config.php</li>
- <li>Manage VirtualBox VMs from the browser</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|