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 http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add - apt-get update apt-get install virtualbox
- create the config file
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
- do passwd on vbox
VBoxManage extpack install <tarball>
- Install LAMP Stack on debian
- use phpVirtualBox for management
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
- using the keyboard scan codes to send to the vm
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]]
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 --