Module 1: Course: Devnet Associates V1.0

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

Module 1: Course

Introduction

DevNet Associates v1.0

DEVASCv1
Module Objectives
 Module Title: Course Introduction
 Module Objective: Use basic Python programming and Linux skills
 This module will cover the virtual machine setup and the basics of Linux and
Python. It will comprise of the following sections:

Topic Title Topic Objective


Your Lab Environment Install a virtual lab environment.
Using basic commands to manage the
Linux
Linux file system and permissions.
Use basic Python commands you will use
Python
throughout the course.

DEVASCv1 2
1.1 Your Lab Environment

DEVASCv1 3
Set Up Your Lab Environment
 With virtualization, virtual computers can operate and run within physical
computers. These computers are called Virtual Machines (VMs).
 VMs are often called guests, and physical computers are often called hosts.
 The software running on top of the host operating system that manages the virtual
machines is called a Hypervisor – Type 2.
 Most modern computers and operating systems can run virtual machines.

DEVASCv1 4
1.2 Linux

DEVASCv1 5
Linux for DevNet
 Linux has gained widespread use in servers, Internet of Things (IoT) devices,
networking equipment, smartphones, and many other devices that may not seem
as even being computers.
 All coding labs in this course are performed on a Linux-based VM.

DEVASCv1 6
Lab – Linux Review
 Basic commands to know: • grep Search
• ls List files/directories • cd Change directories
• ls -l List permissions • cd .. Backup one level
• ls –a List hidden files/directories • mkdir Make a directory
• sudo Super User Do • mv Move
• pwd Show current path • cp Copy a file
• ps Show processes • cp -r Copy a directory
• ifconfig Show interfaces • rm Remove a file
• ifconfig –a Show active and • rm -r Remove a directory
inactive interfaces • less View a portion of a document
• apt update Show updates that fits in the terminal windows
• apt upgrade Perform upgrades • more View entire document
• apt install Install a package • touch Create a file
• apt remove Remove a package • nano File editor
DEVASCv1 7
1.3 Python

DEVASCv1 8
Python Programming
 Python is an easy to learn programming language.
 Few factors that make Python a great tool for learning basic coding are:
- It is easy to learn - the time needed to learn Python is shorter than for many
other languages.
- It is easy to use for writing new software – it is possible to write code faster
when using Python.
- It is easy to obtain, install and deploy - Python is free, open and multiplatform.
 Python provides a solid foundation and allows to learn other programming
languages (for example, C++, Java, or C) much easier and faster.

DEVASCv1 9
Lab - Python Programming Review

 Basic commands to know:


• Basic arithmetic
• # make comments
• How to create variables
- list = ["item", "item2"]
- dictionary = {"key": "value", "key2": "value2"}
- tuple = ("item", "item2")
• print("Variable is :" + variable)
• input("Enter a value: ")
• type(var)
• if, elif, else
DEVASCv1 10
1.4 Course Introduction
Summary

DEVASCv1 11
What did I learn in this module?
 This Course Introduction module was designed to help you prepare to take the
DevNet Associate (DEVASC) course.
 The Install the Virtual Lab Environment gets you and your PC ready for the coding
labs you will find in this course.
 The Linux Review and Python Programming Review labs help you to determine
whether you are ready with the prerequisite knowledge and skills required to
successfully take the DEVASC course.

DEVASCv1 12
DEVASCv1 13

You might also like