centos 安装Elasticsearch Heartbeat

Download and install the public signing key:

sudo rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch

Create a file with a .repo extension (for example, elastic.repo) in your /etc/yum.repos.d/ directory and add the following lines:

[elastic-7.x]
name=Elastic repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

sudo yum install heartbeat-elastic

 

To configure Heartbeat to start automatically during boot, run:

sudo systemctl enable heartbeat-elastic

位置

TypeDescriptionLocation

home

Home of the Heartbeat installation.

/usr/share/heartbeat

bin

The location for the binary files.

/usr/share/heartbeat/bin

config

The location for configuration files.

/etc/heartbeat

data

The location for persistent data files.

/var/lib/heartbeat

logs

The location for the logs created by Heartbeat.

/var/log/heartbeat

posted on 2020-01-19 17:04  南无佛、南无法、南无僧  阅读(280)  评论(0)    收藏  举报

导航