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. |
|
|
bin |
The location for the binary files. |
|
|
config |
The location for configuration files. |
|
|
data |
The location for persistent data files. |
|
|
logs |
The location for the logs created by Heartbeat. |
|
posted on 2020-01-19 17:04 南无佛、南无法、南无僧 阅读(280) 评论(0) 收藏 举报
浙公网安备 33010602011771号