Changes

Jump to navigation Jump to search
no edit summary
Line 3: Line 3:     
===Description===
 
===Description===
Below are instructions on how to install VirtualBox version 4 on fresh install SME Server v8 beta 6. Plus installing and 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.
+
Below are instructions on how to install VirtualBox version 4 on fresh install SME Server v8 beta 6 and higher. Plus installing and 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===
 
===Requirements===
Computer with SME server version 8 beta 6 installed.
+
Computer with SME server version 8 beta 6 and higher installed.
    
===Installation===
 
===Installation===
Line 24: Line 24:  
       <pre>uname -r</pre>
 
       <pre>uname -r</pre>
   −
   <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.</li>
    
Use this command only if you have PAE kernel installed:
 
Use this command only if you have PAE kernel installed:
Line 45: Line 45:     
   <li>Install the Fedora Epel repository using the instructions [http://wiki.contribs.org/Epel here].</li>
 
   <li>Install the Fedora Epel repository using the instructions [http://wiki.contribs.org/Epel here].</li>
  −
  <li>Install the VirtualBox repository using the instructions [http://wiki.contribs.org/VirtualBox_Repository here].</li>
      
   <li>Install Dynamic Kernel Module Support (DKMS)</li>
 
   <li>Install Dynamic Kernel Module Support (DKMS)</li>
Line 55: Line 53:  
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>Install the VirtualBox repository using the instructions [http://wiki.contribs.org/VirtualBox_Repository here].</li>
      <pre>allow_url_fopen = On</pre>
     −
   <li>Install <b>VirtualBox v4.0</b> (At the time of writing, the latest version is v4.1.0).</li>
+
   <li>Install <b>VirtualBox</b> (At the time of the last update to these instructions, the latest version was v4.1.2).</li>
 +
<!--
 
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.0/VirtualBox-4.1-4.1.0_73009_rhel5-1.i386.rpm
 
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.0/VirtualBox-4.1-4.1.0_73009_rhel5-1.i386.rpm
 
yum install VirtualBox-4.1-4.1.0_73009_rhel5-1.i386.rpm -y</pre>
 
yum install VirtualBox-4.1-4.1.0_73009_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.
 +
-->
 +
      <pre>yum install --enablerepo=virtualbox VirtualBox-4.1</pre>
    
   <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/.
 
       <pre>cp /etc/rc5.d/S30vboxdrv /etc/rc7.d/.
cp /etc/rc5.d/S35vboxballoonctrl /etc/rc7.d/.
+
cp /etc/rc5.d/S35vboxballoonctrl-service /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/.
Line 79: Line 79:  
   </li>
 
   </li>
   −
   <li>Before we install <b>[http://code.google.com/p/phpvirtualbox/ phpVirtualBox]</b>, make sure you install <b>SOAP</b> first.</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>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>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  http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.0-7.zip
 
unzip phpvirtualbox-4.0-7.zip
 
unzip phpvirtualbox-4.0-7.zip
Line 124: Line 125:  
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.0/Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack
 
       <pre>wget http://download.virtualbox.org/virtualbox/4.1.0/Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack
 
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack</pre>
 
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.0-73009.vbox-extpack</pre>
 +
 +
  <li>Enable <b>fopen</b> on ''php.ini'' (line 65) located on /etc/</li>
 +
      <pre>allow_url_fopen = On</pre>
 +
    
   <li>Go to http://your_server’s_ip/phpvbox (e.g. http://192.168.100.1/phpvbox) to create our virtual machine.
 
   <li>Go to http://your_server’s_ip/phpvbox (e.g. http://192.168.100.1/phpvbox) to create our virtual machine.
38

edits

Navigation menu