Line 1: |
Line 1: |
| + | {{warning box|this how to is out of date. You probably wants to install the smeserver-phpvirtualbox and smeserver-virtualbox contribs for SME8 and SME9, then see here : [[Phpvirtualbox]]}} |
| + | |
| ===Maintainer=== | | ===Maintainer=== |
| [http://www.compsos.com.au CompSOS] | | [http://www.compsos.com.au CompSOS] |
Line 278: |
Line 280: |
| </ol> | | </ol> |
| | | |
− | ===Upgrading VirtualBox===
| |
− | <ol>
| |
− | <li>Remove installed VirtualBox.
| |
− | <pre>yum remove VirtualBox-4.1</pre></li>
| |
− | <li>Install the latest VirtualBox, as of this date it is VirtualBox 4.2.
| |
− | <pre>yum install --enablerepo=virtualbox VirtualBox-4.2</pre></li>
| |
− | <li>Create a '''virtualbox''' file on your /etc/default/. On Virtualbox 4.1, virtualbox file was originally /etc/vbox/vbox.cfg.
| |
− | <pre>nano /etc/default/virtualbox</pre>
| |
− | <p>''virtualbox'' should have this content.</p>
| |
− | <pre>VBOXWEB_USER='root'
| |
− | VBOXWEB_HOST=127.0.0.1
| |
− | VBOXWEB_PORT=18083
| |
− | VBOXWEB_LOGFILE=/var/log/vboxweb
| |
− | INSTALL_DIR=/usr/lib/virtualbox
| |
− | </pre></li>
| |
− | <li>Install VirtualBox extension pack, you can find the extension packs [http://www.virtualbox.org/wiki/Downloads here].
| |
− | <pre>wget http://download.virtualbox.org/virtualbox/4.2.0/Oracle_VM_VirtualBox_Extension_Pack-4.2.0-80737.vbox-extpack
| |
− | vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.2.0-80737.vbox-extpack
| |
− | </pre></li>
| |
− | <li>Test if your VirtualBox upgrade is successful by starting your existing virtual machine.
| |
− | <pre>vboxheadless –s vmXP</pre> OR
| |
− | <pre>/etc/init.d/vbox start</pre></li>
| |
− | </ol>
| |
− | ===Upgrading phpVirtualBox===
| |
− | <ol>
| |
− | <li>Make a directory to save your existing phpVirtualBox folder.
| |
− | <pre>mkdir –p /tmp/phpvirtualbox-4.1.22</pre></li>
| |
− | <li>Change directory to your phpvbox ibay then copy all of your phpVirtualBox files.
| |
− | <pre>cd /home/e-smith/files/ibays/phpvbox/html/
| |
− | cp –R * /tmp/phpvirtualbox-4.1.22</pre></li>
| |
− | <li>Download the latest phpVirtualBox to /tmp/ folder.
| |
− | <pre>cd /tmp
| |
− | wget http://phpvirtualbox.googlecode.com/files/phpvirtualbox-4.2-0b.zip
| |
− | unzip phpvirtualbox-4.2-0b.zip
| |
− | cd phpvirtualbox-4.2-0b
| |
− | yes | cp -R * /home/e-smith/files/ibays/phpvbox/html/
| |
− | </pre></li>
| |
− | <li>Rename ''config.php.example'' to ''config.php'' and edit the configuration file as per above.
| |
− | <pre>mv config.php-example config.php</pre></li>
| |
− | <li>Restart vboxwebservice
| |
− | <pre>/etc/init.d/vboxweb-service restart</pre></li>
| |
− | <li>Download the latest VBox Guest Additions and install to your Guest VM.
| |
− | <pre>cd /opt/VMs/
| |
− | wget http://download.virtualbox.org/virtualbox/4.2.0/VBoxGuestAdditions_4.2.0.iso
| |
− | </pre></li>
| |
− | </ol>
| |
| ===Troubleshooting=== | | ===Troubleshooting=== |
| | | |
Line 339: |
Line 295: |
| [[Category: Virtualisation]] | | [[Category: Virtualisation]] |
| [[Category: Advanced]] | | [[Category: Advanced]] |
| + | [[Category: Howto]] |