Changes

Jump to navigation Jump to search
no edit summary
Line 3: Line 3:  
   <li>Do a yum update.</li>
 
   <li>Do a yum update.</li>
   −
       <pre>yum update<br />
+
       <pre>yum update
signal-event post-upgrade<br />
+
signal-event post-upgrade
 
signal-event reboot</pre>
 
signal-event reboot</pre>
   Line 13: Line 13:  
   <li>Install kernel-devel to get the latest development tree (2.6.18-238.12.1.el5PAE-i686).</li>
 
   <li>Install kernel-devel to get the latest development tree (2.6.18-238.12.1.el5PAE-i686).</li>
   −
Use this command only if you have PAE kernel installed:<br/>
+
Use this command only if you have PAE kernel installed:
 
       <pre>yum install kernel-PAE-devel</pre>
 
       <pre>yum install kernel-PAE-devel</pre>
 
Otherwise,
 
Otherwise,
Line 28: Line 28:     
   <li>Install DKMS</li>
 
   <li>Install DKMS</li>
       <pre>wget http://packages.sw.be/dkms/dkms-2.1.1.2-1.el5.rf.noarch.rpm<br/>
+
       <pre>wget http://packages.sw.be/dkms/dkms-2.1.1.2-1.el5.rf.noarch.rpm
 
yum install  dkms-2.1.1.2-1.el5.rf.noarch.rpm</pre>
 
yum install  dkms-2.1.1.2-1.el5.rf.noarch.rpm</pre>
   −
   <li>Enable fopen on php.ini (line 65) located on /etc/</li>
+
   <li>Enable <b>fopen</b> on php.ini (line 65) located on /etc/</li>
 
       <pre>allow_url_fopen = On</pre>
 
       <pre>allow_url_fopen = On</pre>
   −
   <li>Install VirtualBox v4.0 (At the time of writing, the latest version is v4.0.8).</li>
+
   <li>Install <b>VirtualBox v4.0</b> (At the time of writing, the latest version is v4.0.8).</li>
       <pre>wget http://download.virtualbox.org/virtualbox/4.0.8/VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm<br/>
+
       <pre>wget http://download.virtualbox.org/virtualbox/4.0.8/VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm
 
yum install VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm -y</pre>
 
yum install VirtualBox-4.0-4.0.8_71778_rhel5-1.i386.rpm -y</pre>
 
Note: you will get an error message, which you can ignore.
 
Note: you will get an error message, which you can ignore.
    
   <li>Setup VirtualBox as a service so it starts automatically after a reboot by copying the vboxwebsrv from rc5.d to rc7.d.</li>
 
   <li>Setup VirtualBox as a service so it starts automatically after a reboot by copying the vboxwebsrv from rc5.d to rc7.d.</li>
       <pre>cp /etc/rc5.d/S30vboxdrv /etc/rc7.d/.<br/>
+
       <pre>cp /etc/rc5.d/S30vboxdrv /etc/rc7.d/.
cp /etc/rc5.d/S35vboxballoonctrl /etc/rc7.d/.<br/>
+
cp /etc/rc5.d/S35vboxballoonctrl /etc/rc7.d/.
 
cp /etc/rc5.d/S35vboxweb-service /etc/rc7.d/.</pre>
 
cp /etc/rc5.d/S35vboxweb-service /etc/rc7.d/.</pre>
   −
   <li>Create a vbox.cfg file on your /etc/vbox/.
+
   <li>Create a 'vbox.cfg' file on your /etc/vbox/.
 
       <pre>nano /etc/vbox/vbox.cfg</pre>
 
       <pre>nano /etc/vbox/vbox.cfg</pre>
    
       vbox.cfg should have this content.
 
       vbox.cfg should have this content.
       <pre>VBOXWEB_USER='root'<br/>
+
       <pre>VBOXWEB_USER='root'
VBOXWEB_HOST=127.0.0.1<br/>
+
VBOXWEB_HOST=127.0.0.1
 
VBOXWEB_PORT=18083<br/></pre>
 
VBOXWEB_PORT=18083<br/></pre>
   Line 55: Line 55:  
   </li>
 
   </li>
   −
   <li>Before we install <b>[http://code.google.com/p/phpvirtualbox/ phpVirtualBox]</b>, make sure you install SOAP first.</li>
+
   <li>Before we install <b>[http://code.google.com/p/phpvirtualbox/ phpVirtualBox]</b>, make sure you install <b>SOAP</b> first.</li>
 
       <pre>yum install php-soap</pre>
 
       <pre>yum install php-soap</pre>
    
   <li>Login to the server-manager page and create an ibay for <b>phpvbox</b>. Don’t forget to assign a password.</li>
 
   <li>Login to the server-manager page and create an ibay for <b>phpvbox</b>. Don’t forget to assign a password.</li>
   <li>Install phpVirtualBox</li>
+
   <li>Install <b>phpVirtualBox</b></li>
       <pre>cd /tmp<br/>
+
       <pre>cd /tmp
wget  http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.0-6.zip<br/>
+
wget  http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.0-6.zip
unzip phpvirtualbox-4.0-6.zip<br/>
+
unzip phpvirtualbox-4.0-6.zip
cd phpvirtualbox-4.0-6<br/>
+
cd phpvirtualbox-4.0-6
 
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<br/>
+
       <pre>cd /home/e-smith/files/ibays/phpvbox/html
 
mkdir tmp
 
mkdir 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>Open config.php (located on your /phpvbox/html/ folder) and uncomment some lines & change the tmp location as per below.</li>
 
       <pre>nano /home/e-smith/files/ibays/phpvbox/html/config.php</pre>
 
       <pre>nano /home/e-smith/files/ibays/phpvbox/html/config.php</pre>
       <pre>/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */<br/>
+
       <pre>/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
var $location = 'http://127.0.0.1:18083/';<br/>
+
var $location = 'http://127.0.0.1:18083/';
<br/>
+
 
// Disable authentication<br/>
+
// Disable authentication
var $noAuth = true;<br/>
+
var $noAuth = true;
<br/>
+
 
// Host / ip to use for console connections<br/>
+
// Host / ip to use for console connections
//var $consoleHost = '192.168.100.1';<br/>
+
//var $consoleHost = '192.168.100.1';
<br/>
+
 
var $enableAdvancedConfig = true;<br/>
+
var $enableAdvancedConfig = true;
<br/>
+
 
// Authentication library.<br/>
+
// Authentication library.
//var $authLib = 'Builtin';<br/>
+
//var $authLib = 'Builtin';
<br/>
+
 
// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!<br/>
+
// Allow VDE network configuration. This must be supported by the underlying VirtualBox installation!
var $enableVDE = true;<br/>
+
var $enableVDE = true;
<br/>
+
 
// Path<br/>
+
// Path
var $cachePath = '../tmp';<br/>
+
var $cachePath = '../tmp';
 
</pre>
 
</pre>
   Line 117: Line 117:  
<pre>vboxmanage startvm --type headless vmXP</pre>
 
<pre>vboxmanage startvm --type headless vmXP</pre>
   −
<li>Edit your <b>vbox<b> file on /etc/sysconfig/</li>
+
<li>Edit your <b>vbox</b> file on /etc/sysconfig/</li>
 
<pre>nano /etc/sysconfig/vbox</pre>
 
<pre>nano /etc/sysconfig/vbox</pre>
 
vbox code should look like this:
 
vbox code should look like this:
75

edits

Navigation menu