This is an old revision of the document!


Table of Contents

Virtual Box

  • based on debian minimal install
nano /etc/apt/sources.list

add:
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib non-free

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add -
apt-get update
apt-get install virtualbox
nano /etc/default/virtualbox

LOAD_VBOXDRV_MODULE=1
VBOXWEB_USER=vbox
VBOXWEB_HOST=<box ip>
VBOXWEB_PORT=18083
  • create a vbox user and add
useradd vbox
usermod -a -G vboxusers vbox
mkhomedir_helper vbox
group add 
VBoxManage extpack install <tarball>
nano /etc/rc.local
/bin/su -c "/usr/bin/vboxwebsrv -b" vbox

apt-get install unzip
unzip phpVirtualbox -d /var/www/
  • mv config.php-example config.php
  • change 127.0.0.1 to localhost
  • uncomment # the noAuth line
  • add password to the user/pass line
  • edit /var/www/index.html to point to the phpVirtualBox dir
  • * i.e. add a link to phpVirtualBox on the home page. Also, put the box's name in the H1 tag.
  • Run the service
** No longer needed with the creation of the vbox home folder **
/usr/lib/virtualbox/vboxwebsrv --background -H 127.0.0.1 -p 18083

Upgrading

  • updated Squeezy to Wheezy
    • HP drivers: tg3: tigon/tg3_tso5.bin, tigon/tg3_tso.bin, tigon/tg3.bin
  • remove vbox
  • download latest from virtualbox.org
  • install package
  • service vboxdrv restart

Adding GPU

* [[https://wiki.debian.org/ATIProprietary|Debian install ATI]]
apt-get install xdm xorg
rm /etc/X11/xorg.conf && aticonfig --adapter=all --initial

nano /etc/profile
 --
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export XAUTHORITY=/.Xauthority
 --
wiki/projects/vbox.1581868700.txt.gz · Last modified: 2020/11/19 14:21 (external edit)
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0