VirtualBox image creation details

Go up to the main directory page (md)

For those who are interested, this is how the VirtualBox image was created.

Introduction

This page has a number of different sections, and the sections you need to install will vary depending on what course you are using this image for. The top of each section describes which of the sub-sections need to be installed for what.

Software Versions

This installation document installs the following versions:

Newer versions of the above may have since come out, but at the time of the last update of this document (August 2019), they the latest versions installed via apt-get.

Notes

Basic installation

All installations need to run through this, as it sets up the default Ubuntu installation.

Basic installation

Development installation

The “Program and Data Representation configuration” section is for the Program and Data Representation course, and it includes all of the compilers and editors needed. The “Python/Django” section installs the files needed to run Python 3 and the Django framework.

Program and Data Representation configuration

sudo update-alternatives --set cc /usr/bin/clang
sudo update-alternatives --set c++ /usr/bin/clang++
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
alias xemacs='emacs'

Introduction to Cybersecurity configuration

Service Learning Practicum configuration section

These sections are no longer included here, nor used in the images currently distributed, but can be found in the latest version of the aaronbloomfield/slp repo. There were two sections for this: “LAMP configuration (with both PHP and Python 3)” and “Ruby on Rails configuration”. Note that that repo, and the linked instructions, were last updated in August of 2017. All the versions stated therein are outdated, and many (all?) of those instructions may need tweaking to work properly again.

Programming Contest configuration section

This section is no longer included here, nor used in the images currently distributed, but can be found in an old version of the PDR repo. That version was last updated in the spring of 2018.

Image completion

The “Image finalization” section should be run on every image.

Image finalization

Increasing the disk size

The hard drive size was set at 40 Gb, and about 27 Gb is available; the rest is used by the operating system (and the swap partition). If you need more space than this, you will have to expand the hard drive. Be careful – it is easy to accidentally erase the entire hard drive while doing this!

Changes for the future