Changes

Jump to navigation Jump to search
m
no edit summary
Line 26: Line 26:  
   <li>Install kernel-devel to get the latest development tree.</li>
 
   <li>Install kernel-devel to get the latest development tree.</li>
   −
Use this command only if you have PAE kernel installed:
+
Use this command only if you have a PAE kernel installed:
    
       <pre>yum install kernel-PAE-devel</pre>
 
       <pre>yum install kernel-PAE-devel</pre>
Line 91: Line 91:  
   <li>Install <b>phpVirtualBox</b></li>
 
   <li>Install <b>phpVirtualBox</b></li>
 
       <pre>cd /tmp
 
       <pre>cd /tmp
wget http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.0-7.zip
+
wget `wget -q -O - http://phpvirtualbox.googlecode.com/files/LATEST.txt` -O phpvirtualbox-latest.zip
unzip phpvirtualbox-4.0-7.zip
+
unzip phpvirtualbox-latest.zip</pre>
cd phpvirtualbox-4.0-7
+
Note: at the time of this writing, the latest version was 4.1-2. Please adjust the following for later versions.
 +
<pre>
 +
cd phpvirtualbox-4.1-2
 
cp –R * /home/e-smith/files/ibays/phpvbox/html</pre>
 
cp –R * /home/e-smith/files/ibays/phpvbox/html</pre>
 +
 
   <li>Create a <b>tmp</b> folder inside the /phpvbox/html folder.</li>
 
   <li>Create a <b>tmp</b> folder inside the /phpvbox/html folder.</li>
 
       <pre>cd /home/e-smith/files/ibays/phpvbox/html
 
       <pre>cd /home/e-smith/files/ibays/phpvbox/html
 
mkdir tmp
 
mkdir tmp
chmod 777 tmp/
+
chmod 777 tmp/</pre>
</pre>
+
 
   <li>Open ''config.php'' (located on your /phpvbox/html/ folder) and uncomment some lines & change the tmp location as per below.</li>
+
  <li>Create a config file using the example file provided.</li>
      <pre>cp config.php.example config.php
+
      <pre>cp config.php-example config.php</pre>
nano /home/e-smith/files/ibays/phpvbox/html/config.php</pre>
+
 
 +
   <li>Open ''config.php'' (located on your /phpvbox/html/ folder). Uncomment some lines (by removing the '#' at the beginning of the line).</li>
 +
      <pre>nano /home/e-smith/files/ibays/phpvbox/html/config.php</pre>
 +
 
 
       <pre>/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
 
       <pre>/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
var $location = 'http://127.0.0.1:18083/';
+
var $location = 'http://127.0.0.1:18083/';</pre>
   −
// Disable authentication
+
      <pre>// Disable authentication
var $noAuth = true;
+
var $noAuth = true;</pre>
   −
// Host / ip to use for console connections
+
Adjust the consoleHost ip address to an unused static ip address on your internal network
//var $consoleHost = '192.168.100.1';
+
      <pre>// Host / ip to use for console connections
 +
//var $consoleHost = '192.168.100.1';</pre>
   −
var $enableAdvancedConfig = true;
+
      <pre>/* Enable advanced configuration items (normally hidden in the VirtualBox GUI)
 +
* Note that some of these items may not be translated to languages other than $
 +
*/
 +
var $enableAdvancedConfig = true;</pre>
   −
// Authentication library.
+
<pre>// Authentication library.
//var $authLib = 'Builtin';
+
//var $authLib = 'Builtin';</pre>
   −
// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!
+
<pre>// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!
var $enableVDE = true;
+
var $enableVDE = true;</pre>
   −
// Path
+
Change the tmp location as per below.
var $cachePath = '../tmp';
+
<pre>// Path
</pre>
+
var $cachePath = '../tmp';</pre>
    
   <li>Disable authentication of ''vboxwebsrv'' (this is not recommended, but at this stage, this is the only setup that works). Login to the server’s SSH and type this command.</li>
 
   <li>Disable authentication of ''vboxwebsrv'' (this is not recommended, but at this stage, this is the only setup that works). Login to the server’s SSH and type this command.</li>
 
       <pre>vboxmanage setproperty websrvauthlibrary null</pre>
 
       <pre>vboxmanage setproperty websrvauthlibrary null</pre>
   <li>Install VirtualBox extension pack to enable support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards.</li>
+
<!--
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.0/Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack
+
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack</pre>
+
        available for the current kernel (2.6.18-238.19.1.el5) or it failed to
 +
        load. Please recompile the kernel module and install it by
 +
 
 +
          sudo /etc/init.d/vboxdrv setup
 +
 
 +
        You will not be able to start VMs until this problem is fixed.
 +
-->
 +
   <li>Install VirtualBox extension pack to enable support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards. Please install the extension pack with the same version as your installed version of VirtualBox!</li>
 +
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.2/Oracle_VM_VirtualBox_Extension_Pack-4.1.2-73507.vbox-extpack -O latest.vbox-extpack
 +
vboxmanage extpack install latest.vbox-extpack</pre>
    
   <li>Enable <b>fopen</b> on ''php.ini'' (line 65) located on /etc/</li>
 
   <li>Enable <b>fopen</b> on ''php.ini'' (line 65) located on /etc/</li>
38

edits

Navigation menu