Quick Start
🐕 Quick Start
- If you wish to deploy Apache HertzBeat (incubating) locally, please refer to the following Deployment Documentation for instructions.
🍞 Install HertzBeat
Apache HertzBeat (incubating) supports installation through source code, docker or package, cpu support X86/ARM64.
1:Install quickly via docker
Just one command to get started:
docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat apache/hertzbeat
or use quay.io (if dockerhub network connect timeout)
docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat quay.io/tancloud/hertzbeat
Access
http://localhost:1157
to start, default account:admin/hertzbeat
Deploy collector clusters(Optional)
docker run -d -e IDENTITY=custom-collector-name -e MANAGER_HOST=127.0.0.1 -e MANAGER_PORT=1158 --name hertzbeat-collector apache/hertzbeat-collector
-e IDENTITY=custom-collector-name
: set the collector unique identity name.-e MODE=public
: set the running mode(public or private), public cluster or private cloud-edge.-e MANAGER_HOST=127.0.0.1
: set the main hertzbeat server ip.-e MANAGER_PORT=1158
: set the main hertzbeat server port, default 1158.
Detailed config refer to Install HertzBeat via Docker
2:Install via package
Download the release package
hertzbeat-xx.tar.gz
DownloadConfigure the HertzBeat configuration yml file
hertzbeat/config/application.yml
(optional)Run command
$ ./bin/startup.sh
orbin/startup.bat
Access
http://localhost:1157
to start, default account:admin/hertzbeat
Deploy collector clusters(Optional)
Download the release package
hertzbeat-collector-xx.tar.gz
to new machine DownloadConfigure the collector configuration yml file
hertzbeat-collector/config/application.yml
: uniqueidentity
name, runningmode
(public or private), hertzbeatmanager-host
, hertzbeatmanager-port
collector:
dispatch:
entrance:
netty:
enabled: true
identity: ${IDENTITY:}
mode: ${MODE:public}
manager-host: ${MANAGER_HOST:127.0.0.1}
manager-port: ${MANAGER_PORT:1158}Run command
$ ./bin/startup.sh
orbin/startup.bat
Access
http://localhost:1157
and you will see the registered new collector in dashboard
Detailed config refer to Install HertzBeat via Package
3:Start via source code
- Local source code debugging needs to start the back-end project
manager
and the front-end projectweb-app
. - Backend:need
maven3+
,java17
,lombok
, start themanager
service. - Web:need
nodejs npm angular-cli
environment, Runng serve --open
inweb-app
directory after backend startup. - Access
http://localhost:4200
to start, default account:admin/hertzbeat
Detailed steps refer to CONTRIBUTING
4:Install All(hertzbeat+mysql+iotdb/tdengine) via Docker-compose
Install and deploy the mysql database, iotdb/tdengine database and hertzbeat at one time through docker-compose deployment script.
Detailed steps refer to Install via Docker-Compose
5. Install All(hertzbeat+collector+mysql+iotdb) via kubernetes helm charts
Install HertzBeat cluster in a Kubernetes cluster by Helm chart.
Detailed steps refer to Artifact Hub
HAVE FUN