zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    矩阵快速幂 ZOJ 3497 Mistwald
    线段树(多棵) HDOJ 4288 Coder
    线段树(区间操作) POJ 3325 Help with Intervals
    BestCoder Round #75
    BestCoder Round #74 (div.2)
    DP ZOJ 2745 01-K Code
    Java IO file文件的写入和读取及下载
    Java时间和时间戳的相互转换
    Base64编码密钥时关于换行的几个问题。
    解决IllegalBlockSizeException:last block incomplete in decryption异常
  • 原文地址:https://www.cnblogs.com/zhengyipengyou/p/9872672.html
Copyright © 2011-2022 走看看