This is an old revision of the document!
Table of Contents
Controller install
Alito reinstalled using the VB repo: https://www.virtualbox.org/wiki/Linux_Downloads#Debian-basedLinuxdistributions
Creating a VM
Seemingly can only be done (or is easiest) through the GUI.
No need to install any desktop packages.
Networking
Edit /etc/network/interfaces for a static IP:
allow-hotplug eth0 iface eth0 inet static address 10.0.0.14 netmask 255.255.255.0 gateway 10.0.0.2 dns-domain local dns-nameservers 8.8.8.8
Then root@alito:/etc/network# ../init.d/networking restart (and get kicked off).
Guest Additions (for shared folders)
No longer downloaded as an .iso, download, open with VirtualBox and they are added to the controller. They can be installed to a specific machine firstly by inserting the imaginary iso in the imaginary drive (Devices –> Insert ISO into drive…) and then by running the executable in '/media/cdrom0' as root.
If you get
root@alito:/media/cdrom0# ./VBoxLinuxAdditions.run bash: ./VBoxLinuxAdditions.run: Permission denied
It's probably a fstab problem. In /etc/fstab, change this:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
To this:
/dev/sr0 /media/cdrom0 udf,iso9660 user,exec 0 0