Setup Student Virtual Machine
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
studentAdd the
studentuser to the sudoers group usingsudo usermod -aG sudo studentLogin as the
studentuserAdd the
/home/student/.local/binfolder to $PATH
Software needed on the virtual machine
Install the following software on the student virtual machine
python3 pip (
sudo apt install python3-pip)Terraform (
sudo apt install unzip;wget https://releases.hashicorp.com/terraform/0.11.3/terraform_0.11.3_linux_amd64.zip;unzip terraform_0.11.3_linux_amd64.zip;sudo mv terraform /usr/local/bin/)aws-cli (
pip3 install --upgrade --user awscli)ansible (
sudo apt install ansible)codenamize (
pip3 install codenamize --user)boto3 (python package)
Azure cli (
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash)cli53 - get the binary release from
https://github.com/barnybug/cli53/releasesMousepad/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
binfolder to/usr/bin/Make them executable using
chmod +x filename
Step 2 - Adding terraform scripts in home directory
Create a hidden folder called
terraformin thestudentuser's home directory usingmkdir terraformVerify if the folder is created using
ls -ltra /home/student/terraformRecursively copy files from inside the
terraformfolder into the/home/student/terraformfolder. You can usecp -r setup-files/terraform/* /home/student/terraform/to do this.Verify if the files have been copied using
ls -ltra /home/student/terraform/
The VM is now ready for the training
Additional information
No additional information for this section
Last updated