# Setup the Student Virtual Machine

## Introduction

We need to have a good setup for all the software and tools we will be using during this training. By having one common operating system pre-configured to play with, we can focus on the training rather than trying to troubleshoot random setup issues etc.

## What are we going to cover?

This chapter will cover the steps needed to import and connect to the Virtual Machine.

We have installed and configured a Zorin, a modern Linux based distribution, with standard software that helps us do security testing of cloud servers and applications.

List of the software

* Zorin 16.1
* Xfce desktop environment
* Open SSH server
* cURL
* htop
* Python 3
* python-pip
* awscli (python package)
* boto3 (python package)
* GCloud Cli
* VirtualBox Guest additions
* Firefox browser
* Burpsuite Community Edition
* bash\_profile
* codenamize
* Ansible
* Terraform

## Steps to setup

### Import the OVA into VirtualBox

![OVA Import](/files/shSn85m5vfkgpqud0vv4)

### Reinitialize MAC addresses

![Reinitialize MAC](/files/yXi1Q5I0e2jVVEpqcm9K)

### Login with credentials

```
username: student
password: student
```

### Check if you are connected to the Internet

```
ping 8.8.8.8

ping www.google.com
```

### Time Correction Commands

Install `ntp` in your student machine with the following command

```
sudo apt install ntp 
```

**If, and only if,** the clock on this virtual machine syncs out of the correct time then run the following commands from a terminal

```
sudo -i
echo -n Asia/Kolkata > /etc/timezone
rm /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
sudo service ntp stop
sudo ntpdate -s time.nist.gov
sudo service ntp start
```

**Note:** Reboot the machine if the time change is not automatic

## Additional information

No additional information for this section


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://0xcriminal.gitbook.io/about-me/cloudsec/setting-up-the-student-virtual-machine/setup-student-virtual-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
