elasticsearch8.x报错解决(VMware虚拟机+CentOS)

这篇具有很好参考价值的文章主要介绍了elasticsearch8.x报错解决(VMware虚拟机+CentOS)。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

[2022-08-21T12:24:58,784][ERROR][o.e.b.Bootstrap          ] [es-node-1] Exception
java.lang.IllegalStateException: jar hell!
class: sun.tools.jar.CommandLine
jar1: /usr/local/jdk1.8.0_333/jre/lib/rt.jar
jar2: /usr/local/jdk1.8.0_333/lib/tools.jar
	at org.elasticsearch.jdk.JarHell.checkClass(JarHell.java:315) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:233) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:215) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:224) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) [elasticsearch-8.3.3.jar:?]
[2022-08-21T12:24:58,794][ERROR][o.e.b.Elasticsearch      ] [es-node-1] fatal exception while booting Elasticsearch
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: jar hell!
class: sun.tools.jar.CommandLine
jar1: /usr/local/jdk1.8.0_333/jre/lib/rt.jar
jar2: /usr/local/jdk1.8.0_333/lib/tools.jar
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:228) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) [elasticsearch-8.3.3.jar:?]
Caused by: java.lang.IllegalStateException: jar hell!
class: sun.tools.jar.CommandLine
jar1: /usr/local/jdk1.8.0_333/jre/lib/rt.jar
jar2: /usr/local/jdk1.8.0_333/lib/tools.jar
	at org.elasticsearch.jdk.JarHell.checkClass(JarHell.java:315) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:233) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84) ~[elasticsearch-core-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:215) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:333) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:224) ~[elasticsearch-8.3.3.jar:?]
	... 1 more

如果在Linux中配置的是jdk1.8,并且在/etc/profile文件中配置如下:

export JAVA_HOME=/usr/local/jdk1.8.0_333
export JRE_HOME=/$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

CLASSPATH修改为export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH

export JAVA_HOME=/usr/local/jdk1.8.0_333
export JRE_HOME=/$JAVA_HOME/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH
export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

如果用的是jdk17,应该不会出现此问题。


