author:headsen chen  

data :2017-12-04  18:00:57 

notice:created by chen himself and not allowed to copy ,or you will counte questions of law. 

install steps:

yum -y remove java

yum -y install java

centos7上安装ELK

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

vim elasticsearch.repo

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

yum install elasticsearch -y

/bin/systemctl daemon-reload
/bin/systemctl enable elasticsearch.service
systemctl start elasticsearch.service
systemctl status elasticsearch.service
netstat -plnt |grep java   -------------------------------------- 要等一分钟才有数据
lsof -i :9200  ------------------------------------------------ 要等一分钟才有数据
cat /var/log/elasticsearch/elasticsearch.log
centos7上安装ELK

 

 

 

相关文章:

  • 2022-02-04
  • 2021-11-20
  • 2021-11-05
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-01-21
猜你喜欢
  • 2022-01-12
  • 2022-12-23
  • 2021-09-20
  • 2021-10-17
  • 2021-08-02
  • 2021-05-28
  • 2021-12-07
相关资源
相似解决方案