zoukankan      html  css  js  c++  java
  • centos7安装ELS7.2.1

    安装elasticSearch

    下载安装

    wget –c  https://mirrors.huaweicloud.com/elasticsearch/7.2.1/elasticsearch-7.2.1-x86_64.rpm
    
    rpm -ivh elasticsearch-7.2.1-x86_64.rpm
    

    启动Elasticsearch并设置开机启动

    systemctl daemon-reload
    systemctl start elasticsearch
    systemctl enable elasticsearch.serviced
    

      

    当前启动后,默认只能本机访问,要想配置远程访问需要修改配置文件

    vim /etc/elasticsearch/elasticsearch.yml

    配置文件修改如下

    # line 17, uncomment
    cluster.name: my-application
    # line 22, uncomment and change
    node.name: node-1
    # line 55, uncomment and change
    network.host: 0.0.0.0
    # line 59, uncomment
    http.port: 9200
    # line 72, uncomment and change
    cluster.initial_master_nodes: ["node-1", "node-2"]
    

      重启

    systemctl stop elasticsearch
    systemctl start elasticsearch

    安装Kibana

    wget –c  https://mirrors.huaweicloud.com/kibana/7.2.1/kibana-7.2.1-x86_64.rpm
    
    rpm -ivh kibana-7.2.1-x86_64.rpm
    

      

    确认Kibana安装信息

    rpm -qi kibana
    

      启动Kibana并设置开机启动

    systemctl start kibana
    systemctl enable kibana
    

      查看运行状态

    systemctl status kibana
    

      设置允许其他机器访问

    vim /etc/kibana/kibana.yml
    

      重启Kibana

    systemctl stop kibana
    systemctl start kibana
    

      

  • 相关阅读:
    DecimalPercentageConverter
    Asp.Net 性能 ViewState 压缩的2种方法
    Listbox template
    Datagrid template for listbox and textbox
    ToPercentConverter : IValueConverter
    繁體中文
    Silverlight ComboBox 设置选中项
    鲁迅:纪念刘和珍君
    ASP.NET系统整合DiscuzNT3.6之注意事项
    [转]js动态创建json类型
  • 原文地址:https://www.cnblogs.com/falcon-fei/p/14699561.html
Copyright © 2011-2022 走看看