[2022-08-21T13:27:56,246][INFO ][o.e.n.Node               ] [es-node-1] version[8.3.3], pid[4968], build[tar/801fed82df74dbe537f89b71b098ccaff88d2c56/2022-07-23T19:30:09.227964828Z], OS[Linux/3.10.0-1160.71.1.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/18.0.2/18.0.2+9-61]
[2022-08-21T13:27:56,251][INFO ][o.e.n.Node               ] [es-node-1] JVM home [/usr/local/elasticsearch-8.3.3/jdk], using bundled JDK [true]
[2022-08-21T13:27:56,251][INFO ][o.e.n.Node               ] [es-node-1] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-11360277174745489518, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms1965m, -Xmx1965m, -XX:MaxDirectMemorySize=1030750208, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=tar, --module-path=/usr/local/elasticsearch-8.3.3/lib, -Djdk.module.main=org.elasticsearch.server]
[2022-08-21T13:27:58,539][INFO ][c.a.c.i.j.JacksonVersion ] [es-node-1] Package versions: jackson-annotations=2.13.2, jackson-core=2.13.2, jackson-databind=2.13.2.2, jackson-dataformat-xml=2.13.2, jackson-datatype-jsr310=2.13.2, azure-core=1.27.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
[2022-08-21T13:28:00,293][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [aggs-matrix-stats]
[2022-08-21T13:28:00,294][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [analysis-common]
[2022-08-21T13:28:00,294][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [constant-keyword]
[2022-08-21T13:28:00,294][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [data-streams]
[2022-08-21T13:28:00,294][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [frozen-indices]
[2022-08-21T13:28:00,294][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-common]
[2022-08-21T13:28:00,295][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-geoip]
[2022-08-21T13:28:00,295][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [ingest-user-agent]
[2022-08-21T13:28:00,295][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [kibana]
[2022-08-21T13:28:00,295][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-expression]
[2022-08-21T13:28:00,295][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-mustache]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [lang-painless]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [legacy-geo]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [mapper-extras]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [mapper-version]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [old-lucene-versions]
[2022-08-21T13:28:00,296][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [parent-join]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [percolator]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [rank-eval]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [reindex]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repositories-metering-api]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-azure]
[2022-08-21T13:28:00,297][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-encrypted]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-gcs]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-s3]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [repository-url]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [runtime-fields-common]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [search-business-rules]
[2022-08-21T13:28:00,298][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [searchable-snapshots]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [snapshot-based-recoveries]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [snapshot-repo-test-kit]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [spatial]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [transform]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [transport-netty4]
[2022-08-21T13:28:00,299][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [unsigned-long]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [vector-tile]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [vectors]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [wildcard]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-aggregate-metric]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-analytics]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-async]
[2022-08-21T13:28:00,300][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-async-search]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-autoscaling]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ccr]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-core]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-deprecation]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-enrich]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-eql]
[2022-08-21T13:28:00,301][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-fleet]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-graph]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-identity-provider]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ilm]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-logstash]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ml]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-monitoring]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-ql]
[2022-08-21T13:28:00,302][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-rollup]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-security]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-shutdown]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-sql]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-stack]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-text-structure]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-voting-only-node]
[2022-08-21T13:28:00,303][INFO ][o.e.p.PluginsService     ] [es-node-1] loaded module [x-pack-watcher]
[2022-08-21T13:28:00,304][INFO ][o.e.p.PluginsService     ] [es-node-1] no plugins loaded
[2022-08-21T13:28:02,105][INFO ][o.e.e.NodeEnvironment    ] [es-node-1] using [1] data paths, mounts [[/ (/dev/mapper/centos-root)]], net usable_space [32.8gb], net total_space [44.9gb], types [xfs]
[2022-08-21T13:28:02,106][INFO ][o.e.e.NodeEnvironment    ] [es-node-1] heap size [1.9gb], compressed ordinary object pointers [true]
[2022-08-21T13:28:02,136][INFO ][o.e.n.Node               ] [es-node-1] node name [es-node-1], node ID [l2Hi_lE4SzaqxGfEaRyCEA], cluster name [es-cluster], roles [transform, data_content, data_warm, master, remote_cluster_client, data, data_cold, ingest, data_frozen, ml, data_hot]
[2022-08-21T13:28:04,323][INFO ][o.e.x.s.Security         ] [es-node-1] Security is enabled
[2022-08-21T13:28:04,559][INFO ][o.e.x.s.a.s.FileRolesStore] [es-node-1] parsed [0] roles from file [/usr/local/elasticsearch-8.3.3/config/roles.yml]
[2022-08-21T13:28:04,922][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es-node-1] [controller/4995] [Main.cc@123] controller (64 bit): Version 8.3.3 (Build d2d2e518384d45) Copyright (c) 2022 Elasticsearch BV
[2022-08-21T13:28:05,257][INFO ][o.e.t.n.NettyAllocator   ] [es-node-1] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2022-08-21T13:28:05,283][INFO ][o.e.i.r.RecoverySettings ] [es-node-1] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-08-21T13:28:05,310][INFO ][o.e.d.DiscoveryModule    ] [es-node-1] using discovery type [multi-node] and seed hosts providers [settings]
[2022-08-21T13:28:06,183][INFO ][o.e.n.Node               ] [es-node-1] initialized
[2022-08-21T13:28:06,183][INFO ][o.e.n.Node               ] [es-node-1] starting ...
[2022-08-21T13:28:06,191][INFO ][o.e.x.s.c.f.PersistentCache] [es-node-1] persistent cache index loaded
[2022-08-21T13:28:06,191][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [es-node-1] deprecation component started
[2022-08-21T13:28:06,337][INFO ][o.e.t.TransportService   ] [es-node-1] publish_address {MyCentOS/172.17.0.1:9300}, bound_addresses {172.17.0.1:9300}, {192.168.122.1:9300}, {192.168.100.100:9300}, {[fe80::d738:a345:f168:faab]:9300}
[2022-08-21T13:28:06,428][INFO ][o.e.b.BootstrapChecks    ] [es-node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2022-08-21T13:28:06,433][ERROR][o.e.b.Bootstrap          ] [es-node-1] node validation exception
[2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2022-08-21T13:28:06,438][INFO ][o.e.n.Node               ] [es-node-1] stopping ...
[2022-08-21T13:28:06,479][INFO ][o.e.n.Node               ] [es-node-1] stopped
[2022-08-21T13:28:06,479][INFO ][o.e.n.Node               ] [es-node-1] closing ...
[2022-08-21T13:28:06,490][INFO ][o.e.n.Node               ] [es-node-1] closed
[2022-08-21T13:28:06,491][INFO ][o.e.x.m.p.NativeController] [es-node-1] Native controller process has stopped - no new native processes can be started

当你看到[o.e.x.m.p.NativeController] [es-node-1] Native controller process has stopped - no new native processes can be started时,往上找[ERRO]

[2022-08-21T13:28:06,433][ERROR][o.e.b.Bootstrap          ] [es-node-1] node validation exception
[2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

编辑 /etc/security/limits.conf

vim /etc/security/limits.conf

插入以下内容:

es soft nofile 65536
es hard nofile 65536

注意:

  1. 上边的es是你运行elasticsearch的Linux用户,es也可以换成*表示全部用户
  2. 此文件修改后需要重新登录用户,才会生效

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

编辑 /etc/sysctl.conf

vim /etc/sysctl.conf

插入以下内容:

vm.max_map_count=262144

保存之后,使用sysctl -p命令,使配置生效。


[2022-08-21T15:52:25,579][INFO ][o.e.n.Node               ] [es-node-3] version[8.3.3], pid[4197], build[tar/801fed82df74dbe537f89b71b098ccaff88d2c56/2022-07-23T19:30:09.227964828Z], OS[Linux/3.10.0-1160.71.1.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/18.0.2/18.0.2+9-61]
[2022-08-21T15:52:25,583][INFO ][o.e.n.Node               ] [es-node-3] JVM home [/usr/local/elasticsearch-8.3.3/jdk], using bundled JDK [true]
[2022-08-21T15:52:25,583][INFO ][o.e.n.Node               ] [es-node-3] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -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.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=ALL-UNNAMED, -XX:+UseG1GC, -Djava.io.tmpdir=/tmp/elasticsearch-10082483954431907055, -XX:+HeapDumpOnOutOfMemoryError, -XX:+ExitOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Xms1965m, -Xmx1965m, -XX:MaxDirectMemorySize=1030750208, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, -Des.distribution.type=tar, --module-path=/usr/local/elasticsearch-8.3.3/lib, -Djdk.module.main=org.elasticsearch.server]
[2022-08-21T15:52:28,299][INFO ][c.a.c.i.j.JacksonVersion ] [es-node-3] Package versions: jackson-annotations=2.13.2, jackson-core=2.13.2, jackson-databind=2.13.2.2, jackson-dataformat-xml=2.13.2, jackson-datatype-jsr310=2.13.2, azure-core=1.27.0, Troubleshooting version conflicts: https://aka.ms/azsdk/java/dependency/troubleshoot
[2022-08-21T15:52:30,401][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [aggs-matrix-stats]
[2022-08-21T15:52:30,401][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [analysis-common]
[2022-08-21T15:52:30,401][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [constant-keyword]
[2022-08-21T15:52:30,401][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [data-streams]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [frozen-indices]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [ingest-common]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [ingest-geoip]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [ingest-user-agent]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [kibana]
[2022-08-21T15:52:30,402][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [lang-expression]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [lang-mustache]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [lang-painless]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [legacy-geo]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [mapper-extras]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [mapper-version]
[2022-08-21T15:52:30,403][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [old-lucene-versions]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [parent-join]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [percolator]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [rank-eval]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [reindex]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repositories-metering-api]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repository-azure]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repository-encrypted]
[2022-08-21T15:52:30,404][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repository-gcs]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repository-s3]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [repository-url]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [runtime-fields-common]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [search-business-rules]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [searchable-snapshots]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [snapshot-based-recoveries]
[2022-08-21T15:52:30,405][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [snapshot-repo-test-kit]
[2022-08-21T15:52:30,406][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [spatial]
[2022-08-21T15:52:30,406][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [transform]
[2022-08-21T15:52:30,406][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [transport-netty4]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [unsigned-long]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [vector-tile]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [vectors]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [wildcard]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-aggregate-metric]
[2022-08-21T15:52:30,407][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-analytics]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-async]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-async-search]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-autoscaling]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-ccr]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-core]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-deprecation]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-enrich]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-eql]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-fleet]
[2022-08-21T15:52:30,408][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-graph]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-identity-provider]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-ilm]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-logstash]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-ml]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-monitoring]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-ql]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-rollup]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-security]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-shutdown]
[2022-08-21T15:52:30,409][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-sql]
[2022-08-21T15:52:30,410][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-stack]
[2022-08-21T15:52:30,410][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-text-structure]
[2022-08-21T15:52:30,410][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-voting-only-node]
[2022-08-21T15:52:30,410][INFO ][o.e.p.PluginsService     ] [es-node-3] loaded module [x-pack-watcher]
[2022-08-21T15:52:30,410][INFO ][o.e.p.PluginsService     ] [es-node-3] no plugins loaded
[2022-08-21T15:52:32,487][INFO ][o.e.e.NodeEnvironment    ] [es-node-3] using [1] data paths, mounts [[/ (/dev/mapper/centos-root)]], net usable_space [33.6gb], net total_space [44.9gb], types [xfs]
[2022-08-21T15:52:32,487][INFO ][o.e.e.NodeEnvironment    ] [es-node-3] heap size [1.9gb], compressed ordinary object pointers [true]
[2022-08-21T15:52:32,492][INFO ][o.e.n.Node               ] [es-node-3] node name [es-node-3], node ID [mXqHr_-0RbGOz9nsURZ96A], cluster name [es-cluster], roles [data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen, ingest]
[2022-08-21T15:52:35,051][INFO ][o.e.x.s.Security         ] [es-node-3] Security is enabled
[2022-08-21T15:52:35,477][INFO ][o.e.x.s.a.s.FileRolesStore] [es-node-3] parsed [0] roles from file [/usr/local/elasticsearch-8.3.3/config/roles.yml]
[2022-08-21T15:52:35,815][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [es-node-3] [controller/4226] [Main.cc@123] controller (64 bit): Version 8.3.3 (Build d2d2e518384d45) Copyright (c) 2022 Elasticsearch BV
[2022-08-21T15:52:36,272][INFO ][o.e.t.n.NettyAllocator   ] [es-node-3] creating NettyAllocator with the following configs: [name=elasticsearch_configured, chunk_size=1mb, suggested_max_allocation_size=1mb, factors={es.unsafe.use_netty_default_chunk_and_page_size=false, g1gc_enabled=true, g1gc_region_size=4mb}]
[2022-08-21T15:52:36,296][INFO ][o.e.i.r.RecoverySettings ] [es-node-3] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
[2022-08-21T15:52:36,321][INFO ][o.e.d.DiscoveryModule    ] [es-node-3] using discovery type [multi-node] and seed hosts providers [settings]
[2022-08-21T15:52:37,355][INFO ][o.e.n.Node               ] [es-node-3] initialized
[2022-08-21T15:52:37,356][INFO ][o.e.n.Node               ] [es-node-3] starting ...
[2022-08-21T15:52:37,366][INFO ][o.e.x.s.c.f.PersistentCache] [es-node-3] persistent cache index loaded
[2022-08-21T15:52:37,367][INFO ][o.e.x.d.l.DeprecationIndexingComponent] [es-node-3] deprecation component started
[2022-08-21T15:52:37,521][ERROR][o.e.b.Bootstrap          ] [es-node-3] Exception
org.elasticsearch.transport.BindTransportException: Failed to bind to [fe80::d738:a345:f168:faab]:[9300-9399]
	at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:487) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:448) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:143) ~[?:?]
	at org.elasticsearch.xpack.core.security.transport.netty4.SecurityNetty4Transport.doStart(SecurityNetty4Transport.java:96) ~[?:?]
	at org.elasticsearch.xpack.security.transport.netty4.SecurityNetty4ServerTransport.doStart(SecurityNetty4ServerTransport.java:59) ~[?:?]
	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:48) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:275) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:48) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.node.Node.start(Node.java:1159) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:264) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:224) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) [elasticsearch-8.3.3.jar:?]
