home/docs/start/quickstart.md
Install Apache HertzBeat™ in under 5 minutes using Docker with a single command. HertzBeat supports Docker, binary packages, and source code installation on X86/ARM64 architectures.
Quick Install Command: docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat apache/hertzbeat
HertzBeat provides multiple installation options:
| Method | Setup Time | Difficulty | Use Case |
|---|---|---|---|
| Docker | 2 minutes | Easy | Production, testing |
| Package | 10 minutes | Medium | Custom configurations |
| Source Code | 30 minutes | Advanced | Development |
| Docker Compose | 5 minutes | Easy | Full stack deployment |
Just one command to get started:
docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat apache/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
apache-hertzbeat-xx-bin.tar.gz Download Pagehertzbeat/config/application.yml (optional)$ ./bin/startup.sh or bin/startup.bathttp://localhost:1157 to start, default account: admin/hertzbeatIf you do not need MySQL, OceanBase, Oracle, DB2, or other ext-lib JDBC drivers, prefer the native collector package for faster startup and lower memory usage. See Native Collector Guide.
Download the release package apache-hertzbeat-collector-xx-bin.tar.gz (JVM collector) or the native collector package for your target platform, such as apache-hertzbeat-collector-native-xx-linux-amd64-bin.tar.gz or apache-hertzbeat-collector-native-xx-windows-amd64-bin.zip, to the new machine Download Page
Configure the collector configuration yml file hertzbeat-collector/config/application.yml: unique identity name, running mode (public or private), hertzbeat manager-host, hertzbeat manager-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}
Native collector trade-offs: platform-specific packages, no runtime ext-lib JDBC loading, and less suitable for JVM-style runtime classpath extension. See Native Collector Guide.
If you need MySQL, OceanBase, Oracle, or DB2 monitoring with external JDBC drivers from ext-lib, use the JVM collector package.
Run command $ ./bin/startup.sh or bin/startup.bat for the JVM collector package. Run $ ./bin/startup.sh for Linux or macOS native collector packages, and bin\\startup.bat for the Windows native collector package.
Access the HertzBeat server dashboard at http://localhost:1157 and confirm the new collector is registered.
Detailed config refer to Install HertzBeat via Package
manager and the front-end project web-app.maven3+, java25, lombok, start the hertzbeat-startup service.nodejs npm angular-cli environment, Run ng serve --open in web-app directory after backend startup.http://localhost:4200 to start, default account: admin/hertzbeatDetailed steps refer to CONTRIBUTING
Install and deploy the postgresql/mysql database, victoria-metrics/iotdb/tdengine database and hertzbeat at one time through docker-compose deployment script.
Detailed steps refer to Install via Docker-Compose
Install HertzBeat cluster in a Kubernetes cluster by Helm chart.
Detailed steps refer to Artifact Hub
Minimum Requirements:
Operating Systems: Linux, macOS, Windows (via Docker or WSL)
docker ps | grep hertzbeatYes. After first login, navigate to Settings → Account Management to change the password.
Docker upgrade:
docker stop hertzbeat
docker rm hertzbeat
docker pull apache/hertzbeat:latest
docker run -d -p 1157:1157 -p 1158:1158 --name hertzbeat apache/hertzbeat
HertzBeat uses H2 embedded database by default. For production, configure external databases:
HAVE FUN