• 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
    

      

  • 相关阅读:
    ORM是什么?及ORM框架是什么?
    Spring与其两大核心
    装箱和拆箱
    ==和equals的比较
    Vue中ESlint配置文件eslintrc.js文件详解
    RESTful API规范
    CORS跨域djangosetting.py 配置
    LDAP
    模拟浏览器发送请求报文
    学HTTP协议所要知道的基础知识(微总结)
  • 原文地址:https://www.cnblogs.com/falcon-fei/p/14699561.html
Copyright © 2020-2023  润新知