elk安装最佳实践

时间:2022-06-18 07:43:42

一、添加清华源

cat>>/etc/yum.repos.d/elasticsearch-.x.repo<<EOF
[elasticsearch-.x]
name=Elasticsearch repository for .x packages
baseurl=https://mirrors.tuna.tsinghua.edu.cn/elasticstack/yum/elastic-6.x/
gpgcheck=
enabled=
autorefresh=
type=rpm-md
EOF ###清理缓存 yum makecache 

二、yum下载elk

yum install java-1.8.0-openjdk kibana logstash filebeat elasticsearch -y