SEEDLabs: Lab Environment Setup

In order to practice all the labs in the SEEDSLabs web site, we need to setup the environment of lab. Here is...

Written by Vortana Say · 2 min read

In order to practice all the labs in the SEEDSLabs web site, we need to setup the environment of lab. Here is the instruction mentioned in the SEEDLabs website, http://www.cis.syr.edu/~wedu/seed/lab_env.html.

There is no need for a physical lab space due to the availability of the virtual machine software that allow us to install others operating system easily especially Ubuntu; In order to setup this lab environment for different securities’ labs, we need a virtual box (a virtual machine software) and a pre-built virtual machine images (Ubuntu).

Capture 2015-05-23 07.54.46

I. Install a virtual machine software

“A virtual machine (VM) shares physical hardware resources with other users but isolates the operating system or application to avoid changing the end-user experience” (Rouse, 2015). There are two popular virtual machine software, VMWare Workstation and Virtual Box. In this course, we chose Virtual Box which is free.

These are the procedure to install the virtual box software:

  1. Download the VirtualBox platform packages from the virtual box website, https://www.virtualbox.org/wiki/Downloads, You can choose the VirtualBox software based on your operating system, Windows hosts, OS X hosts, Linux hosts and solaris hosts.
  2. Install the VirtualBox and follow the basic procedures of the installation as follow:

Capture 2015-05-23 07.33.41

Finally, this is the Virtual Box manager where we can install any needed operating systems.

2. Install a pre-built virtual machine image (Ubuntu)

As can be seen from the seed lab’s web page, we can choose the latest pre-built virtual machine image which is SEEDUbuntu 12.04.

Noted: we can also download the image of Ubuntu from the Ubuntu official website (http://www.ubuntu.com/download/desktop). If we want to install the Ubuntu image in the VirtualBox from scratch, we can follow these instructions from this forum, (http://askubuntu.com/questions/142549/how-to-install-ubuntu-on-virtualbox). However, we chose the SEEDUbuntu2014 from the Seed lab web page because it can be used for all SEED labs that are based on Linux and was included the necessary tools, software, and libraries needed for the labs.

The SEEDUbuntu 12.04 was already installed using the virtual box; thus, we don’t have to install this operating system from the scratch. We can create new virtual machine in virtual box and use this existing virtual hard drive file. We will follow the instructions as follow:

a. Step 1: create a new virtual machine in virtual box

b. Step 2: provide a name and select the operating system type

  • Provide the name for example, SEEDUbuntu
  •  Type “Linux”
  • Version “Ubuntu (64 bit)” or “Ubuntu (32 bit)” depends on your machine

Capture 2015-05-23 07.35.35

It is good enough for 512 MB of RAM. However we can assign more memory to this VM if the host machine has enough memory.

d. Step 4: select the hard drive file

In this part, we need to select the hard drive file pointed to the SEEDUbuntu 12.04 that we downloaded. Select “use an existing virtual hard drive file” and browse to the file path.

Capture 2015-05-23 07.35.54

After browsed to the SEEUbuntu12.04 file, we can click on create button to finish the creation.

Capture 2015-05-23 07.36.16

Here we can see the SEEDUbuntu OS on the left panel of the VirtualBox manager. In order to start this VM, we click on start button.

Capture 2015-05-23 07.36.39

According to the manual of the SEEDUbuntu 12.04, there are two accounts created in the VM. The usernames and passwords are listed in the following:

  • User ID: root, Password: seedubuntu

Note: Ubuntu does not allow root to login directly from the login window. You have to login as a normal user, and then use the command su to login to the root account.

  • User ID: seed, Password: dees

Now we are ready to experiment the projects and labs in the SEEDLabs.