Jumat, 02 Januari 2015

PHPVbox 4.3.x

First install Virtualbox
  1. sudo vim /etc/apt/sources.list.d/virtualbox.list
  2. Add deb http://download.virtualbox.org/virtualbox/debian saucy contrib
  3. wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
  4. sudo apt-get update
  5. sudo apt-get install dkms unzip
  6. sudo apt-get install virtualbox-4.3 --no-install-recommends
  7. wget http://download.virtualbox.org/virtualbox/4.3.2/Oracle_VM_VirtualBox_Extension_Pack-4.3.2.vbox-extpack
  8. sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.2.vbox-extpack
Now to install phpVirtualbox
  1. sudo apt-get install apache2 php5 libapache2-mod-php5
  2. sudo service apache2 restart
  3. sudo adduser --ingroup vboxusers vbox and enter a password
  4. wget 'http://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-4.3-0.zip/download' -O phpvirtualbox-4.3-0.zip
  5. sudo unzip phpvirtualbox-4.3-0.zip -d /var/www/vb
  6. cd /var/www/vb
  7. sudo mv config.php-example config.php
  8. sudo nano config.php and make $username and $password match the user you created earlier
  9. Also add this line to disable phpVirtualbox's authentication var $noAuth = true;
  10. sudo nano /etc/default/virtualbox
  11. Add VBOXWEB_USER=vbox
  12. sudo /etc/init.d/vboxweb-service start
  13. In a browser, go to http://your-server/phpvirtualbox
For me i had to enable VT-d and VT-x in my BIOS in order to get phpvirtualbox to work properly.

sbr:https://gist.github.com/mikedevita/7461832

Tidak ada komentar:

Posting Komentar