Linux

The operating system of our experimental environment is Ubuntu 18.04 which is a free and open-source Linux distribution. In order to run Linux, you need to install a virtual machine hypervisor on your computer. There are two reasons.

  1. Our experiments involve changes to the network. Using a virtual machine (VM) can avoid impact on your computer.
  2. We will introduce Mininet and Switchyard later. It is much more easier to install and run them on Linux.

[!NOTE] You are also free to use your favorite virtualization software for the lab assignment but you will most probably have to deal with the possible issues on yourself.

Install VirtualBox

First download the VirtualBox installer, you can find it here. You can choose the latest VirtualBox installer. If the operating system of your host is Windows, then click the download link "Windows hosts". Another tool you need to download is "Extension Pack" which allows you resize your Linux display in VirtualBox. We highlight them in the picture below.

VirtualBox download

After completing download, install VirtualBox first then the extension pack.

Import the VM Image

To ensure that your experimental environment is consistent, we provide a VM image. This image has Switchyard, Mininet and Wireshark installed so you do not need to worry about setting up the environment.

You can find the VM image here.

  • User name: njucs
  • Password: 123

You can learn about importing a VM image in VirtualBox here.

Install the Extension in VM

Start your VM and check if your Linux runs well. You will find the display size is fixed to 800×600. To resize it you need to install the VirtualBox extension pack into your VM.

You can learn about installing the extension at here.

Use Linux

Most of our operations will be completed inside the terminal. You need to know

  • Power on & off
  • File system operations
  • File and User permissions
  • Run programs

A tutorial of Linux can be found at 鸟哥的 Linux 私房菜 —— 基础学习篇. Select the part you want to know and read it.

I Don't Like Your VM

If you are a free soul and want to setup Switchyard in a different environment you are welcome to do that as well. You can find some useful information here. This might or might not be useful for you depending on your environment.

results matching ""

    No results matching ""