1. 程式人生 > >elk安裝最佳實踐

elk安裝最佳實踐

sin name span elastics mirrors check sea ebe AR

一、添加清華源

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

###清理緩存

yum makecache

二、yum下載elk

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

  

elk安裝最佳實踐