zoukankan      html  css  js  c++  java
  • kibana-4.6.3-linux-x86_64.tar.gz的安装(图文详解)(升级)

     前期博客

    kibana-4.6.3-linux-x86_64.tar.gz的下载(图文详解)

      因为,我的机器情况是如下:

      1、上传

    [hadoop@master app]$ rz
    
    [hadoop@master app]$ ll
    total 33380
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 21 15:43 elasticsearch-2.4.0
    drwxrwxr-x   6 hadoop hadoop     4096 Apr 21 12:12 elasticsearch-2.4.3
    lrwxrwxrwx   1 hadoop hadoop       20 Apr 21 15:00 es -> elasticsearch-2.4.0/
    lrwxrwxrwx   1 hadoop hadoop       11 Apr 20 12:19 flume -> flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 20 12:17 flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 20 12:00 flume-1.7.0
    lrwxrwxrwx.  1 hadoop hadoop       12 Apr 12 11:27 hadoop -> hadoop-2.6.0
    drwxr-xr-x. 10 hadoop hadoop     4096 Apr 12 16:33 hadoop-2.6.0
    lrwxrwxrwx.  1 hadoop hadoop       13 Apr 12 11:28 hbase -> hbase-0.98.19
    drwxrwxr-x.  8 hadoop hadoop     4096 Apr 12 17:27 hbase-0.98.19
    lrwxrwxrwx.  1 hadoop hadoop       10 Apr 12 11:28 hive -> hive-1.0.0
    drwxrwxr-x.  8 hadoop hadoop     4096 Apr 20 11:59 hive-1.0.0
    lrwxrwxrwx.  1 hadoop hadoop       11 Apr 12 10:18 jdk -> jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop     4096 Apr 11  2015 jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop     4096 Aug  5  2015 jdk1.8.0_60
    -rw-r--r--   1 hadoop hadoop 34135857 Apr 21 22:10 kibana-4.6.3-linux-x86_64.tar.gz
    lrwxrwxrwx.  1 hadoop hadoop       11 Apr 12 11:28 sqoop -> sqoop-1.4.6
    drwxr-xr-x.  9 hadoop hadoop     4096 Apr 27  2015 sqoop-1.4.6
    lrwxrwxrwx.  1 hadoop hadoop       15 Apr 12 11:28 zookeeper -> zookeeper-3.4.6
    drwxr-xr-x. 10 hadoop hadoop     4096 Apr 12 17:13 zookeeper-3.4.6
    [hadoop@master app]$ 

       2、解压

    [hadoop@master app]$ tar -zxvf kibana-4.6.3-linux-x86_64.tar.gz 

       3、删除压缩包和赋予用户组和用户权限

     

    [hadoop@master app]$ ll
    total 33384
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 21 15:43 elasticsearch-2.4.0
    drwxrwxr-x   6 hadoop hadoop     4096 Apr 21 12:12 elasticsearch-2.4.3
    lrwxrwxrwx   1 hadoop hadoop       20 Apr 21 15:00 es -> elasticsearch-2.4.0/
    lrwxrwxrwx   1 hadoop hadoop       11 Apr 20 12:19 flume -> flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 20 12:17 flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop     4096 Apr 20 12:00 flume-1.7.0
    lrwxrwxrwx.  1 hadoop hadoop       12 Apr 12 11:27 hadoop -> hadoop-2.6.0
    drwxr-xr-x. 10 hadoop hadoop     4096 Apr 12 16:33 hadoop-2.6.0
    lrwxrwxrwx.  1 hadoop hadoop       13 Apr 12 11:28 hbase -> hbase-0.98.19
    drwxrwxr-x.  8 hadoop hadoop     4096 Apr 12 17:27 hbase-0.98.19
    lrwxrwxrwx.  1 hadoop hadoop       10 Apr 12 11:28 hive -> hive-1.0.0
    drwxrwxr-x.  8 hadoop hadoop     4096 Apr 20 11:59 hive-1.0.0
    lrwxrwxrwx.  1 hadoop hadoop       11 Apr 12 10:18 jdk -> jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop     4096 Apr 11  2015 jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop     4096 Aug  5  2015 jdk1.8.0_60
    drwxrwxr-x  11 hadoop hadoop     4096 Nov  4 23:24 kibana-4.6.3-linux-x86_64
    -rw-r--r--   1 hadoop hadoop 34135857 Apr 21 22:10 kibana-4.6.3-linux-x86_64.tar.gz
    lrwxrwxrwx.  1 hadoop hadoop       11 Apr 12 11:28 sqoop -> sqoop-1.4.6
    drwxr-xr-x.  9 hadoop hadoop     4096 Apr 27  2015 sqoop-1.4.6
    lrwxrwxrwx.  1 hadoop hadoop       15 Apr 12 11:28 zookeeper -> zookeeper-3.4.6
    drwxr-xr-x. 10 hadoop hadoop     4096 Apr 12 17:13 zookeeper-3.4.6
    [hadoop@master app]$ rm kibana-4.6.3-linux-x86_64.tar.gz 
    [hadoop@master app]$ ll
    total 48
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 21 15:43 elasticsearch-2.4.0
    drwxrwxr-x   6 hadoop hadoop 4096 Apr 21 12:12 elasticsearch-2.4.3
    lrwxrwxrwx   1 hadoop hadoop   20 Apr 21 15:00 es -> elasticsearch-2.4.0/
    lrwxrwxrwx   1 hadoop hadoop   11 Apr 20 12:19 flume -> flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 20 12:17 flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 20 12:00 flume-1.7.0
    lrwxrwxrwx.  1 hadoop hadoop   12 Apr 12 11:27 hadoop -> hadoop-2.6.0
    drwxr-xr-x. 10 hadoop hadoop 4096 Apr 12 16:33 hadoop-2.6.0
    lrwxrwxrwx.  1 hadoop hadoop   13 Apr 12 11:28 hbase -> hbase-0.98.19
    drwxrwxr-x.  8 hadoop hadoop 4096 Apr 12 17:27 hbase-0.98.19
    lrwxrwxrwx.  1 hadoop hadoop   10 Apr 12 11:28 hive -> hive-1.0.0
    drwxrwxr-x.  8 hadoop hadoop 4096 Apr 20 11:59 hive-1.0.0
    lrwxrwxrwx.  1 hadoop hadoop   11 Apr 12 10:18 jdk -> jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop 4096 Apr 11  2015 jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop 4096 Aug  5  2015 jdk1.8.0_60
    drwxrwxr-x  11 hadoop hadoop 4096 Nov  4 23:24 kibana-4.6.3-linux-x86_64
    lrwxrwxrwx.  1 hadoop hadoop   11 Apr 12 11:28 sqoop -> sqoop-1.4.6
    drwxr-xr-x.  9 hadoop hadoop 4096 Apr 27  2015 sqoop-1.4.6
    lrwxrwxrwx.  1 hadoop hadoop   15 Apr 12 11:28 zookeeper -> zookeeper-3.4.6
    drwxr-xr-x. 10 hadoop hadoop 4096 Apr 12 17:13 zookeeper-3.4.6
    [hadoop@master app]$ 

       4、为了后续灵活多变,使用多版本(想变成高手的实力必备),创建软链接

    大数据各子项目的环境搭建之建立软连接(博主推荐)

    [hadoop@master app]$ ln -s kibana-4.6.3-linux-x86_64/ kibana
    [hadoop@master app]$ ll
    total 48
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 21 15:43 elasticsearch-2.4.0
    drwxrwxr-x   6 hadoop hadoop 4096 Apr 21 12:12 elasticsearch-2.4.3
    lrwxrwxrwx   1 hadoop hadoop   20 Apr 21 15:00 es -> elasticsearch-2.4.0/
    lrwxrwxrwx   1 hadoop hadoop   11 Apr 20 12:19 flume -> flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 20 12:17 flume-1.6.0
    drwxrwxr-x   7 hadoop hadoop 4096 Apr 20 12:00 flume-1.7.0
    lrwxrwxrwx.  1 hadoop hadoop   12 Apr 12 11:27 hadoop -> hadoop-2.6.0
    drwxr-xr-x. 10 hadoop hadoop 4096 Apr 12 16:33 hadoop-2.6.0
    lrwxrwxrwx.  1 hadoop hadoop   13 Apr 12 11:28 hbase -> hbase-0.98.19
    drwxrwxr-x.  8 hadoop hadoop 4096 Apr 12 17:27 hbase-0.98.19
    lrwxrwxrwx.  1 hadoop hadoop   10 Apr 12 11:28 hive -> hive-1.0.0
    drwxrwxr-x.  8 hadoop hadoop 4096 Apr 20 11:59 hive-1.0.0
    lrwxrwxrwx.  1 hadoop hadoop   11 Apr 12 10:18 jdk -> jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop 4096 Apr 11  2015 jdk1.7.0_79
    drwxr-xr-x.  8 hadoop hadoop 4096 Aug  5  2015 jdk1.8.0_60
    lrwxrwxrwx   1 hadoop hadoop   26 Apr 21 22:18 kibana -> kibana-4.6.3-linux-x86_64/
    drwxrwxr-x  11 hadoop hadoop 4096 Nov  4 23:24 kibana-4.6.3-linux-x86_64
    lrwxrwxrwx.  1 hadoop hadoop   11 Apr 12 11:28 sqoop -> sqoop-1.4.6
    drwxr-xr-x.  9 hadoop hadoop 4096 Apr 27  2015 sqoop-1.4.6
    lrwxrwxrwx.  1 hadoop hadoop   15 Apr 12 11:28 zookeeper -> zookeeper-3.4.6
    drwxr-xr-x. 10 hadoop hadoop 4096 Apr 12 17:13 zookeeper-3.4.6
    [hadoop@master app]$ 

      5、修改kibana的配置文件kibana.yml

    kibana.yml(中文配置详解)

    [hadoop@master app]$ cd kibana
    [hadoop@master kibana]$ ll
    total 48
    drwxrwxr-x  2 hadoop hadoop 4096 Nov  4 23:24 bin
    drwxrwxr-x  2 hadoop hadoop 4096 Nov  4 23:24 config
    drwxrwxr-x  2 hadoop hadoop 4096 Nov  4 23:24 data
    drwxrwxr-x  2 hadoop hadoop 4096 Nov  4 23:24 installedPlugins
    -rw-rw-r--  1 hadoop hadoop  562 Nov  4 23:24 LICENSE.txt
    drwxrwxr-x  6 hadoop hadoop 4096 Nov  4 23:24 node
    drwxrwxr-x 83 hadoop hadoop 4096 Nov  4 23:24 node_modules
    drwxrwxr-x  3 hadoop hadoop 4096 Nov  4 23:24 optimize
    -rw-rw-r--  1 hadoop hadoop  701 Nov  4 23:24 package.json
    -rw-rw-r--  1 hadoop hadoop 2322 Nov  4 23:24 README.txt
    drwxrwxr-x  8 hadoop hadoop 4096 Nov  4 23:24 src
    drwxrwxr-x  2 hadoop hadoop 4096 Nov  4 23:24 webpackShims
    [hadoop@master kibana]$ cd config/
    [hadoop@master config]$ pwd
    /home/hadoop/app/kibana/config
    [hadoop@master config]$ ll
    total 4
    -rw-rw-r-- 1 hadoop hadoop 3200 Nov  4 23:24 kibana.yml
    [hadoop@master config]$ vi kibana.yml 

       6、配置kibana的配置文件

    很多其实,我们不需改,只是Kibana需要与ElasticSearch结合,需要更改如下地方:

    server.host: "192.168.80.145"        
    server.port: 5601
    elasticsearch.url: "http://192.168.80.145:9200"
    kibana.index: ".kibana"

      

       7、在kibana里安装marvel插件

    bin/kibana plugin --install elasticsearch/marvel/latest

     

      之后,就是启动了。

  • 相关阅读:
    堆排序优化与几个排序算法时间复杂度
    冒泡排序的实现和优化及其与插入,选择排序的比较
    插入排序的实现与优化并和选择排序进行性能比较
    选择排序的实现以及性能测试
    MD5加密
    低功耗蓝牙BLE [学习笔记]
    反编译[学习笔记]
    Android 混淆[学习笔记]
    北大SQL数据库视频课程笔记
    repo/git Android/CyanogenMod srouce code
  • 原文地址:https://www.cnblogs.com/zlslch/p/6746349.html
Copyright © 2011-2022 走看看