Installing Debian in a VirtualBox Virtual Machine

These are the basic steps need to install Debian Virtual Machine running in Virtualbox. May 2016.

Note: This VM will be used for hosting the Ubiquiti Networks Unifi Controller software – so the VM hard drive is bigger than generally required.

Install Debian

Create the Virtual Machine with a virtual drive of 64GB (required by the Mongo DB used by Unifi – see another post about this).

Download the latest Debian ISO – in this case debian-8.2.0-amd64-netinst.iso

Mount the Debian ISO as a CD withing the storage manager of the VM.

Set the LAN adapter to be BRIDGED

Boot the machine and proceed with the install with the following settings:

Hostname: unifyNode

Create user & passwords : root, jon

Partition: Guided – use entire disk

Package manager: United Kingdom /  ftp.uk.debian.org

Software Selection: Debian Desktop environment, LXDE, SSH Server, standard system utilities.

Install the GRUB boot loader on the VBOX drive (/dev/sda (ata-VBOX_HARDDISK_xxxxx)

Boot Debian and Install Update

Login as root

apt-get update

apt-get upgrade

visudoer

Add user to the sudoer list

visudo
# User privilege specification
root ALL=(ALL:ALL) ALL
jon ALL=(ALL:ALL) ALL

Next Up… Installing Chrome with Remote Desktop on Debian Linux,

Installing Ubiquiti Unifi Controller on Debian Linux