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).
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:
- 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.
- Install the VirtualBox and follow the basic procedures of the installation as follow:
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
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.
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.