0% found this document useful (0 votes)
183 views19 pages

BIT353 Network Architecture and Protocols Assignment 2

The document outlines steps to create a virtual machine and install Contiki OS to demonstrate an IoT simulation using Cooja. It also details deploying an OwnCloud instance on Ubuntu and accessing the cloud storage. Finally, it shows installing and accessing MongoDB on Ubuntu to demonstrate basic database commands and creation of collections.

Uploaded by

Ikram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
183 views19 pages

BIT353 Network Architecture and Protocols Assignment 2

The document outlines steps to create a virtual machine and install Contiki OS to demonstrate an IoT simulation using Cooja. It also details deploying an OwnCloud instance on Ubuntu and accessing the cloud storage. Finally, it shows installing and accessing MongoDB on Ubuntu to demonstrate basic database commands and creation of collections.

Uploaded by

Ikram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

BIT353: Network Architecture and Protocols Assignment 2

Student Name : Student ID


  
Contents
1.1- Creation of Virtual Machine...............................................................................................................................4
1.2- The new virtual machines wizard open...............................................................................................................5
1.3- Guest Operating System Installation...................................................................................................................6
1.4- Selection of Operating system............................................................................................................................7
1.5- Name of Virtual Machine....................................................................................................................................8
1.6- Specify disk Capacity...........................................................................................................................................9
1.7- Ready to create virtual Machine.......................................................................................................................10
1.8- Contiki IoT.........................................................................................................................................................11
1.9- Contiki Instant...................................................................................................................................................12
1.10- Running of IoT...............................................................................................................................................13
1.11- Contiki simulation.........................................................................................................................................14
1.11.1- New simulation.............................................................................................................................................15
1.11.2- New Simulation Tab......................................................................................................................................16
1.11.3- Cooja the contiki network simulator.............................................................................................................17
1.11.4- Add motes.....................................................................................................................................................18
1.11.5- Select contiki Process source........................................................................................................................18
1.11.6- Broadcast-example.c....................................................................................................................................20
1.11.7- Motes Selection............................................................................................................................................21
1.11.8- Demonstration of IoT....................................................................................................................................22
2- Own Cloud Ubuntu Linux..........................................................................................................................................23
2.1- Own Cloud Ubuntu linux Boot...........................................................................................................................24
2.2- Starting of management console server............................................................................................................25
2.3- Own cloud appliance.........................................................................................................................................26
2.4- web access.........................................................................................................................................................27
2.5- Upload file.........................................................................................................................................................28
2.6- File uploaded.....................................................................................................................................................29
3- Demonstration of mongodb.....................................................................................................................................30
3.1- Mongo db status................................................................................................................................................31
3.2- Access of mongo db...........................................................................................................................................32
3.3- Database Execution commands.........................................................................................................................33
3.4- SimpleDatabase.................................................................................................................................................34
4- References................................................................................................................................................................34
Introduction

In this lab we will demonstrate the cloud implementation configuration installation and use of cloud services

IoT demonstration of internet of thins contiki simulation is used for IoT demonstration. In Contiki simulator the Iot
motes are created successful and demonstrate the Iot

Mongo dB is installed on Ubuntu operating system configured and demonstrate the db (use dbs; use admin; use
simple database ;) for the demonstration of dbs use admin database and use simple data base. [ CITATION Can19 \l
1033 ]

1.1- Creation of Virtual Machine

Open the VMware workstation for virtual machines first step click on file >New Virtual Machines

1.2- The new virtual machines wizard open

The view of new virtual machine wizard select typical settings and click on Next button
1.3- Guest Operating System Installation

In the guest operating system menu select the operating system ISO file like Windows Operating system Linux
operating system etc and Click on Next Button [ CITATION Con191 \l 1033 ]

1.4- Selection of Operating system

In this stage of virtual machine wizard is required to select the guest operating system flavor and version which is
you trying to install
1.5- Name of Virtual Machine

In virtual machine wizard here is required to fill the virtual machine Name and set the location where you want to
save the virtual machine. [ CITATION Own19 \l 1033 ]

1.6- Specify disk Capacity

In this stage of wizard it is required to set the disk size


1.7- Ready to create virtual Machine

The settings virtual machine creation is done now click on finish Button and Crate the Virtual machine

1.8- Contiki IoT

Now virtual machine is ready to boot here is contiki operating system selected for IoT operations now click on Power
on this virtual machine button to power on
1.9- Contiki Instant

