IoT Gateway Pip installation.
Package manager installation
To install NDU Gateway as python module, you should follow steps below:
1. Install required libraries to the system with apt:
1
| sudo apt install python3-dev python3-pip libglib2.0-dev
|
2. Install NDU Gateway module with pip:
1
| sudo pip3 install thingsboard-gateway
|
3. Download example of configs, create log folder:
- Downloading configs example:
1
| wget https://github.com/netcadlabs/ndu-gateway/releases/download/2.0/configs.tar.gz
|
- Make directory for configs:
1
| sudo mkdir /etc/thingsboard-gateway
|
- Make directory for logs:
1
| sudo mkdir /var/log/thingsboard-gateway
|
- Unpack configs:
1
| sudo tar -xvzf configs.tar.gz -C /etc/thingsboard-gateway
|
4. Check installation you can with command (You will get errors about connection, because you don’t configure gateway for yourself. For configuration please use Configuration guide):