Phpvirtualbox - Virtualbox mit Webinterface Ubuntu 16.04: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 14: | Zeile 14: | ||
*apt-get install virtualbox-5.0 | *apt-get install virtualbox-5.0 | ||
=add vbox user= | =add vbox user= | ||
| − | *useradd -s /bin/bash -g vboxusers vbox | + | *useradd -m -s /bin/bash -g vboxusers vbox |
*passwd vbox | *passwd vbox | ||
| + | |||
=download, unpack and move phpvirtualbox= | =download, unpack and move phpvirtualbox= | ||
*wget https://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-5.0-5.zip | *wget https://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-5.0-5.zip | ||
| Zeile 23: | Zeile 24: | ||
*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 | ||
| + | *echo "VBOXWEB_USER=vbox" >> /etc/default/virtualbox | ||
| + | |||
| + | =start some services= | ||
| + | *systemctl restart vboxweb-service | ||
| + | *systemctl restart vboxdrv | ||
| + | *systemctl restart apache2 | ||
| + | =access= | ||
| + | http://127.0.0.1/phpvirtualbox. | ||
| + | |||
| + | default username: admin | ||
| + | |||
| + | default password: admin | ||
=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/ | ||
| + | *https://sourceforge.net/p/phpvirtualbox/wiki/Common%20phpVirtualBox%20Errors%20and%20Issues/ | ||
Aktuelle Version vom 13. September 2016, 18:57 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
- echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> /etc/apt/sources.list
- wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
- apt-get update
install virtualbox
- apt-get install virtualbox-5.0
add vbox user
- useradd -m -s /bin/bash -g vboxusers vbox
- passwd vbox
download, unpack and move phpvirtualbox
- wget https://sourceforge.net/projects/phpvirtualbox/files/phpvirtualbox-5.0-5.zip
- unzip phpvirtualbox-5.0-5.zip
- mv phpvirtualbox-5.0-5 /var/www/html/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
- echo "VBOXWEB_USER=vbox" >> /etc/default/virtualbox
start some services
- systemctl restart vboxweb-service
- systemctl restart vboxdrv
- systemctl restart apache2
access
http://127.0.0.1/phpvirtualbox.
default username: admin
default password: admin