Difference between revisions of "IoTGateway/IoTEdge"
From ESS-WIKI
Daniel.hung (talk | contribs) (Created page with "= Installation = == Moby == == IoT Edge == = Verification & Deployment = == Provisioning == == Deploy == = References = *[1] [https://docs.microsoft.com/en-us/azur...") |
Daniel.hung (talk | contribs) |
||
Line 1: | Line 1: | ||
= Installation = | = Installation = | ||
+ | |||
+ | We use [http://ess-wiki.advantech.com.tw/view/Yocto_Linux_BSP_Ver.4_User_Guide_for_AM57xx/AM335x_series EPC-R3220] as an example. | ||
+ | |||
+ | *Version: ''R3220A1AIM20UIV20003_am335x_2020-04-13'' | ||
+ | *OS: ''Ubuntu 18.04'' | ||
+ | *Kernel: ''4.14.79'' | ||
== Moby == | == Moby == | ||
+ | |||
+ | To install Moby-engine for Arm platforms based on the [https://docs.docker.com/engine/install/ubuntu/ Docker document]. | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install lsb-release curl gpg \ | ||
+ | apt-transport-https \ | ||
+ | ca-certificates \ | ||
+ | curl \ | ||
+ | gnupg-agent \ | ||
+ | software-properties-common | ||
+ | |||
+ | $ curl -fsSL [https://download.docker.com/linux/ubuntu/gpg https://download.docker.com/linux/ubuntu/gpg] | sudo apt-key add - | ||
+ | |||
+ | $ sudo add-apt-repository \ | ||
+ | "deb [arch=armhf] [https://download.docker.com/linux/ubuntu https://download.docker.com/linux/ubuntu] \ | ||
+ | $(lsb_release -cs) \ | ||
+ | stable" | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install moby-engine moby-cli | ||
== IoT Edge == | == IoT Edge == | ||
+ | |||
+ | Get the latest stable version and install maunally, e.g. we have 1.0.9 currently. | ||
+ | |||
+ | $ wget [https://github.com/Azure/azure-iotedge/releases/download/1.0.9/iotedge_1.0.9-1_ubuntu16.04_armhf.deb https://github.com/Azure/azure-iotedge/releases/download/1.0.9/iotedge_1.0.9-1_ubuntu16.04_armhf.deb] | ||
+ | $ wget [https://github.com/Azure/azure-iotedge/releases/download/1.0.9/libiothsm-std_1.0.9-1_ubuntu16.04_armhf.deb https://github.com/Azure/azure-iotedge/releases/download/1.0.9/libiothsm-std_1.0.9-1_ubuntu16.04_armhf.deb] | ||
+ | |||
+ | $ sudo dpkg -i *.deb | ||
= Verification & Deployment = | = Verification & Deployment = |
Revision as of 03:09, 18 May 2020
Contents
Installation
We use EPC-R3220 as an example.
- Version: R3220A1AIM20UIV20003_am335x_2020-04-13
- OS: Ubuntu 18.04
- Kernel: 4.14.79
Moby
To install Moby-engine for Arm platforms based on the Docker document.
$ sudo apt-get update $ sudo apt-get install lsb-release curl gpg \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository \ "deb [arch=armhf] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" $ sudo apt-get update $ sudo apt-get install moby-engine moby-cli
IoT Edge
Get the latest stable version and install maunally, e.g. we have 1.0.9 currently.
$ wget https://github.com/Azure/azure-iotedge/releases/download/1.0.9/iotedge_1.0.9-1_ubuntu16.04_armhf.deb $ wget https://github.com/Azure/azure-iotedge/releases/download/1.0.9/libiothsm-std_1.0.9-1_ubuntu16.04_armhf.deb $ sudo dpkg -i *.deb