-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathlinux_setup.sh
36 lines (25 loc) · 989 Bytes
/
linux_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/bash
# ------------------------------------------------------------------------------
# Note
#
# these instructions are used during CLUS for setting up the Linux machines.
# wget -O - https://raw.githubusercontent.com/CiscoTestAutomation/CL-DEVWKS-2808/master/linux_setup.sh | bash
# ------------------------------------------------------------------------------
# ensure dependencies
sudo apt-get update
sudo apt-get install python3 python3-venv python3-pip
# create directories
mkdir -p ~/workspace/devwks-2808
# create virtual environment for workshop
cd ~/workspace/devwks-2808
python3 -m venv .
# activate virtual environment
source bin/activate
# update basic necessities
pip install --upgrade pip setuptools
# install pyATS
pip install pyats[full]
# install optional dependencies for this workshop
pip install tabulate cryptography
# clone workshop
git clone https://github.com/CiscoTestAutomation/CL-DEVWKS-2808 workshop