-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinstallation.sh
More file actions
18 lines (18 loc) · 921 Bytes
/
installation.sh
File metadata and controls
18 lines (18 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# install mongodb
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | apt-key add -
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.4 main" | tee "/etc/apt/sources.list.d/mongodb-org-4.4.list"
apt-get update
apt-get install -y mongodb-org
apt-get install -y ntp
wget https://ci.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-client-demo.jar -P lwm2m
wget https://ci.eclipse.org/leshan/job/leshan/lastSuccessfulBuild/artifact/leshan-server-demo.jar -P lwm2m
# Java
apt install -y default-jre
#
# Python3.5 will be used for emulated networks (modbus), Python3.9 will be used for IoT
apt install -y python3-pip
python3.9 -m pip install setuptools --upgrade
python3.9 -m pip install pymodbus==2.5.2 urllib3==1.26.6 termcolor twisted flask requests cbor2 beebotte kpn_senml psutil pymongo numpy matplotlib mpremote
python3 -m pip install pymodbus termcolor twisted