Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 1: Line 1:  +
===Maintainer===
 +
[http://www.compsos.com.au Computing SOS Pty Ltd]
 +
 +
===Description===
 
Contributions below contain instructions on how to install VirtualBox version 4 on fresh install SME Server v8 beta 6. Plus configuring phpVirtualBox to control (create, edit, remove) your virtual machine on its web interface. In addition, scripts to automatically start the vbox service and the virtual machines in case of power failure can be found at the end of this article.
 
Contributions below contain instructions on how to install VirtualBox version 4 on fresh install SME Server v8 beta 6. Plus configuring phpVirtualBox to control (create, edit, remove) your virtual machine on its web interface. In addition, scripts to automatically start the vbox service and the virtual machines in case of power failure can be found at the end of this article.
    +
===Requirements===
 +
Computer with SME server version 8 beta 6 installed.
    +
===Installation===
 
<ol>
 
<ol>
 
   <li>Setup SME Server v8 beta 6.</li>
 
   <li>Setup SME Server v8 beta 6.</li>
Line 30: Line 37:  
       <pre>ln –s /usr/src/kernels/’uname  –r’-i686 /lib/modules/`uname -r`/build</pre>
 
       <pre>ln –s /usr/src/kernels/’uname  –r’-i686 /lib/modules/`uname -r`/build</pre>
   −
   <li>Install DKMS</li>
+
   <li>Install <b>DKMS</b></li>
 
       <pre>wget http://packages.sw.be/dkms/dkms-2.1.1.2-1.el5.rf.noarch.rpm
 
       <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 <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>
 
       <pre>allow_url_fopen = On</pre>
 
       <pre>allow_url_fopen = On</pre>
   Line 47: Line 54:  
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'
 
       <pre>VBOXWEB_USER='root'
 
VBOXWEB_HOST=127.0.0.1
 
VBOXWEB_HOST=127.0.0.1
Line 72: Line 79:  
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) */
 
       <pre>/* SOAP URL of vboxwebsrv (not phpVirtualBox's URL) */
Line 95: Line 102:  
</pre>
 
</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>
 
   <li>Install VirtualBox extension pack to enable support for USB 2.0 devices, VirtualBox RDP and PXE boot for Intel cards.</li>
75

edits

Navigation menu