-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Deploy to On-premise Linux server,local VM or cloud VM SOP
1. Login your Linux Enviroment, Support On-premise Linux server, VM or cloud VM ,for Example, VM on Alibaba cloud or Microsoft Azure
Requirement for AppHub:
CPU >= 1vCPU
Memory >= 2G
Storage >= 20G
Image: CentOS 7.9 64-bit or new(Other Linux have not test and verification)
8080, 30001, 30002, 1883, 5432, 5500, 5901, 9191, 9000
Install git $ sudo yum install git
Install docker
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ DRY_RUN=1 sudo sh ./get-docker.sh
Check docker and docker-compose version $ docker version $ docker-compose version
$ git clone https://github.com/EdgeSolution/AppHub-VM-Cloud-Centos.git
$ cd AppHub-VM-Cloud-Centos/
$ chmod +x start.sh
$./start.sh
it will download AppHub docker image from docker hub, may be 10 ~ 20 minutes, please wait it to complete. After finished, you can access AppHub Server in browser as follows: http://ServerIP:30001
部署到Linux主机或者虚拟机步骤
我们已经有验证过本地服务器,阿里云和微软Azure云虚拟机,系统是基于Ubuntu 18.04 X64的。建议使用Ubuntu 18.04 X64或以上版本。
建议配置:
CPU >= 1vCPU
Memory >= 2G
Storage >= 20G
Image: CentOS 7.9 64-bit 或者更高版本(其他Linux理论上也可以支持,但未经过验证)
8080, 30001, 30002, 1883, 5432, 5500, 5901, 9191, 9000
Install git $ sudo yum install git
Install docker
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ DRY_RUN=1 sudo sh ./get-docker.sh
Check docker and docker-compose version $ docker version $ docker-compose version
$ git clone https://github.com/EdgeSolution/AppHub-VM-Cloud-Centos.git
$ cd AppHub-VM-Cloud-Centos/
$ chmod +x start.sh
$./start.sh
start.sh会完成AppHub服务器的安装和启动,因为安装过程是在线安装,需要从网络上下载AppHub docker镜像,根据网络速度不同,大约需要10~20分钟的时间完成安装,请耐心等待。 当安装完成后,就会自动启动,你就可以通过浏览器访问AppHub的服务了 http://ServerIP:30001 SeverIP就是VM对外的公网IP地址。
理论上,上述方法同样适用在各种Linux环境,甚至在云平台VM中安装AppHub,目前我们已经验证适用Azure和阿里云VM。
Release version | DockerHub | docker tag |
---|---|---|
V2.0.0 | edgesolution/apphub-manager:v2.0.0 edgesolution/apphub-emqx:v1.2 edgesolution/apphub-novnc:v1.2 edgesolution/apphub-postgres:v1.0 edgesolution/apphub-minio:v1.0 edgesolution/apphub-ithings:v1.0 edgesolution/apphub-influxdb:v1.0 |
eidevice/androiddm-javaenv-slim-dev:v5.5.9 eidevice/apphub-emqx-dev:v1.1.2 eidevice/apphub-novnc-dev:v1.0.1 eidevice/androiddm-postgres-dev:v1.1 eidevice/androiddm-minio-dev:v1.1 eidevice/apphub-ithings:v1.2.8 eidevice/influxdb-1.8:v1.0 |