Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:projects:vbox [2016/02/27 21:34] jeffwiki:projects:vbox [2021/12/10 21:11] jeff
Line 6: Line 6:
  
 add: add:
-deb http://download.virtualbox.org/virtualbox/debian wheezy contrib non-free+deb http://download.virtualbox.org/virtualbox/debian bullseye contrib non-free
  
-wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add - +wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add - 
-apt-get update +apt update 
-apt-get install virtualbox+apt install virtualbox-6.0 (until they upgrade to 1.28)
 </code> </code>
   * create the [[http://code.google.com/p/phpvirtualbox/wiki/vboxwebServiceConfigLinux|config]] file   * create the [[http://code.google.com/p/phpvirtualbox/wiki/vboxwebServiceConfigLinux|config]] file
Line 23: Line 23:
   * create a vbox user and add   * create a vbox user and add
 <code> <code>
-useradd vbox+adduser vbox
 usermod -a -G vboxusers vbox usermod -a -G vboxusers vbox
-mkhomedir_helper vbox +chgrp vboxusers /etc/vbox 
-group add +chmod g+w /etc/vbox 
 +chmod +t /etc/vbox 
 +VBoxManage setproperty autostartdbpath /etc/vbox/
 </code> </code>
   * do passwd on vbox   * do passwd on vbox
Line 33: Line 35:
 VBoxManage extpack install <tarball> VBoxManage extpack install <tarball>
 </code> </code>
-  * Install [[http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-debian-lenny-lamp|LAMP Stack]] on debian +  * Install [[https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-lamp-on-debian-stretch/|LAMP Stack]] on debian 
-  * use [[http://sourceforge.net/projects/phpvirtualbox/|phpVirtualBox]] for management+<code> 
 +apt install php7.0-xml 
 +apt install php7.0-soap 
 + 
 +</code> 
 +  * use [[https://github.com/phpvirtualbox/phpvirtualbox|phpVirtualBox]] for management
 <code> <code>
 nano /etc/rc.local nano /etc/rc.local
 /bin/su -c "/usr/bin/vboxwebsrv -b" vbox /bin/su -c "/usr/bin/vboxwebsrv -b" vbox
  
-apt-get install unzip+apt install unzip
 unzip phpVirtualbox -d /var/www/ unzip phpVirtualbox -d /var/www/
 </code> </code>
Line 52: Line 59:
 ** No longer needed with the creation of the vbox home folder ** ** No longer needed with the creation of the vbox home folder **
 /usr/lib/virtualbox/vboxwebsrv --background -H 127.0.0.1 -p 18083 /usr/lib/virtualbox/vboxwebsrv --background -H 127.0.0.1 -p 18083
 +
 +nano /etc/rc.local
 +---
 +#!/bin/sh -e
 +#
 +# rc.local
 +#
 +# This script is executed at the end of each multiuser runlevel.
 +# Make sure that the script will "exit 0" on success or any other
 +# value on error.
 +#
 +# In order to enable or disable this script just change the execution
 +# bits.
 +#
 +# By default this script does nothing.
 +
 +/bin/su -c "/usr/bin/vboxwebsrv --background -H 127.0.0.1 -p 18083" vbox
 +service vboxdrv start
 +service vboxweb-service start
 +
 +exit 0
 +---
 +chmod +x /etc/rc.local
 </code> </code>
 ---- ----
Line 65: Line 95:
   * install package   * install package
   * service vboxdrv restart   * service vboxdrv restart
 +
 +===== Commands =====
 +
 +<code>
 +VBoxManage list vms
 +VBoxManage startvm crypto_1 --type headless
 +VBoxManage guestproperty get crypto_1 "/VirtualBox/GuestInfo/Net/0/V4/IP"
 +</code>
  
 ===== Adding GPU ===== ===== Adding GPU =====
      
-  * [[https://wiki.debian.org/ATIProprietary]]+  * [[https://wiki.debian.org/ATIProprietary|Debian install ATI]] 
 + 
 <code> <code>
-apt-get install xdm xorg+apt install xdm xorg
 rm /etc/X11/xorg.conf && aticonfig --adapter=all --initial rm /etc/X11/xorg.conf && aticonfig --adapter=all --initial
  
wiki/projects/vbox.txt · Last modified: 2021/12/10 22:13 by jeff
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0