1. Windows 安装 elasticsearch-8.5.1 和 kibana

这篇具有很好参考价值的文章主要介绍了1. Windows 安装 elasticsearch-8.5.1 和 kibana。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

1. 准备下载文件

记住es启动必须要安装jdk环境才可以,必须要设置环境变量。如果是7.0以后的,es已经内置了java环境了。

Elasticsearch 下载地址: https://www.elastic.co/downloads/elasticsearch
Kibana 下载地址: https://www.elastic.co/downloads/kibana

1. Windows 安装 elasticsearch-8.5.1 和 kibana

2.启动es

1、配置文件:注意ip用个人ip别用localhost

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
#cluster.name: my-application
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
#path.data: /path/to/data
#
# Path to log files:
#
#path.logs: /path/to/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
network.host: 192.168.1.5
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
#http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# --------------------------------- Readiness ----------------------------------
#
# Enable an unauthenticated TCP readiness endpoint on localhost
#
#readiness.port: 9399
#
# ---------------------------------- Various -----------------------------------
#
# Allow wildcard deletion of indices:
#
#action.destructive_requires_name: false

#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically      
# generated to configure Elasticsearch security features on 21-11-2022 12:30:06
#
# --------------------------------------------------------------------------------

# Enable security features
xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["SK-20211114XKAI"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
#transport.host: 0.0.0.0

#----------------------- END SECURITY AUTO CONFIGURATION -------------------------

2、解压启动:\elasticsearch-8.5.1\bin\elasticsearch.bat

1. Windows 安装 elasticsearch-8.5.1 和 kibana

3、重置登录密码

  • 在es的bin目录,执行cmd;
  • 执行:elasticsearch-reset-password -u elastic
  • 重启一下就可以用了

1. Windows 安装 elasticsearch-8.5.1 和 kibana

注意这里有个小坑:

如果你的bin/elasticsearch.yml 文件里面没有xpack.security.enabled: true
这个配置,需要加上在重置密码哦

3、请求看看是否启动完成

请求地址:https://localhost:9200/
1. Windows 安装 elasticsearch-8.5.1 和 kibana

3.启动kibana

1、修改配置文件

进去kibana的config文件夹中的kibana.yml,添加配置

server.port: 5601
server.host: "192.168.1.5"
i18n.locale: "zh-CN"

2、生成秘钥

\elasticsearch-8.5.1\bin目录下执行(这个秘钥保存起来有用 ):

elasticsearch-create-enrollment-token -s kibana

1. Windows 安装 elasticsearch-8.5.1 和 kibana

3、解压启动(kibana-8.5.1\bin\kibana.bat)

1. Windows 安装 elasticsearch-8.5.1 和 kibana

4、请求地址 (配置秘钥)

http://192.168.1.5:5601/
1. Windows 安装 elasticsearch-8.5.1 和 kibana
把生成的秘钥粘贴进去
1. Windows 安装 elasticsearch-8.5.1 和 kibana

5、登录成功

剩下的自己玩,真累,各种大坑安装的时候,终于安装完成了。
下面是开发工具页面
1. Windows 安装 elasticsearch-8.5.1 和 kibana文章来源地址https://www.toymoban.com/news/detail-406347.html

到了这里,关于1. Windows 安装 elasticsearch-8.5.1 和 kibana的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 【elasticsearch+kibana基于windows docker安装】

    改成如下:并在elasticsearch.yml 中添加配置: http.host: 0.0.0.0 出现以上数据说明安装好了es. 注意: es 和 kibana 版本要一致! https://blog.csdn.net/qq_39363204/article/details/108547475

    2024年02月04日
    浏览(37)
  • ES(Elasticsearch)和Kibana(Windows)安装

    安装Elasticsearch过程 首先需要到官网下载安装包 注意 :要下载对应的版本,如果下载最新版而且jdk是1.8版本的话,会出现 warning: ignoring JAVA_HOME=C:Program FilesJavajdk1.8.0_191; using bundled JDK 这样的报错,意思是jdk版本与es版本不兼容,这里用的是7.6.2 官网地址:https://www.elastic.co

    2024年02月11日
    浏览(33)
  • Elasticsearch和kibana在Windows上的安装使用

    提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档 1、Elasticsearch 是一个分布式、高扩展、高实时的搜索与数据分析引擎。它能很方便的使大量数据具有搜索、分析和探索的能力。充分利用Elasticsearch的水平伸缩性,能使数据在生产环境变得更有价值。E

    2024年02月03日
    浏览(26)
  • Windows基于Docker安装Elasticsearch和 kibana笔记

    1.1、Windows 版 Docker 需要运行在一个安装了 64 位 Windows 10 操作系统的计算机上,通过启动一个独立的引擎来提供 Docker 环境。 1.2、需要启用 Windows 操作系统中的 Hyper-V 和容器特性。 1) 右键单击 Windows 开始按钮并选择“应用和功能”页面。 2)单击“程序和功能”链接。 3)

    2024年02月15日
    浏览(33)
  • 1. Windows 安装 elasticsearch-8.5.1 和 kibana

    记住es启动必须要安装jdk环境才可以,必须要设置环境变量。如果是7.0以后的,es已经内置了java环境了。 Elasticsearch 下载地址: https://www.elastic.co/downloads/elasticsearch Kibana 下载地址: https://www.elastic.co/downloads/kibana 在es的bin目录,执行cmd; 执行:elasticsearch-reset-password -u elastic 重

    2023年04月09日
    浏览(24)
  • windows环境下ElasticSearch+kibana+ElasticSearch-Head安装搭建

    windows环境下ElasticSearch+kibana+ElasticSearch-Head搭建安装 1.elasticsearch是什么? Elasticsearch(简称ES)是一个基于Lucene开源的高扩展的分布式全文搜索引擎。ES不仅仅只是全文搜索,还支持结构化搜索、数据分析、复杂的语言处理、地理位置和对象间关联关系等。 2.Lucene和ElasticSearch有

    2024年01月21日
    浏览(34)
  • 在window环境下 ,下载安装Elasticsearch,及其head和kibana

    1.第一步下载,这里选择的是7.6.1版本下载。 因为7.17.3之后不支持JDK1.8版本。win7建议下载和我一样的版本,7.17.3需要win8和最低node.js 12.0.0版本 下载链接:Elasticsearch 7.6.1 | Elastic 2.解压并双击bin目录下的elasticsearch.bat文件。 启动之前需要配置java的环境变量,建议1.8版本。 浏览

    2023年04月08日
    浏览(29)
  • windows下安装配置 elasticsearch | kibana | analysis-ik

    elasticsearch是一款非常强大的开源搜索引擎,支持Restful风格,可以帮助我们从海量的数据中快速找到用户所需要的内容。是当前最流的开源企业级搜索引擎,能够达到近实时搜索、稳定、可靠、快速、安装使用方便。 elasticsearch结合kibana、Logstash、Beats(即elastic stack,简写:EL

    2024年02月14日
    浏览(28)
  • windows环境安装elasticsearch+kibana并完成JAVA客户端查询

    elasticsearch 官网下载比较慢,有时还打不开,可以通过https://elasticsearch.cn/download/下载,先找到对应的版本,最好使用迅雷下载,秒下的,我的下载速度可以达到40M/S 解压后点击 elasticsearch-7.10.0binelasticsearch.bat 运行成功后,输入http://120.0.0.1:9200,可以访问说明ES启动成功 点击

    2024年02月14日
    浏览(38)
  • windows环境下elasticsearch8.1.0+kibana8.1.0安装教程(用户密码版)

    一:JDK环境(不做介绍) 二:安装ElasticSearch ①:下载地址: elasticsearch地址: https://www.elastic.co/cn/downloads/elasticsearch kibana地址: https://www.elastic.co/cn/downloads/kibana ②:下载安装包后解压 ③:win+r打开cmd(命令提示符),启动 .binelasticsearch.bat 进入安装路径下: 执行:.bin

    2023年04月10日
    浏览(31)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包