Caused by: java.net.BindException: 无法指定被请求的地址
	at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
	at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
	at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141) ~[?:?]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[?:?]
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[?:?]
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[?:?]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[?:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[2022-08-21T15:52:37,528][ERROR][o.e.b.Elasticsearch      ] [es-node-3] fatal exception while booting Elasticsearch
org.elasticsearch.bootstrap.StartupException: org.elasticsearch.transport.BindTransportException: Failed to bind to [fe80::d738:a345:f168:faab]:[9300-9399]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:228) [elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) [elasticsearch-8.3.3.jar:?]
Caused by: org.elasticsearch.transport.BindTransportException: Failed to bind to [fe80::d738:a345:f168:faab]:[9300-9399]
	at org.elasticsearch.transport.TcpTransport.bindToPort(TcpTransport.java:487) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.TcpTransport.bindServer(TcpTransport.java:448) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.netty4.Netty4Transport.doStart(Netty4Transport.java:143) ~[?:?]
	at org.elasticsearch.xpack.core.security.transport.netty4.SecurityNetty4Transport.doStart(SecurityNetty4Transport.java:96) ~[?:?]
	at org.elasticsearch.xpack.security.transport.netty4.SecurityNetty4ServerTransport.doStart(SecurityNetty4ServerTransport.java:59) ~[?:?]
	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:48) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.transport.TransportService.doStart(TransportService.java:275) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:48) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.node.Node.start(Node.java:1159) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:264) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-8.3.3.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:224) ~[elasticsearch-8.3.3.jar:?]
	... 1 more
