War with MacOsX + Debian + Windows 7 on VirtualBox

VirtualBox main window with 2 guest mashinesI think that VirtualBox is faster than Parallels  on my Mac and have much more addons but (big BUT :)) I had much more problems with VirtualBox than with Parallels (with parallelstools)

1. connection with internet and ssh on Guest machine

Firstly u have to install VBoxGuestAdditions and secondly add two adapters ( NAT, Host Only Adapter) and configure it on Debian in /etc/network/interfaces for eg.

auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.56.2
netmask 255.255.255.0
gateway 192.168.56.1

2. most complicated was shared folder (/user/Sites) on guest machine.  This problem is denied permission to write in directories and files, the solution is easy.

mount -t vboxsf -o uid=0,gid=0,rw,fmode=777,dmode=777 Sites /var/www