In this tutorial I will show you how you can run virtual machines with VirtualBox  on a Debian Squeeze server and how to manage your virtual machines with phpvirtualbox.
Phpvirtualbox is a web based VirtualBox front-end written in PHP that allows you to access and control remote VirtualBox machines.

Step1. First we need to create an user called Administrator and group with the same name.

root@css:~# groupadd administrator
root@css:~# useradd -d /home/administrator -m -g administrator -s /bin/bash administrator
root@css:~# passwd administrator
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

Step2. Install VirtualBox
Add the VirtualBox repository in your sources.list file and download the VirtualBox public key:

echo “deb squeeze contrib non-free” >> /etc/apt/sources.list
wget -q -O- | apt-key add –

Now install VirtualBox using the following command: Continue Reading…