Linux安装Elasticsearch(ES)

1. 前期准备

  1. 创建账号和用户
useradd es
passwd es
  1. 修改sysctl.conf
    在文件最后面添加内容(如果不修改的话,默认的65535会提示too low):
vm.max_map_count=262144

max_map_count:表示文件包含限制一个进程可以拥有的VMA(虚拟内存区域)的数量。虚拟内存区域是一个连续的虚拟地址空间区域。在进程的生命周期中,每当程序尝试在内存中映射文件,链接到共享内存段,或者分配堆空间的时候,这些区域将被创建。调优这个值将限制进程可拥有VMA的数量。限制一个进程拥有VMA的总数可能导致应用程序出错,因为当进程达到了VMA上线但又只能释放少量的内存给其他的内核进程使用时,操作系统会抛出内存不足的错误。如果你的操作系统在NORMAL区域仅占用少量的内存,那么调低这个值可以帮助释放内存给内核用。

  1. 修改/etc/security/limits.conf
    添加如下内容:
# nofile 表示一个进程最多可以打开多少个文件
* hard nofile 65536
* soft nofile 65536

# nproc 表示一个操作系统用户最多可以创建多少个进程
* soft nproc 2048
* hard nproc 4096
  1. 修改/etc/security/limits.d/XX-nproc.conf (这里XX表示任意的数字,有的是90有的是20,不影响):
    如果是下面的这样就不用管,如果是 1024,请改为 4096
*          soft    nproc     4096

2. 下载es 和 kibana 安装包 (本文以6.8.23为例)

  • ES
    进入下面的地址,选择合适的版本(记得对应的jdk版本,至于jdk的安装,请查看Linux安装JDK)
    下载地址:https://www.elastic.co/cn/downloads/past-releases#elasticsearch

解压:

tar -zxvf elasticsearch-xxxxxxx.tar.gz

Elasticsearch 要求不能使用超级用户root运行,所以建议将归属设置为es账号

chown -R es:es /usr/local/elasticsearch-6.4.0/
  • 下载Kibana
    进入下面的地址,选择合适的版本
    下载地址:https://www.elastic.co/cn/downloads/past-releases#kibana

解压:

tar -zxvf kibana-xxxxxxx.tar.gz

3. 修改elasticsearch配置

  • 修改config/elasticsearch.yml
    修改以下内容,如果没有则添加:
cluster.name: my-application
node.name: node-1
network.host: 0.0.0.0 
http.port: 9200
bootstrap.memory_lock: false
bootstrap.system_call_filter: false

4. 启动elasticsearch并进行测试

