ElasticSearch下载安装启动详细图解
java學習討論群:725562382
1、下載
訪問官網的下載地址:https://www.elastic.co/downloads/elasticsearch,windows版的下載ZIP格式的。
如果不想下載最新版的,可以點擊“past releases”選擇過去的版本。我這里下載的是6.8.6版本的。
?
?
?
這就是下載好的linux版本,將他上傳到linux
?
2,這里我將下載下來的tar包上傳至??/usr/local/software/? ?路徑下
3,解壓縮
這里我將tar包解壓縮到? ? /usr/local/java/? ? ? ? ?目錄下?
解壓縮: tar -zxvf elasticsearch-6.8.6.tar.gz -C /usr/local/java/修改elasticsearch.yml
修改elasticsearch.yml? ? ?配置文件為遠程訪問IP和端口? ? cd?/usr/local/java/elasticsearch-6.8.6/config? vim?elasticsearch.yml?
4,啟動
這里這安裝好了嗎?我們試試能不能啟動
進入bin目錄: /usr/local/java/elasticsearch-6.8.6/bin 啟動: ./elasticsearch看見如下被自動killed
原因是因為:
查看日志也沒有錯誤。
后來發現是內存不夠了,由于ES是運行在JVM上,JVM本身除了分配的heap內存以外,還會用到一些堆外(off heap)內存。 在小內存的機器上跑ES,如果heap劃分過多,累加上堆外內存后,總的JVM使用內存量可能超過物理內存限制。 如果swap又是關閉的情況下,就會被操作系統oom killer殺掉。
修改ES中config目錄下的jvm.options文件
找到問題了我們調整了jvm之后重新啟動
網上找了資料解決方案;
繼續按網上的解決方案再次啟動還是報錯?
從日志看出我們不能用root啟動,那需要新建一個用戶組和用戶專屬EslasticSearch的,那我們就開始新建組合用戶
[root@backup01 bin]# groupadd esgroup [root@backup01 bin]# useradd esuser -g esgroup -p 123456修改?elasticsearch-6.8.6? ? 所屬組以及用戶? chown -R esuser:esgroup elasticsearch-6.8.6?
切換es的專屬用戶重新啟動
啟動日志如下:
[root@backup01 bin]# su esuser [esuser@backup01 bin]$ ./elasticsearch [2019-12-25T21:20:55,797][INFO ][o.e.e.NodeEnvironment ] [XF1iu6t] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [25.4gb], net total_space [39.9gb], types [rootfs] [2019-12-25T21:20:55,801][INFO ][o.e.e.NodeEnvironment ] [XF1iu6t] heap size [503.6mb], compressed ordinary object pointers [true] [2019-12-25T21:20:55,802][INFO ][o.e.n.Node ] [XF1iu6t] node name derived from node ID [XF1iu6tZTT2SyUnPu6Ud2A]; set [node.name] to override [2019-12-25T21:20:55,802][INFO ][o.e.n.Node ] [XF1iu6t] version[6.8.6], pid[27766], build[default/tar/3d9f765/2019-12-13T17:11:52.013738Z], OS[Linux/3.10.0-862.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_172/25.172-b11] [2019-12-25T21:20:55,802][INFO ][o.e.n.Node ] [XF1iu6t] JVM arguments [-Xms512m, -Xmx512m, -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, -Djava.io.tmpdir=/tmp/elasticsearch-3305798114182502653, -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=/usr/local/java/elasticsearch-6.8.6, -Des.path.conf=/usr/local/java/elasticsearch-6.8.6/config, -Des.distribution.flavor=default, -Des.distribution.type=tar] [2019-12-25T21:21:01,240][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [aggs-matrix-stats] [2019-12-25T21:21:01,242][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [analysis-common] [2019-12-25T21:21:01,242][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-common] [2019-12-25T21:21:01,242][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-geoip] [2019-12-25T21:21:01,242][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-user-agent] [2019-12-25T21:21:01,242][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-expression] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-mustache] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-painless] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [mapper-extras] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [parent-join] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [percolator] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [rank-eval] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [reindex] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [repository-url] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [transport-netty4] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [tribe] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ccr] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-core] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-deprecation] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-graph] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ilm] [2019-12-25T21:21:01,243][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-logstash] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ml] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-monitoring] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-rollup] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-security] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-sql] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-upgrade] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-watcher] [2019-12-25T21:21:01,244][INFO ][o.e.p.PluginsService ] [XF1iu6t] no plugins loaded [2019-12-25T21:21:10,294][INFO ][o.e.x.s.a.s.FileRolesStore] [XF1iu6t] parsed [0] roles from file [/usr/local/java/elasticsearch-6.8.6/config/roles.yml] [2019-12-25T21:21:12,397][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [XF1iu6t] [controller/27821] [Main.cc@109] controller (64 bit): Version 6.8.6 (Build 73ed602c10c48e) Copyright (c) 2019 Elasticsearch BV [2019-12-25T21:21:13,156][DEBUG][o.e.a.ActionModule ] [XF1iu6t] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security [2019-12-25T21:21:13,581][INFO ][o.e.d.DiscoveryModule ] [XF1iu6t] using discovery type [zen] and host providers [settings] [2019-12-25T21:21:15,038][INFO ][o.e.n.Node ] [XF1iu6t] initialized [2019-12-25T21:21:15,038][INFO ][o.e.n.Node ] [XF1iu6t] starting ... [2019-12-25T21:21:15,674][INFO ][o.e.t.TransportService ] [XF1iu6t] publish_address {192.168.0.120:9300}, bound_addresses {192.168.0.120:9300} [2019-12-25T21:21:15,707][INFO ][o.e.b.BootstrapChecks ] [XF1iu6t] bound or publishing to a non-loopback address, enforcing bootstrap checks ERROR: [3] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] [2]: max number of threads [3764] for user [esuser] is too low, increase to at least [4096] [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] [2019-12-25T21:21:15,725][INFO ][o.e.n.Node ] [XF1iu6t] stopping ... [2019-12-25T21:21:15,750][INFO ][o.e.n.Node ] [XF1iu6t] stopped [2019-12-25T21:21:15,750][INFO ][o.e.n.Node ] [XF1iu6t] closing ... [2019-12-25T21:21:15,790][INFO ][o.e.n.Node ] [XF1iu6t] closed [2019-12-25T21:21:15,793][INFO ][o.e.x.m.p.NativeController] [XF1iu6t] Native controller process has stopped - no new native processes can be started [esuser@backup01 bin]$通過查看日志我們發現了ERROR
?
切換到root修改配置文件
錯誤[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[esuser@backup01 bin]$ su root Password: [root@backup01 bin]# vim /etc/security/limits.conf [root@backup01 bin]#?
* soft nofile 65536
* hard nofile 65536
* soft nproc 4096
* hard nproc 4096
* 表示通配符?這里可以使用es的專屬用戶
esuser soft nofile 65536
esuser hard nofile 65536
esuser soft nproc 4096
esuser hard nproc 4096
?
錯誤[2]:max number of threads [3764] for user [esuser] is too low, increase to at least [4096]
修改? ? 修改XX-nproc.conf? (不同機器XX不一樣,可先到?cd /etc/security/limits.d/?查看下)
vim 20-nproc.conf* 表示通配符?這里可以使用es的專屬用戶
* ? ? ? ? ?soft ? ?nproc ? ? 4096? ? 可以改為? ?esuser? ? ? ? ? soft ? ?nproc ? ? 4096
?
錯誤[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
編輯 vim /etc/sysctl.conf,追加以下內容: vm.max_map_count=655360 保存后,執行:sysctl -p重新啟動:
[root@backup01 limits.d]# su esuser [esuser@backup01 limits.d]$ cd /usr/local/java/elasticsearch-6.8.6/bin/ [esuser@backup01 bin]$ ./elasticsearch [2019-12-25T21:55:16,315][INFO ][o.e.e.NodeEnvironment ] [XF1iu6t] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [25.4gb], net total_space [39.9gb], types [rootfs] [2019-12-25T21:55:16,331][INFO ][o.e.e.NodeEnvironment ] [XF1iu6t] heap size [503.6mb], compressed ordinary object pointers [true] [2019-12-25T21:55:16,334][INFO ][o.e.n.Node ] [XF1iu6t] node name derived from node ID [XF1iu6tZTT2SyUnPu6Ud2A]; set [node.name] to override [2019-12-25T21:55:16,334][INFO ][o.e.n.Node ] [XF1iu6t] version[6.8.6], pid[34499], build[default/tar/3d9f765/2019-12-13T17:11:52.013738Z], OS[Linux/3.10.0-862.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_172/25.172-b11] [2019-12-25T21:55:16,334][INFO ][o.e.n.Node ] [XF1iu6t] JVM arguments [-Xms512m, -Xmx512m, -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, -Djava.io.tmpdir=/tmp/elasticsearch-534418274257154579, -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=/usr/local/java/elasticsearch-6.8.6, -Des.path.conf=/usr/local/java/elasticsearch-6.8.6/config, -Des.distribution.flavor=default, -Des.distribution.type=tar] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [aggs-matrix-stats] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [analysis-common] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-common] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-geoip] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [ingest-user-agent] [2019-12-25T21:55:21,978][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-expression] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-mustache] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [lang-painless] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [mapper-extras] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [parent-join] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [percolator] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [rank-eval] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [reindex] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [repository-url] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [transport-netty4] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [tribe] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ccr] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-core] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-deprecation] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-graph] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ilm] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-logstash] [2019-12-25T21:55:21,979][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-ml] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-monitoring] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-rollup] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-security] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-sql] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-upgrade] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] loaded module [x-pack-watcher] [2019-12-25T21:55:21,980][INFO ][o.e.p.PluginsService ] [XF1iu6t] no plugins loaded [2019-12-25T21:55:31,445][INFO ][o.e.x.s.a.s.FileRolesStore] [XF1iu6t] parsed [0] roles from file [/usr/local/java/elasticsearch-6.8.6/config/roles.yml] [2019-12-25T21:55:32,907][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [XF1iu6t] [controller/34621] [Main.cc@109] controller (64 bit): Version 6.8.6 (Build 73ed602c10c48e) Copyright (c) 2019 Elasticsearch BV [2019-12-25T21:55:34,315][DEBUG][o.e.a.ActionModule ] [XF1iu6t] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security [2019-12-25T21:55:34,776][INFO ][o.e.d.DiscoveryModule ] [XF1iu6t] using discovery type [zen] and host providers [settings] [2019-12-25T21:55:36,750][INFO ][o.e.n.Node ] [XF1iu6t] initialized [2019-12-25T21:55:36,750][INFO ][o.e.n.Node ] [XF1iu6t] starting ... [2019-12-25T21:55:37,242][INFO ][o.e.t.TransportService ] [XF1iu6t] publish_address {192.168.0.120:9300}, bound_addresses {192.168.0.120:9300} [2019-12-25T21:55:37,265][INFO ][o.e.b.BootstrapChecks ] [XF1iu6t] bound or publishing to a non-loopback address, enforcing bootstrap checks [2019-12-25T21:55:40,380][INFO ][o.e.c.s.MasterService ] [XF1iu6t] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {XF1iu6t}{XF1iu6tZTT2SyUnPu6Ud2A}{d6YuCsV-Q32oZ5ECprc-Lg}{192.168.0.120}{192.168.0.120:9300}{ml.machine_memory=1021906944, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} [2019-12-25T21:55:40,385][INFO ][o.e.c.s.ClusterApplierService] [XF1iu6t] new_master {XF1iu6t}{XF1iu6tZTT2SyUnPu6Ud2A}{d6YuCsV-Q32oZ5ECprc-Lg}{192.168.0.120}{192.168.0.120:9300}{ml.machine_memory=1021906944, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {XF1iu6t}{XF1iu6tZTT2SyUnPu6Ud2A}{d6YuCsV-Q32oZ5ECprc-Lg}{192.168.0.120}{192.168.0.120:9300}{ml.machine_memory=1021906944, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]]) [2019-12-25T21:55:40,508][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [XF1iu6t] Failed to clear cache for realms [[]] [2019-12-25T21:55:40,539][INFO ][o.e.h.n.Netty4HttpServerTransport] [XF1iu6t] publish_address {192.168.0.120:9200}, bound_addresses {192.168.0.120:9200} [2019-12-25T21:55:40,539][INFO ][o.e.n.Node ] [XF1iu6t] started [2019-12-25T21:55:40,625][INFO ][o.e.g.GatewayService ] [XF1iu6t] recovered [0] indices into cluster_state [2019-12-25T21:55:41,115][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.triggered_watches] for index patterns [.triggered_watches*] [2019-12-25T21:55:41,269][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.watch-history-9] for index patterns [.watcher-history-9*] [2019-12-25T21:55:41,311][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.watches] for index patterns [.watches*] [2019-12-25T21:55:41,381][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.monitoring-logstash] for index patterns [.monitoring-logstash-6-*] [2019-12-25T21:55:41,605][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.monitoring-es] for index patterns [.monitoring-es-6-*] [2019-12-25T21:55:41,661][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.monitoring-beats] for index patterns [.monitoring-beats-6-*] [2019-12-25T21:55:41,710][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.monitoring-alerts] for index patterns [.monitoring-alerts-6] [2019-12-25T21:55:41,757][INFO ][o.e.c.m.MetaDataIndexTemplateService] [XF1iu6t] adding template [.monitoring-kibana] for index patterns [.monitoring-kibana-6-*] [2019-12-25T21:55:41,969][INFO ][o.e.l.LicenseService ] [XF1iu6t] license [90241c6a-de4a-4bc7-93a5-4e0f5b0baedf] mode [basic] - valid啟動成功,我們知道ES是restful的那就用curl命令測試下是否真費成功,當我們看見下的信息說明已經成功
?
?
注意:ElasticSearch啟動可以后臺啟動,我上面是前臺啟動,后臺啟動只需要加上? -d? ??
同樣是可以啟動成功的
?
前面我們也是配置了windows遠程IP訪問(elasticsearch.yml這個配置文件修改為了ip:192.168.0.120? ? ?端口號:http?prot 9200)我們也可以同過windows進行ip+端口的方式訪問
?
?
總結
以上是生活随笔為你收集整理的ElasticSearch下载安装启动详细图解的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 机器学习基础笔记总结
- 下一篇: STM32开发 -- Systick定时