Quick Start
🐕 Quick Start
- If you don’t want to deploy but use it directly, we provide SAAS Monitoring Cloud-TanCloud, Log In And Register For Free .
- If you want to deploy HertzBeat local, please refer to the following Deployment Documentation for operation.
🐵 Dependency Service Deployment
HertzBeat depends at least on relational database MYSQL5+ and time series database TDengine2+
Install MYSQL
- Install mysql with docker
docker run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql:5.7
- Create database names
hertzbeat
- Run the database sql script schema.sql located in the project repository
/script/sql/
directory.
For detailed steps, refer to MYSQL Installation And Initialization
Install TDengine
- Install TDengine with docker
docker run -d -p 6030-6049:6030-6049 -p 6030-6049:6030-6049/udp --name tdengine tdengine/tdengine:2.4.0.12
- Create database names
hertzbeat
For detailed steps, refer to TDengine Installation And Initialization.
🍞 Install HertzBeat
HertzBeat supports installation through source code, docker or package.
1:Install quickly via docker
docker run -d -p 1157:1157 -v /opt/application.yml:/opt/hertzbeat/config/application.yml --name hertzbeat tancloud/hertzbeat:[版本tag]
Detailed steps refer to Install HertzBeat via Docker
2:Install via package
- Download the installation package GITEE Release GITHUB Release
- Configure the HertzBeat configuration yml file
hertzbeat/config/application.yml
- Run shell
$ ./startup.sh
- Access
localhost:1157
to start, default account:admin/hertzbeat
Detailed steps 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 project web-app.
- Backend:need
maven3+
,java8+
, start the manager service. - Web:need
nodejs npm angular-cli
environment, Runng serve --open
inweb-app
directory after backend startup. - Access
localhost:4200
to start, default account:admin/hertzbeat
Detailed steps refer to CONTRIBUTING
4:Install All(mysql+tdengine+hertzbeat) via Docker-compose
Install and deploy the mysql database, tdengine database and hertzbeat at one time through docker-compose deployment script.
Detailed steps refer to docker-compose install
HAVE FUN