forked from i12bretro/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0113.html
68 lines (64 loc) · 3.49 KB
/
0113.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!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>