Setting up and accessing the student virtual machine
Setup Files
This document describes how to use the files inside the setup-files folder to create a local student machine that can be used to then do the rest of the training.
It is really important to follow the instructions in this document before starting with the actual training materiel as this document used to setup your labs and access.
Initial setup
Setup a Ubuntu 18.04 Desktop virtual machine with a Desktop (GUI) environment. We prefer the machine to be deployed as a Virtualbox virtual machine, but you can use any other virtualisation software.
The username on the student virtual machine has to be student.
Create a new user with the name student
Add the student user to the sudoers group using sudo usermod -aG sudo student
Login as the student user
Add the /home/student/.local/bin folder to $PATH
Software needed on the virtual machine
Install the following software on the student virtual machine
cli53 - get the binary release from https://github.com/barnybug/cli53/releases
Mousepad/Leafpad
Burpsuite
Firefox
Virtualbox guest additions
Steps to setup the student virtual machine
Step 1 - Adding scripts in /usr/bin
Copy all files from the bin folder to /usr/bin/
Make them executable using chmod +x filename
Step 2 - Adding terraform scripts in home directory
Create a hidden folder called terraform in the student user's home directory using mkdir terraform
Verify if the folder is created using ls -ltra /home/student/terraform
Recursively copy files from inside the terraform folder into the /home/student/terraform folder. You can use cp -r setup-files/terraform/* /home/student/terraform/ to do this.
Verify if the files have been copied using ls -ltra /home/student/terraform/