Test your skills
How to install PHP virtual box in my Ubuntu Linux 12.04?
What features doe it provide compared to VMware?
Hello Danny I Sanders!
Head over to this URL and download the installer. The only difference of phpVirtualbox to VMware is that you don’t need to install to your system. You can run it via browser unlike VMware that you need to install first and configure the hard disk space for installation and usage.
Taking snapshots, deleting and restoring are some of the features of phpVirtualbox.
You just need to install first LAMP into your Linux Machine then copy the phpVirtualbox folder to /var/www/ directory and type in your web browser URL http://localhost/phpvirtualbox and you can now use it.
PhpVirtualBox is a graphical user interface written in PHP. It is an open-source web interface where you can control different VirtualBox virtual machines by simply using a web browser.
With its web interface, you can use it to create, start, and stop virtual machines anywhere that are associated to your PhpVirtualBox. There are prerequisites when installing PhpVirtualBox. Before starting your installation, download the latest version of PhpVirtualBox.
You also need to install PHP5 and Apache2 on your Ubuntu operating system.
Installing PHP5 and Apache2 can be done using these commands:
Next is to create a folder called “public_html” in your home directory by running this command in the Terminal: mkdir public_html. You can access the Terminal by pressing CTRL + ALT + T. You now need to install the downloaded package from the Terminal: sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1-73009.vbox-extpack. After that load the “userdir” module in Apache2: sudo a2enmod userdir. After loading it, restart Apache2: sudo /etc/init.d/apache2 restart. Edit the “userdir.conf” file to be able to properly use PHP pages in the “public_html” directory: sudo gedit /etc/apache2/mods-available/userdir.conf.
After opening the file, find the line that contains “AllowOverride FileInfo AuthConfig Limit Indexes” and then insert “#” at the beginning making it look like this: #AllowOverride FileInfo AuthConfig Limit Indexes. And then add this below it: AllowOverride All. Save the file then close it. Next is to edit “php5.conf” file to be able to execute PHP pages: sudo gedit /etc/apache2/mods-available/php5.conf. Find these then add “#” in front:
Finally, restart Apache2 for the changes to take effect. For the proper procedure on installing PhpVirtualBox since the above steps are only for the prerequisites, visit here for the details