Skip to main content

Lab Prerequisites

Required Software Packages​

  • Software packages that must be installed to complete the labs for this course.

Visual Studio Code​

  1. Navigate to https://code.visualstudio.com/Download and download the version of Visual Studio Code based on your Operating System.

  2. Install Visual Studio Code and follow the on-screen prompts.

  3. Take a screenshot of the successful installation of Visual Studio Code and save it as vscode.png.

Visual Studio Code Configuration​

  1. Open Visual Studio Code, on the left sidebar click on the Extensions icon.
vscode-extension
  1. On the EXTENSIONS: MARKETPLACE text box enter Live Server and click on Install.
vscode-extension-live-server
  1. Take a screenshot of the successful installation of Live Server and save it as vscode-extension-live-server.png.

  2. On the EXTENSIONS: MARKETPLACE text box enter Prettier and click on Install.

vscode-extension-prettier
  1. Take a screenshot of the successful installation of Prettier and save it as vscode-extension-prettier.png.

  2. Click on File > Preferences > Settings and type Format.

vscode-extension-format
  1. Look for the Default Formatter setting and choose Prettier - Code formatter.
vscode-extension-prettier-default-formatter
  1. Take a screenshot of this and save it as vscode-extension-prettier-default-formatter.png.

  2. Look for the Format On Save setting and make sure it is enabled.

vscode-extension-prettier-format-on-save
  1. Take a screenshot of this and save it as vscode-extension-prettier-format-on-save.png.

Node.js​

  1. Navigate to https://nodejs.org/en/download/prebuilt-installer and download the version of Node.js based on your Operating System.

  2. Install Node.js and follow the on-screen prompts.

Node.js installation tip

When installing Node.js, carefully read the on-screen prompts and be sure to enable the option to Automatically install the necessary tools....

If you are using Windows, follow the steps below:

  • On Windows search for PowerShell.

  • Right-click it and Run as Administrator.

  • Type this command:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
  • Press enter.

  • When prompted confirm Y.

powershell
  1. Take a screenshot of the successful installation of Node.js and save it as nodejs.png.

Postman​

  1. Navigate to https://www.postman.com and download the version of Postman based on your Operating System.

  2. Install Postman and follow the on-screen prompts.

  3. Take a screenshot of the successful installation of Postman and save it as postman.png.

  4. Navigate to https://www.postman.com and create a Postman account.

  5. Take a screenshot of the Postman account and save it as postman-account.png.

JMeter​

JDK Installation​

  1. Navigate to: https://bell-sw.com.

  2. Click on Downloads and download the latest JDK installer for your operating system.

  3. Click on the installer and follow the on-screen prompts.

  4. Take a screenshot of the successful installation of JDK and save it as jdk.png.

JMeter Installation​

  1. Navigate to: https://jmeter.apache.org.

  2. Click on Download Releases.

  3. Under Binaries section download the JMeter zip file.

  4. Extract the downloaded zip file to a preferred location on your computer.

  5. Take a screenshot of the successful installation of JMeter and save it as jmeter.png.

ZAP​

  1. Navigate to https://www.zaproxy.org/download and download the version of ZAP based on your Operating System.

  2. Install ZAP and follow the on-screen prompts.

Docker​

Docker Desktop Installation​

  1. Navigate to https://www.docker.com/products/docker-desktop and download the Docker Desktop version for your operating system.

  2. When the installation process starts:

    • Follow the prompts.

    • Go with the default set up.

    • You can continue without signing in.

    • You can also skip the survey.

Download Docker Images​

  1. Download Jenkins image:

    • Navigate to: https://hub.docker.com.

    • Enter jenkins on the search box.

    • Click on the jenkins/jenkins link.

    • On the top right side of the page, click on Copy to copy the command to get the jenkins docker image.

    • Open a terminal, paste the command and press enter.

docker-jenkins

Docker Containers​

  1. Create Jenkins container:

    • Open a terminal, enter the command below and and press enter.
docker run -d --name jenkins-container --user root -p 8080:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkins/jenkins
ParameterExplanation
docker runThis is the Docker command to create and start a new container.
--name=jenkins-containerThis option names the container "jenkins-container". Naming containers makes it easier to manage and reference them later.
--user rootUse the root user when running the container.
-p 8080:8080 -p 50000:50000Port 8080 exposes Jenkins UI and Port 50000 used for connecting agents.
-dThis option runs the container in detached mode, which means it runs in the background.
jenkins/jenkinsThis is the name of the image.
-v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sockCreates a persistent volume.
  1. Open Docker Desktop and take screenshots of both the list of Images and Containers. Name them docker-image-list.png and docker-container-list.png respectively.

Submission​

  1. Create a folder named submit.

  2. Copy all (vscode.png, vscode-extension-live-server.png, vscode-extension-prettier.png, vscode-extension-prettier-default-formatter.png, vscode-extension-prettier-format-on-save.png, nodejs.png, postman.png, postman-account.png, jdk.png, jmeter.png, docker-image-list.png and docker-container-list.png) the previously saved screenshots to this folder.

  3. Create a zip file of this folder.

  4. Navigate back to where the lab was originally downloaded, there should be a Submissions section (see below) where the zip file can be uploaded.

submission