No project description provided
Project description
User Guide
Install SUSI IoT
https://github.com/ADVANTECH-Corp/SUSI
- ReleasePackage
- Choice ARM or x86 Architecture
- Choice Board Type
- Un-Zip and Run Installation
On x86 Ubuntu
- Docker File
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y pciutils && apt clean
RUN mkdir -p /opt/Advantech/susi/service/ && \
mkdir -p /usr/lib/x86_64-linux-gnu && \
mkdir -p /usr/lib/Advantech
CMD ["/bin/bash"]
- Docker Build
docker build -t susiiot_x86:1 .
- Docker Run
sudo docker run \
-it \
--name kengweisusiiotdemo \
--privileged \
--mount type=bind,source=/opt/Advantech/susi/service/,target=/opt/Advantech/susi/service/,readonly \
--mount type=bind,source=/etc/Advantech/susi/service/,target=/etc/Advantech/susi/service/,readonly \
--mount type=bind,source=/usr/lib/x86_64-linux-gnu/libjansson.so.4,target=/usr/lib/x86_64-linux-gnu/libjansson.so.4,readonly \
--mount type=bind,source=/usr/lib/libjansson.so.4,target=/usr/lib/libjansson.so.4,readonly \
--mount type=bind,source=/usr/lib/libjansson.so,target=/usr/lib/libjansson.so,readonly \
--mount type=bind,source=/usr/lib/libSusiIoT.so,target=/usr/lib/libSusiIoT.so,readonly \
--mount type=bind,source=/usr/lib/libSUSIDevice.so.1,target=/usr/lib/libSUSIDevice.so.1,readonly \
--mount type=bind,source=/usr/lib/libSUSIDevice.so,target=/usr/lib/libSUSIDevice.so,readonly \
--mount type=bind,source=/usr/lib/libSUSIAI.so.1,target=/usr/lib/libSUSIAI.so.1,readonly \
--mount type=bind,source=/usr/lib/libSUSIAI.so,target=/usr/lib/libSUSIAI.so,readonly \
--mount type=bind,source=/usr/lib/libSUSI-4.00.so.1,target=/usr/lib/libSUSI-4.00.so.1,readonly \
--mount type=bind,source=/usr/lib/libSUSI-4.00.so,target=/usr/lib/libSUSI-4.00.so,readonly \
--mount type=bind,source=/usr/lib/libSUSI-3.02.so.1,target=/usr/lib/libSUSI-3.02.so.1,readonly \
--mount type=bind,source=/usr/lib/libSUSI-3.02.so,target=/usr/lib/libSUSI-3.02.so,readonly \
--mount type=bind,source=/usr/lib/libEApi.so.1,target=/usr/lib/libEApi.so.1,readonly \
--mount type=bind,source=/usr/lib/libEApi.so,target=/usr/lib/libEApi.so,readonly \
--mount type=bind,source=/usr/lib/Advantech,target=/usr/lib/Advantech,readonly \
-v /home/:/volume \
susiiot_x86:1 \
bash
On ARM Ubuntu
- No need to extra build image.
- Docker Run
sudo docker run \
-it \
--name susiiot_demo \
--privileged \
--mount type=bind,source=/lib/libSUSI-4.00.so,target=/lib/libSUSI-4.00.so,readonly \
--mount type=bind,source=/lib/libSUSI-4.00.so.1,target=/lib/libSUSI-4.00.so.1,readonly \
--mount type=bind,source=/lib/libSUSI-4.00.so.1.0.0,target=/lib/libSUSI-4.00.so.1.0.0,readonly \
--mount type=bind,source=/lib/libjansson.a,target=/lib/libjansson.a,readonly \
--mount type=bind,source=/lib/libjansson.so,target=/lib/libjansson.so,readonly \
--mount type=bind,source=/lib/libjansson.so.4,target=/lib/libjansson.so.4,readonly \
--mount type=bind,source=/lib/libjansson.so.4.11.0,target=/lib/libjansson.so.4.11.0,readonly \
--mount type=bind,source=/lib/libSusiIoT.so,target=/lib/libSusiIoT.so,readonly \
--mount type=bind,source=/lib/libSusiIoT.so.1.0.0,target=/lib/libSusiIoT.so.1.0.0,readonly \
--mount type=bind,source=/usr/lib/Advantech/,target=/usr/lib/Advantech/,readonly \
-v /home/:/volume \
ubuntu:20.04 \
/bin/bash
Install PyPI package : advantech_edge
sudo pip3 install advantech_edge
Get Demo Code
git clone https://github.com/Advantech-EdgeSync/advantechiot.git
cd advantechiot/tests
In the Container
python3 -m unittest -v test_advantech_edge
In the Host
sudo python3 -m unittest -v test_advantech_edge
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
advantech_edge-0.0.0a2.tar.gz
(11.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file advantech_edge-0.0.0a2.tar.gz.
File metadata
- Download URL: advantech_edge-0.0.0a2.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bfd28774ec455f428c701b7f6e8cc06c74f22da3a9265f2da5583971f2551e6
|
|
| MD5 |
5b1e43731fd0ab5d610e5b1c0d5e2a0c
|
|
| BLAKE2b-256 |
d2c9f3efefb193dc0f0518d95f1d1e9916d0b4a615a2c5a02981bafca852b2d8
|
File details
Details for the file advantech_edge-0.0.0a2-py3-none-any.whl.
File metadata
- Download URL: advantech_edge-0.0.0a2-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30674feea8c6552bcb9941c9e182237813563c99f1b771254dce7c0fd856679b
|
|
| MD5 |
9eaa4a5e2eac15ccf47b4e5e47581c2f
|
|
| BLAKE2b-256 |
41a981094e1ee093b01af5e3e9534721fc53ca805be65767a8e3a397f0722f69
|