TipsAndTricks/QuickStartOnMenderOTA: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
Line 16: Line 16:
[4] Docker Compose 1.6 & above
[4] Docker Compose 1.6 & above


== 2nd Option: Using Hosted Mender ==
Basic preparation setup
 
1. Start with cloning the Mender integration repo.
 
$ git clone -b 1.3.0 https://github.com/mendersoftware/integration mender-server
$ cd  mender-server
$ git checkout -b my-test-setup
 
2. Duplicate the deployment template to a new directory named production.
 
$ cp -a template production
 
3. Replace all template path to new production path.
 
$ cd production
$ ls
# Two files are included: prod.yml and run
$ sed -i -e 's#/template/#/production/#g' prod.yml


4. Run the script to pull docker image. The run script is a wrapper to help users to setup images with docker compose.


== 2nd Option: Using Hosted Mender ==


= Building Image with meta-mender =
= Building Image with meta-mender =

Revision as of 05:53, 29 January 2018

Mender Over-The-Air Software Update for Embedded Linux

Mender is an open source remote software updater for embedded Linux devices. It includes both a client and a management server. Mender allows you to deploy an image-based update from the server-side component to your connected devices. We have tried out on qemu for ARM and here are some BKMs to get start.

Mender Artifacts Server Setup Guide

1st Option: DIY Server Setup

Host machine requirements:

[1] OS : Ubuntu 16.04

[2] Google Chrome

[3] Docker Engine 1.11 & above

[4] Docker Compose 1.6 & above

Basic preparation setup

1. Start with cloning the Mender integration repo.

$ git clone -b 1.3.0 https://github.com/mendersoftware/integration mender-server
$ cd  mender-server
$ git checkout -b my-test-setup

2. Duplicate the deployment template to a new directory named production.

$ cp -a template production

3. Replace all template path to new production path.

$ cd production
$ ls
# Two files are included: prod.yml and run
$ sed -i -e 's#/template/#/production/#g' prod.yml

4. Run the script to pull docker image. The run script is a wrapper to help users to setup images with docker compose.

2nd Option: Using Hosted Mender

Building Image with meta-mender