cd bin
./elasticsearch
[es@192 bin]$ ./elasticsearch
[2022-11-09T05:04:37,870][INFO ][o.e.e.NodeEnvironment    ] [node-1] using [1] data paths, mounts [[/ (/dev/mapper/centos-root)]], net usable_space [2.8gb], net total_space [16.9gb], types [xfs]
[2022-11-09T05:04:37,873][INFO ][o.e.e.NodeEnvironment    ] [node-1] heap size [1015.6mb], compressed ordinary object pointers [true]
[2022-11-09T05:04:37,877][INFO ][o.e.n.Node               ] [node-1] node name [node-1], node ID [nE2MJ98IRky1IZEDW1P0iQ]
[2022-11-09T05:04:37,877][INFO ][o.e.n.Node               ] [node-1] version[6.8.23], pid[3803], build[default/tar/4f67856/2022-01-06T21:30:50.087716Z], OS[Linux/3.10.0-1160.76.1.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_341/25.341-b10]
[2022-11-09T05:04:37,877][INFO ][o.e.n.Node               ] [node-1] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.io.tmpdir=/tmp/elasticsearch-3281156269294953985, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/home/es/es6/elasticsearch-6.8.23, -Des.path.conf=/home/es/es6/elasticsearch-6.8.23/config, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2022-11-09T05:04:45,016][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [aggs-matrix-stats]
[2022-11-09T05:04:45,016][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [analysis-common]
[2022-11-09T05:04:45,016][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [ingest-common]
[2022-11-09T05:04:45,016][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [ingest-geoip]
[2022-11-09T05:04:45,016][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [ingest-user-agent]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [lang-expression]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [lang-mustache]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [lang-painless]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [mapper-extras]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [parent-join]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [percolator]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [rank-eval]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [reindex]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [repository-url]
[2022-11-09T05:04:45,017][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [transport-netty4]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [tribe]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-ccr]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-core]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-deprecation]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-graph]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-ilm]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-logstash]
[2022-11-09T05:04:45,018][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-ml]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-monitoring]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-rollup]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-security]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-sql]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-upgrade]
[2022-11-09T05:04:45,019][INFO ][o.e.p.PluginsService     ] [node-1] loaded module [x-pack-watcher]
[2022-11-09T05:04:45,020][INFO ][o.e.p.PluginsService     ] [node-1] no plugins loaded
[2022-11-09T05:04:56,244][INFO ][o.e.x.s.a.s.FileRolesStore] [node-1] parsed [0] roles from file [/home/es/es6/elasticsearch-6.8.23/config/roles.yml]
[2022-11-09T05:04:59,660][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [node-1] [controller/3859] [Main.cc@114] controller (64 bit): Version 6.8.23 (Build 31256deab94add) Copyright (c) 2022 Elasticsearch BV
[2022-11-09T05:05:00,870][DEBUG][o.e.a.ActionModule       ] [node-1] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2022-11-09T05:05:01,443][INFO ][o.e.d.DiscoveryModule    ] [node-1] using discovery type [zen] and host providers [settings]
[2022-11-09T05:05:03,515][INFO ][o.e.n.Node               ] [node-1] initialized
[2022-11-09T05:05:03,516][INFO ][o.e.n.Node               ] [node-1] starting ...
[2022-11-09T05:05:04,453][INFO ][o.e.t.TransportService   ] [node-1] publish_address {192.168.1.6:9300}, bound_addresses {[::]:9300}
[2022-11-09T05:05:04,512][INFO ][o.e.b.BootstrapChecks    ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-11-09T05:05:07,854][INFO ][o.e.c.s.MasterService    ] [node-1] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {node-1}{nE2MJ98IRky1IZEDW1P0iQ}{hbaUghQaR9aOvYzTlM3tnQ}{192.168.1.6}{192.168.1.6:9300}{ml.machine_memory=1927217152, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}
[2022-11-09T05:05:07,862][INFO ][o.e.c.s.ClusterApplierService] [node-1] new_master {node-1}{nE2MJ98IRky1IZEDW1P0iQ}{hbaUghQaR9aOvYzTlM3tnQ}{192.168.1.6}{192.168.1.6:9300}{ml.machine_memory=1927217152, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {node-1}{nE2MJ98IRky1IZEDW1P0iQ}{hbaUghQaR9aOvYzTlM3tnQ}{192.168.1.6}{192.168.1.6:9300}{ml.machine_memory=1927217152, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[2022-11-09T05:05:08,142][INFO ][o.e.h.n.Netty4HttpServerTransport] [node-1] publish_address {192.168.1.6:9200}, bound_addresses {[::]:9200}
[2022-11-09T05:05:08,142][INFO ][o.e.n.Node               ] [node-1] started
[2022-11-09T05:05:08,185][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [node-1] Failed to clear cache for realms [[]]
[2022-11-09T05:05:08,352][INFO ][o.e.g.GatewayService     ] [node-1] recovered [0] indices into cluster_state
[2022-11-09T05:05:08,860][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.triggered_watches] for index patterns [.triggered_watches*]
[2022-11-09T05:05:09,088][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.watch-history-9] for index patterns [.watcher-history-9*]
[2022-11-09T05:05:09,202][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.watches] for index patterns [.watches*]
[2022-11-09T05:05:09,345][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.monitoring-logstash] for index patterns [.monitoring-logstash-6-*]
[2022-11-09T05:05:09,481][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.monitoring-es] for index patterns [.monitoring-es-6-*]
[2022-11-09T05:05:09,580][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.monitoring-beats] for index patterns [.monitoring-beats-6-*]
[2022-11-09T05:05:09,657][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.monitoring-alerts] for index patterns [.monitoring-alerts-6]
[2022-11-09T05:05:09,740][INFO ][o.e.c.m.MetaDataIndexTemplateService] [node-1] adding template [.monitoring-kibana] for index patterns [.monitoring-kibana-6-*]
[2022-11-09T05:05:10,039][INFO ][o.e.l.LicenseService     ] [node-1] license [a3f1aea5-49bb-4d63-99b9-b6130fc6af81] mode [basic] - valid
  • 浏览器访问 192.168.1.6:9200 (这里的IP要替换成自己的IP)

5. 修改kibana配置

  • 修改config/kibana.yml
    修改以下内容,如果没有则添加:
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://192.168.1.6:9200"]
kibana.index: ".kibana"

6. 启动kibana并进行测试

cd bin
./kibana
[es@192 bin]$ ./kibana
  log   [10:39:40.611] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:40.704] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.709] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.722] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.784] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:40.790] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.802] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
  log   [10:39:40.842] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log   [10:39:40.856] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.945] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:40.960] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.051] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.053] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.084] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.095] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.099] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.115] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.166] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.172] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.177] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.183] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.195] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.234] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.251] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.254] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.257] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.286] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.290] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.294] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.296] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.390] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.392] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.408] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.417] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [10:39:41.442] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.461] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.488] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.491] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:41.512] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:42.216] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:39:44.116] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.137] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
  log   [10:39:45.144] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.145] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.147] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.148] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.148] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.149] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.149] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.150] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.150] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.151] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.152] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.152] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.153] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.153] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.154] [info][kibana-monitoring][monitoring-ui] Starting monitoring stats collection
  log   [10:39:45.168] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.169] [info][status][plugin:[email protected]] Status changed from yellow to green - Ready
  log   [10:39:45.245] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
  log   [10:39:48.826] [warning][browser-driver][reporting] Enabling the Chromium sandbox provides an additional layer of protection.
  log   [10:39:48.828] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
  log   [10:39:49.181] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [10:40:00.329] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.330] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.331] [error][status][plugin:[email protected]] Status changed from yellow to red - Request Timeout after 3000ms
  log   [10:40:00.331] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.332] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.332] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.333] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.333] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.334] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.334] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.334] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.334] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.335] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.335] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.335] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.336] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.336] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.337] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:00.337] [error][status][plugin:[email protected]] Status changed from green to red - Request Timeout after 3000ms
  log   [10:40:03.083] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.084] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.086] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.086] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.087] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.087] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.088] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.088] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.089] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.089] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.089] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.090] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.090] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.091] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.097] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.098] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.099] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:03.164] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  log   [10:40:19.357] [warning][reporting] The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports: TimeoutError: Timed out after 30000 ms while trying to connect to Chrome! The only Chrome revision guaranteed to work is r637110
  log   [10:40:19.358] [warning][reporting] See Chromium's log output at "/home/es/es6/kibana-6.8.23/data/headless_shell-linux/chrome_debug.log"
  log   [10:40:19.718] [warning][maps] Error scheduling telemetry task, received Request Timeout after 30000ms
  log   [10:40:23.087] [info][listening] Server running at http://0.0.0.0:5601
  log   [10:40:23.497] [info][status][plugin:[email protected]] Status changed from red to green - Ready
  • 浏览器访问 192.168.1.6:5601 (这里的IP要替换成自己的IP)

如果觉得有收获就点个赞吧,更多知识,请点击关注查看我的主页信息哦~

你可能感兴趣的:(Linux安装Elasticsearch(ES))