Skip to content

lesliechung88/edgexfoundry-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edgexfoundry-install

Automate edgexfoundry installation, including docker & docker-compose(need root user)
Help users quickly run edgexfoundry and understand its features
构建自动化edgexfoundry安装包, 帮助用户快速运行edgex,并体验它的功能

Currently only supports Ubuntu ,Suggest Ubuntu 16+ amd64
目前只支持Ubuntu, 建议Ubuntu 16+

Warning: the shell scripts mentioned below, make sure to execute in the bin directory
警告:下面提到的shell 脚本,需在bin目录下执行

Install edgexfoundry

Step 1: Grant executable permissions in the bin directory

chmod -R +x ./bin

Step 2: Modify a file

Modify IP in hosts file to Ubuntu machine real IP

Step 3: Modify docker-compose files

In the directory of compose-files and compose-files/bak ,each directory include two same .yml files:
docker-compose-redis.yml and docker-compose-mongo.yml

Modify image to yours in file

Step 4: Put using images into images directory

In the directory of images holds using images which is defined in directory of compose-files and compose-files/bak composefile

Step 5: Perform the installation

cd ./bin
./install-edgex.sh

Start or Stop edgex services

execute the following command to start or stop edgex:

cd ./bin

./start-edgex.sh redis
or
./start-edgex.sh mongo

Start or Stop single service

cd ./bin
./start-one-service.sh DATATYPE SERVICENAME
./stop-one-service.sh DATATYPE SERVICENAME
./restart-one-service.sh DATATYPE SERVICENAME

vaule of DATATYPE is redis or mongo
value of SERVICENAME is Defined in composefile

Unload edgexfoundry

if you want to unload edgex, execute the following command:

cd ./bin
./uninstall-edgex.sh

Package release

Finally, you can package it into a * .tar.gz and publish it.

Download the prepared installation package

edgex-fuji_standard_1.1.0.tar.gz
视频学习

application images

image image image 安装界面 安装完成 UI图像显示 ![QQ群:951136547]

About

make edgexfoundry install package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages