Phpvirtualbox - Virtualbox mit Webinterface Ubuntu 16.04: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 23: Zeile 23:
 
*chmod 777 /var/www/html/phpvirtualbox/
 
*chmod 777 /var/www/html/phpvirtualbox/
 
*cp /var/www/html/phpvirtualbox/config.php-example /var/www/html/phpvirtualbox/config.php
 
*cp /var/www/html/phpvirtualbox/config.php-example /var/www/html/phpvirtualbox/config.php
 +
*sed -i.bac -e "/var/s/pass/geheim/2" /var/www/html/phpvirtualbox/config.php
  
 
=links=
 
=links=
 
*http://www.ostechnix.com/install-oracle-virtualbox-ubuntu-16-04-headless-server/
 
*http://www.ostechnix.com/install-oracle-virtualbox-ubuntu-16-04-headless-server/

Version vom 13. September 2016, 18:05 Uhr

update upgrade dist-upgrade and reboot

  • apt-get update
  • apt-get upgrade
  • apt-get dist-upgrade
  • reboot

install some packages

  • apt-get install build-essential dkms unzip wget apache2 php php-mysql libapache2-mod-php php-soap php-xml

Add Oracle VirtualBox official repository. To do so

install virtualbox

  • apt-get install virtualbox-5.0

add vbox user

  • useradd -s /bin/bash -g vboxusers vbox
  • passwd vbox

download, unpack and move phpvirtualbox

make some setings

  • chmod 777 /var/www/html/phpvirtualbox/
  • cp /var/www/html/phpvirtualbox/config.php-example /var/www/html/phpvirtualbox/config.php
  • sed -i.bac -e "/var/s/pass/geheim/2" /var/www/html/phpvirtualbox/config.php

links