Debian 7 Server + Fluxbox via VirtualBox


This is a link to a clean debian 7 server image as a virtualbox vdi package.

I've been using it quite a bit as the basis for different clones of sites and web services I'm refactoring, and it also came in handy cleaning up the Heartbleed mess.

It was built essentially the same way as described here in an earlier post, with Guest Additions installed, and just a small set of core development packages:

# apt-get install dkms build-essential linux-headers-$(uname -r)
# apt-get install xorg fluxbox
# apt-get install roxterm git mercurial python-all-dev python-pip python-lxml python-magic python-imaging

[after "Inserting" the Guest Additions CD via the Devices menu]

# mount /dev/dvd /media/cdrom
# cd /media/cdrom
# sh ./VBoxLinuxAdditions.run

As before, I'm using fluxbox as the window manager, though that can be changed or removed as needed.

To install it in your environment:

  1. Download the Debian7BaseServer.tar.bz2 file and unpack the archive (use tar jxf Debian7BaseServer.tar.bz2 from a terminal on both Linux and Mac OSX)
  2. Start virtualbox and create a New Virtual Machine, using the uncompressed vdi file as the hard drive

The password for both root and the sole regular account — averagejoe — is all4one but that can (and should) be changed by using the passwd command after first login.

To bring up the window manager as either user, type startx after logging in successfully.