Caused by: java.net.BindException: 无法指定被请求的地址
	at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
	at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
	at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141) ~[?:?]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:506) ~[?:?]
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:491) ~[?:?]
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[?:?]
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[?:?]
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[?:?]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) ~[?:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) ~[?:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[?:?]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
[2022-08-21T15:52:37,533][INFO ][o.e.n.Node               ] [es-node-3] stopping ...
[2022-08-21T15:52:37,588][INFO ][o.e.n.Node               ] [es-node-3] stopped
[2022-08-21T15:52:37,589][INFO ][o.e.n.Node               ] [es-node-3] closing ...
[2022-08-21T15:52:37,596][INFO ][o.e.n.Node               ] [es-node-3] closed
[2022-08-21T15:52:37,597][INFO ][o.e.x.m.p.NativeController] [es-node-3] Native controller process has stopped - no new native processes can be starte

当我们使用虚拟机克隆后,首先要修改一下配置信息。

1.修改主机名
vim /etc/hostname
2.修改UUID

首先通过uuidgen获取UUID

uuidgen

using bundled jdk:,BUG集合,elasticsearch
将获得UUID复制下来,修改**/etc/sysconfig/network-scripts/ifcfg-ens33中的UUID**属性值

vim /etc/sysconfig/network-scripts/ifcfg-ens33

using bundled jdk:,BUG集合,elasticsearch

3.修改静态IP
vim /etc/sysconfig/network-scripts/ifcfg-ens33

using bundled jdk:,BUG集合,elasticsearch

4.修改hosts文件
vim /etc/hosts

using bundled jdk:,BUG集合,elasticsearch
重启网络服务文章来源地址https://www.toymoban.com/news/detail-516757.html

systemctl restart network.service

到了这里,关于elasticsearch8.x报错解决(VMware虚拟机+CentOS)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • Docker 运行Elasticsearch8.4.0报错FileSystemException

    原因:估计是配置文件的挂载有问题 我的解决方法:docker 启动时先不加配置文件的挂载,就能成功运行 1、地址栏无法访问9200端口 需要在容器内的elasticsearch.yml中加入 2、上述方法配置后,访问9200端口需要输入账号密码 查找了一些解决办法后,需要在容器内的配置文件内配

    2024年02月13日
    浏览(35)
  • elasticsearch8.5.2 报错(SearchPhaseExecutionException: all shards failed)

    一、问题 logstash突然无法对elasticsearch服务进行读写操作了,提示elasticsearch的地址有问题,检测elasticsearch发现端口存在。查看日志发现有报错。 二、问题原因 有一些索引的数据损坏了 三、解决 官网文档:https://www.elastic.co/guide/cn/elasticsearch/guide/cn/_cluster_health.html 1、查看索引

    2024年02月15日
    浏览(56)
  • ElasticSearch8 闪退报错:Elasticsearchjava.nio.file.NoSuchFileException: dt.jar

            今天运行 Elasticsearch 8.x 版本的时候发现报错缺失 dt.jar,但是用 7.x 就不会,查看了一圈,竟然是因为当初在环境变量中配置了 CLASSPATH 导致的,因为现在的高版本 JDK 已经不需要再配置 CLASSPATH 了,如果你曾经跟着旧教程配置过就会这样。         解决方法:直接

    2024年02月05日
    浏览(36)
  • 【经验】VMware|Win11的Ubuntu虚拟机启动虚拟化,报错此平台不支持虚拟化的 Intel VT-x/EPT(方案汇总+自己的解决方案)

    我开虚拟化是为了在虚拟机中运行VirtualBox,如果不开CPU虚拟化,会报错 VBoxManage error: VT-x is not available (VERR_VMX_NO_VMX) 。 参考:VBoxManage error: VT-x is not available (VERR_VMX_NO_VMX) 先装cpu-check,获得kvm-ok指令: 运行下面这个指令检查是否支持KVM: 如果没有启用,会显示(继续第二个步

    2024年02月13日
    浏览(54)
  • Elasticsearch8节点加入集群失败解决方法

    failed to join {cluster-master2}{DDB9zVg8SQ24a0jD7lno2w}{gLNn_SCQTIely-VWU0yOHA}{poc-cluster-master2}………… 在日志里面可以看到,是因为节点之前使用一个UUID加入了集群,现在使用一个新的UUID加入新的集群,这是不允许的。 在 Elasticsearch 集群中,每个节点都有一个唯一的节点标识符,通常被称

    2024年01月21日
    浏览(50)
  • VMware 虚拟机安装 CentOS 7

    CentOS 7 1. 下载CentOS 7 iso镜像 Index of /centos/7.9.2009/isos/x86_64/ 2. Vmware安装CentOS 7 安装教程: 超详细VMware CentOS7(最小安装)安装教程_虚拟机最小化安装-CSDN博客 【精选】VMware 安装 Centos7 详细过程_vm虚拟机安装centos7_expectation Future的博客-CSDN博客 超详细VMware CentOS7(有可视化界面版)

    2024年02月05日
    浏览(90)
  • 最新Elasticsearch8.4.3 + Kibana8.4.3在云服务器Centos7.9安装部署(参考官方文档)

      最近笔者学习Elasticsearch,官方最新稳定版为 Elasticsearch-8.4.3,想在云服务器上Centos7.9搭建。搭建之路坑多路少啊(指网上的博文教程五花八门,基本都是ES7版本居多,ES8有少数,各种配置参数一头雾水,细节不多说,照搬了踩坑跌得头破血流),对小菜的我来说,简直要

    2024年02月02日
    浏览(60)
  • SSH连接vmware 虚拟机 centos

    检查虚拟机设置的网络连接是否为NAT模式 点击左上角“编辑” - “虚拟网络编辑器” 在虚拟网络编辑器中查看IP地址 ,点击NAT模式后,点击“NAT设置 记住自己的网关,下面在服务器中配置需要 进入服务器的 /etc/sysconfig/network-scripts/ 编辑 ifcfg-ens33 原始状态为 修改为 其中 BOO

    2024年02月12日
    浏览(44)
  • vmware虚拟机安装CentOS 7.9

    因为 CentOS8 不更新了,所以安装 7 ;简单就一笔带过了     选择下载好的操作系统的 iso 文件,下载地址 https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/?spm=a2c6h.25603864.0.0.1f90f5adDfcZIZ 和方法为 centos-7.9.2009-isos-x86_64安装包下载_开源镜像站-阿里云 (aliyun.com)                     找到

    2024年04月12日
    浏览(41)
  • VMware虚拟机安装CentOS8详细教程

    CentOS-7-x86_64【Minimal版】 https://mirrors.aliyun.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-2009.iso?spm=a2c6h.25603864.0.0.3cd92d1c9Fl8GO CentOS-8-x86_64【Minimal版】 http://mirrors.aliyun.com/centos/8.5.2111/isos/x86_64/CentOS-8.5.2111-x86_64-boot.iso?spm=a2c6h.25603864.0.0.24d353ba6iRXtS CentOS-9-x86_64 【完整版】 https://mirrors.tuna.

    2024年02月07日
    浏览(42)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包