首页 > 其他 > 详细

ELK

时间:2020-11-25 09:44:49      阅读:32      评论:0      收藏:0      [点我收藏+]

1.安装

JDK需要1.8

下载:

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0-linux-x86_64.tar.gz
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.10.0-linux-x86_64.tar.gz.sha512

# vim /etc/security/limits.conf
elasticsearch soft memlock unlimited
elasticsearch hard memlock unlimited
elasticsearch soft nofile 65536
elasticsearch hard nofile 131072

 mv   elasticsearch-2.4.0    /usr/local/elasticsearch

cd  /usr/local/elasticsearch/config/
 cp elasticsearch.yml elasticsearch.yml.old
mkdir {data,log}
cat elasticsearch.yml|grep -v "^$"|grep -v "^#"
  1. useradd elasticsearch

       

  1. chown -R elasticsearch:elasticsearch /usr/local/elasticsearch

      cd /usr/local/elasticsearch/bin/

    

 



ELK

原文:https://www.cnblogs.com/youzirourou/p/14033702.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!