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

位置

Type Description Location

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

猜你喜欢

转载自www.cnblogs.com/wangbob/p/12214663.html