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
  • 相关阅读:
    Android Wear真机蓝牙调试方法及错误解决方法,设备华为WATCH+小米5
    Ubuntu16.04 Selenium+python 环境搭建 Chromedriver安装
    Ubuntu16.04 为vim安装YouCompleteMe插件
    codeforces 676C Vasya and String 贪心 尺取法
    poj 1177 & hdu 1828 Picture 线段树 扫描线求矩形周长并
    hdu 1542 & poj 1151 Atlantis 线段树扫描线求矩形面积并
    fzu 2109 Mountain Number 数位DP
    fzu 2105 Digits Count 线段树
    codeforces 675D Tree Construction 数据结构
    codeforces 675C Money Transfers 贪心
  • 原文地址:https://www.cnblogs.com/zhengyipengyou/p/9872672.html
Copyright © 2011-2022 走看看