• elk 单节点部署


    [root@server1 elk]# ls
    bigdesk-master.zip               jemalloc-devel-3.6.0-1.el6.x86_64.rpm
    elasticsearch-2.3.3.rpm          kibana-4.5.1-1.x86_64.rpm
    elasticsearch-head-master.zip    logstash-2.3.3-1.noarch.rpm
    elk日志分析平台.pdf              nginx-1.8.0-1.el6.ngx.x86_64.rpm
    jemalloc-3.6.0-1.el6.x86_64.rpm  redis-3.0.6.tar.gz
    [root@server1 elasticsearch]# rpm -ivh jdk-8u121-linux-x64.rpm
    [root@server1 elk]# rpm -ivh elasticsearch-2.3.3.rpm
    [root@server1 elk]# cd /etc/elasticsearch/
    [root@server1 elasticsearch]# vim elasticsearch.yml
     17 cluster.name: my-bs
     23 node.name: server1
     33 path.data: /var/lib/elasticsearch/
     43 bootstrap.mlockall: true
     54 network.host: 172.25.8.1
     58 http.port: 9200
    [root@server1 elasticsearch]# cd /var/log/elasticsearch/
    [root@server1 elasticsearch]# cat my-bs.log
    [2018-10-26 09:46:48,284][WARN ][bootstrap                ] These can be adjusted by modifying /etc/security/limits.conf, for example:
     # allow user 'elasticsearch' mlockall
     elasticsearch soft memlock unlimited
     elasticsearch hard memlock unlimited
    [root@server1 elasticsearch]# vim /etc/security/limits.conf
    添加
    elasticsearch soft memlock unlimited
    elasticsearch hard memlock unlimited
    [root@server1 elasticsearch]# /etc/init.d/elasticsearch restart
    [root@server1 elasticsearch]# cd /usr/share/elasticsearch/
    [root@server1 elasticsearch]# cd bin/
    [root@server1 bin]# ./plugin install file:/root/elk/elasticsearch-head-master.zip
    ot@server1 bin]# cd ..
    [root@server1 elasticsearch]# cd plugins/
    [root@server1 plugins]# ls
    head
    [root@server1 plugins]# cd head/
    [root@server1 head]# ls
    elasticsearch-head.sublime-project  LICENCE                       _site
    Gruntfile.js                        package.json                  src
    grunt_fileSets.js                   plugin-descriptor.properties  test
    index.html                          README.textile
    访问web:172.25.8.1:9200/_plugin/head/
    图x2
  • 相关阅读:
    PKG_COLLECTION_LHR 存储过程或函数返回集合类型
    【Linux】将Oracle安装目录从根目录下迁移到逻辑卷
    【故障处理】ORA-28040: No matching authentication protocol
    【故障处理】队列等待之enq IV
    【故障处理】告警日志报“ORA-01565 Unable To open Spfile”
    【故障处理】一次RAC故障处理过程
    小麦苗健康检查脚本说明
    【密码】Oracle用户密码系列
    【ASM】ASMSNMP用户已存在
    【故障处理】CRS-1153错误处理
  • 原文地址:https://www.cnblogs.com/zhengyipengyou/p/9872672.html
Copyright © 2020-2023  润新知