美文网首页边缘计算
边缘计算平台EdgeX Foundry安装

边缘计算平台EdgeX Foundry安装

作者: sjyu_eadd | 来源:发表于2020-04-07 15:34 被阅读0次

边缘计算平台EdgeX Foundry安装

要求:

image.png

EdgeX Foundry的安装提供了多种方式:
(1)Docker compose files安装(推荐
(2)源码编译安装(作为edgex Foundry开发人员)
(3)其他方式(其他个人或组织提供)

1、docker compose files安装

通过docker-compose file文件安装EdgeX
前提条件:已安装docker及docker-compose
下载compose file文件(https://github.com/edgexfoundry/developer-scripts/tree/master/releases),启动服务即可

image.png

注意: 服务启动前,会先pull镜像,可能耗时较长,可以先使用docker-compose pull镜像到本地后,在执行docker-compose up

可以看到edgex有多达十几个微服务,都以docker容器的方式运行。其中:edgex-core-xxx对应core services层服务, edgex-device-xxx对应device services层服务,edgex-support-xxx对应support services层服务,edgex-export-xxx对应export services层服务。edgex-mongo是存储数据的数据库服务。compose-files_portainer_1是容器管理平台。edgex-ui-go是edgex的UI 。

每个微服务各司其职,服务端口情况如下:


image.png

Edgex Foundry UI,http://localhost:4000/ Admin/admin

image.png

容器管理平台portainer,可以对容器、镜像等进行管理
http://localhost:9000/ admin

image.png

服务注册、发现中心consul
http://localhost:8500/

image.png

后端数据存储服务mongo,本地安装mongodb compass可视化工具连接mongo服务即可


image.png

2、源码安装

前提:
1、已安装go(ll编译go代码)
2、已安装ZeroMq(edgex中各微服务通过zeromq通信)
3、已安装数据库服务mongo(提供后端数据存储)

安装步骤:
1、下载代码
git clone https://github.com/edgexfoundry/edgex-go.git或者git clone git@github.com:edgexfoundry/edgex-go.git

image.png

2、编译
cd edgex-go
make build


image.png

3、运行
cd bin
./edgex-launch.sh
或者
make run


image.png

详细可参见,参考2、3

3、其他方式

开源项目一:edgexfoundry-install
地址:
github --> https://github.com/lesliechung88/edgexfoundry-install/
gitee --> https://gitee.com/hui_gege/edgexfoundry-install

开源项目二:edgexfoundry-k8s
地址:
github --> https://github.com/lesliechung88/edgexfoundry-k8s
gitee --> https://gitee.com/hui_gege/edgexfoundry-k8s

参考:

1、https://fuji-docs.edgexfoundry.org/Ch-GettingStartedUsers.html
2、https://fuji-docs.edgexfoundry.org/Ch-GettingStartedDevelopers.html
3、https://github.com/edgexfoundry/edgex-go

相关文章

  • 边缘计算平台EdgeX Foundry安装

    边缘计算平台EdgeX Foundry安装 要求: EdgeX Foundry的安装提供了多种方式:(1)Dock...

  • 边缘计算平台EdgeX Foundry介绍

    边缘计算平台EdgeX Foundry介绍 EdgeX Foundry是一系列松耦合、开源的微服务集合,位于网络的...

  • EdgeX Foundry--MQTT设备服务(一)

    EdgeX Foundry EdgeX Foundry是一个供应商中立的边缘网络开源软件平台,它与物理设备相互作用...

  • EdgeX Foundry 简介

    译者:penghuster来源:Introduction to EdgeX Foundry 简介 EdgeX Fo...

  • EdgeX Foundry

    EdgeX Foundry 知识社区“王者计划”发布,通过积分排名确定用户的不同段位,给予不同的奖励,共同打造活力...

  • 在自闭中学托福3.20

    今天是彻彻底底搞毕设的一天: 看了很多安全多方计算文章,明天搭建EdgeX Foundry

  • 什么是Docker?

    越来越多的应用和服务,例如:EdgeX Foundry,都在使用Docker这种容器平台。首先,什么是Docker...

  • Ubuntu14.04安装EdgeX Foundry

    侵删,按照步骤一步一步应该没有问题,如有问题欢迎交流。 环境:虚拟机 系统Ubuntu14.04 EdgeX版本:...

  • Kuiper与EdgeX Foundry集成实践

    Kuiper是什么? EdgeX Foundry又是什么? Kuiper EMQ X Kuiper 是 Golan...

  • edgex foundry的编译

    edgex foundry的新版本已经由java转向了golang作为开发语言,在编译时,只要编译https:...

网友评论

    本文标题:边缘计算平台EdgeX Foundry安装

    本文链接:https://www.haomeiwen.com/subject/wirnphtx.html