Contiki instant virtual machine is created for the demonstration of IoT

1.10- Running of IoT

Now the contiki instant is running click on Cooja icon to start the simulation of Iot
1.11- Contiki simulation

Cooja is compiling for new simulation

1.11.1- New simulation

After the starting of Cooja the simulation window is appear. In this window click on File > New Simulation (Ctrl+N)
1.11.2- New Simulation Tab

New simulation tab is appear here mention simulation name (My simulation) click on Crate Button to create to the
simulation. [CITATION htt \l 1033 ]

1.11.3- Cooja the contiki network simulator

The cooja simulator is started


1.11.4- Add motes

When the cooja simulator is started click on Motes > Add motes > create new note type > and select sky mote

1.11.5- Select contiki Process source

After selecting the motes select contiki process click browse > Examples > ipv6 > simple-udp-rpl > broadcast-
example.c. [CITATION htt1 \l 1033 ]
1.11.6- Broadcast-example.c

Broadcast example.c file is compiling

1.11.7- Motes Selection

After the compiling here select the number of motes for IoT demonstration
1.11.8- Demonstration of IoT

Motes showing the radio signals between motes demonstration of IoT

2- Own Cloud Ubuntu Linux

Own cloud machine is created on Ubuntu linux version click on start button to start the own cloud machine
2.1- Own Cloud Ubuntu linux Boot

After the clicking the power on this machine the own cloud machine is booting

2.2- Starting of management console server

After the boot the management console server is starting of own cloud
2.3- Own cloud appliance

Own cloud appliance is ready to access for management on GUI on protocols Https://192.168.101.150

The own cloud is accessible to physical machine

2.4- web access

The own cloud is accessible to web base access Click on Plus + button to upload file and click on download to
download file from cloud.
2.5- Upload file

This is the process of upload a file to cloud select the file and click on open button to upload file to cloud

2.6- File uploaded

Now file is upload to cloud with name of BIT353 Assignment 2


3- Demonstration of mongodb

Sudo systemctl start mongodb.service

This command is used to start the services of mongo dB in Ubuntu Linux

3.1- Mongo db status

After starting the service of mongo db. Mongo db showing the status is Active (running)
3.2- Access of mongo db

To access the mongo db on local system enter the command mongo –host 127.0.0.1:27017

After executing this command the mongo db is accessible in terminal for demonstration.

3.3- Database Execution commands

Sh dbs; : to view the existing database

Use admin: command to switch the db to admin [CITATION htt3 \l 1033 ]


3.4- Simple Database

>use simple database the command to switch to db simple database

Conclusion:
Cloud is configured and demonstrated successful in virtual network in VMware

Contiki IoT simulator is installed and configured for the simulation of sky motes demonstration of internet of things

Mongo db is configured in Ubuntu 20.04 operating system for the big data implementation and demonstration of
data base.
References
Canonical, 2019. The leading operating system for PCs, loT devices, servers and the cloud | Ubuntu. [Online]
Available at: https://ubuntu.com/
[Accessed September 2020].

Cloud, O., 2019. Own Cloud share files and folders easy and secure. [Online]
Available at: https://owncloud.com/
[Accessed September 2020].

Contiki-NG, 2019. Real World Tools. [Online]


Available at: www.contiki-ng.org.
[Accessed September 2020].

MongoDB Inc. Initial release date: February 11, 2. L. S.-a. O. s. W. V. a. l. L. O. X. 1. a. l. S. F. W. i. C. G. J. P., 2017.
Install MongoDB Community Edition on Ubuntu — MongoDB Manual. [Online]
Available at: https://github.com/mongodb/docs/blob/v4.2/source/tutorial/install-mongodb-on-ubuntu.tx
[Accessed September 2020].

Ubuntu, 2019. Setup own Cloud on Ubuntu 20.04 | 18.04 with Nginx and Let’s Encrypt – Website for Students.
[Online]
Available at: https://websiteforstudents.com/setup-owncloud-on-ubuntu-20-04-18-04-with-nginx-and-lets-encrypt/
[Accessed September 2020].

Windows, V. I. r. d. 1. O. s. & Linux Written in: C, C., 1999. License: Freeware (Workstation Player) Trial ware and
commercial (Workstation Pro). [Online]
Available at: https://www.vmware.com/asean.html
[Accessed September 2020].

You might also like