Ubuntu环境部署单节点ElasticSearch实战案例
作者:尹正杰
版权声明:原创作品,谢绝转载!否则将追究法律责任。
一.准备环境
1>.环境说明
[root@es101.yinzhengjie.com ~]# cat /etc/issue Ubuntu 18.04.3 LTS \n \l [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# uname -r 4.15.0-55-generic [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# uname -m x86_64 [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# free -h total used free shared buff/cache available Mem: 3.8G 202M 2.3G 1.4M 1.3G 3.4G Swap: 3.8G 0B 3.8G [root@es101.yinzhengjie.com ~]#
2>.安装JDK
[root@es101.yinzhengjie.com ~]# ls #将下载的JDK上传到服务器 jdk-8u201-linux-x64.tar.gz [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# mkdir -pv /yinzhengjie/softwares mkdir: created directory '/yinzhengjie/softwares' [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# tar -zxf jdk-8u201-linux-x64.tar.gz -C /yinzhengjie/softwares/ [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# ll /yinzhengjie/softwares/ total 0 drwxr-xr-x 3 root root 26 Jun 3 01:04 ./ drwxr-xr-x 3 root root 23 Jun 3 01:04 ../ drwxr-xr-x 7 uucp 143 245 Dec 15 2018 jdk1.8.0_201/ [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# vim /etc/profile.d/jdk.sh [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# cat /etc/profile.d/jdk.sh #配置环JDK环境变量 #!/bin/bash export JAVA_HOME=/yinzhengjie/softwares/jdk1.8.0_201 export JRE_HOME=$JAVA_HOME/jre export CLASSPATH=.:$JAVA_HOME/LIB:$JRE_HOME/LIB:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# source /etc/profile.d/jdk.sh #使环境变量生效 [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# java -version #验证JDK环境是否配置成功,如果有以下的输出信息说明咱们配置成功啦~ java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode) [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# ln -sv /yinzhengjie/softwares/jdk1.8.0_201/bin/java /usr/local/bin/java #一定要创建该符号链接,否则一会启动Elasticsearch将会失败 '/usr/local/bin/java' -> '/yinzhengjie/softwares/jdk1.8.0_201/bin/java' [root@es101.yinzhengjie.com ~]#
3>.下载Elasticsearch软件包
博主推荐阅读: https://www.cnblogs.com/yinzhengjie2020/p/12934518.html
二.部署Elasticsearch
1>.将下载的Elasticsearch上传到服务器
[root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# ls elasticsearch-6.8.9.deb jdk-8u201-linux-x64.tar.gz [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# dpkg -c elasticsearch-6.8.9.deb drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/bin/ -rwxr-xr-x root/root 1777 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch -rwxr-xr-x root/root 172 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-plugin -rwxr-xr-x root/root 118 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-shard -rwxr-xr-x root/root 121 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-keystore -rwxr-xr-x root/root 2189 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-env -rwxr-xr-x root/root 984 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-cli -rwxr-xr-x root/root 124 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-translog -rwxr-xr-x root/root 438 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-setup-passwords -rwxr-xr-x root/root 354 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-security-env -rwxr-xr-x root/root 431 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-saml-metadata -rwxr-xr-x root/root 548 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-syskeygen.bat -rwxr-xr-x root/root 483 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-certutil -rwxr-xr-x root/root 303 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-env.bat -rwxr-xr-x root/root 613 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-certgen.bat -rwxr-xr-x root/root 306 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-env -rwxr-xr-x root/root 307 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-security-env.bat -rwxr-xr-x root/root 306 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-watcher-env.bat -rwxr-xr-x root/root 491 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-certgen -rwxr-xr-x root/root 18208246 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-sql-cli-6.8.9.jar -rwxr-xr-x root/root 426 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-syskeygen -rwxr-xr-x root/root 560 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-setup-passwords.bat -rwxr-xr-x root/root 433 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-croneval drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/ -rwxr-xr-x root/root 520 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/setup-passwords -rwxr-xr-x root/root 682 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/setup-passwords.bat -rwxr-xr-x root/root 508 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/syskeygen -rwxr-xr-x root/root 516 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/saml-metadata -rwxr-xr-x root/root 504 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/certgen -rwxr-xr-x root/root 668 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/croneval.bat -rwxr-xr-x root/root 670 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/syskeygen.bat -rwxr-xr-x root/root 678 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/saml-metadata.bat -rwxr-xr-x root/root 500 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/users -rwxr-xr-x root/root 666 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/sql-cli.bat -rwxr-xr-x root/root 504 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/migrate -rwxr-xr-x root/root 666 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/certgen.bat -rwxr-xr-x root/root 666 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/migrate.bat -rwxr-xr-x root/root 506 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/certutil -rwxr-xr-x root/root 506 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/croneval -rwxr-xr-x root/root 668 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/certutil.bat -rwxr-xr-x root/root 662 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/users.bat -rwxr-xr-x root/root 504 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack/sql-cli -rwxr-xr-x root/root 353 2020-05-04 17:13 ./usr/share/elasticsearch/bin/x-pack-watcher-env -rwxr-xr-x root/root 649 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-sql-cli.bat -rwxr-xr-x root/root 548 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-users.bat -rwxr-xr-x root/root 555 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-croneval.bat -rwxr-xr-x root/root 440 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-migrate -rwxr-xr-x root/root 605 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-certutil.bat -rwxr-xr-x root/root 562 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-migrate.bat -rwxr-xr-x root/root 427 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-sql-cli -rwxr-xr-x root/root 426 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-users -rwxr-xr-x root/root 553 2020-05-04 17:13 ./usr/share/elasticsearch/bin/elasticsearch-saml-metadata.bat -rw-r--r-- root/root 8534 2020-05-04 17:13 ./usr/share/elasticsearch/README.textile drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/lib/ -rw-r--r-- root/root 10715324 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-6.8.9.jar -rw-r--r-- root/root 118611 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-x-content-6.8.9.jar -rw-r--r-- root/root 16037 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-cli-6.8.9.jar -rw-r--r-- root/root 37083 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-core-6.8.9.jar -rw-r--r-- root/root 10876 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-secure-sm-6.8.9.jar -rw-r--r-- root/root 3089727 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-core-7.7.3.jar -rw-r--r-- root/root 1664759 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-analyzers-common-7.7.3.jar -rw-r--r-- root/root 100039 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-backward-codecs-7.7.3.jar -rw-r--r-- root/root 87265 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-grouping-7.7.3.jar -rw-r--r-- root/root 207353 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-highlighter-7.7.3.jar -rw-r--r-- root/root 145974 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-join-7.7.3.jar -rw-r--r-- root/root 51507 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-memory-7.7.3.jar -rw-r--r-- root/root 95435 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-misc-7.7.3.jar -rw-r--r-- root/root 265142 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-queries-7.7.3.jar -rw-r--r-- root/root 381935 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-queryparser-7.7.3.jar -rw-r--r-- root/root 279670 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-sandbox-7.7.3.jar -rw-r--r-- root/root 14492 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-spatial-7.7.3.jar -rw-r--r-- root/root 236638 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-spatial-extras-7.7.3.jar -rw-r--r-- root/root 306269 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-spatial3d-7.7.3.jar -rw-r--r-- root/root 245700 2020-05-04 17:13 ./usr/share/elasticsearch/lib/lucene-suggest-7.7.3.jar -rw-r--r-- root/root 1140290 2020-05-04 17:13 ./usr/share/elasticsearch/lib/hppc-0.7.1.jar -rw-r--r-- root/root 640724 2020-05-04 17:13 ./usr/share/elasticsearch/lib/joda-time-2.10.1.jar -rw-r--r-- root/root 51208 2020-05-04 17:13 ./usr/share/elasticsearch/lib/t-digest-3.2.jar -rw-r--r-- root/root 114165 2020-05-04 17:13 ./usr/share/elasticsearch/lib/HdrHistogram-2.1.9.jar -rw-r--r-- root/root 204833 2020-05-04 17:13 ./usr/share/elasticsearch/lib/spatial4j-0.7.jar -rw-r--r-- root/root 797736 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jts-core-1.15.0.jar -rw-r--r-- root/root 264060 2020-05-04 17:13 ./usr/share/elasticsearch/lib/log4j-api-2.11.1.jar -rw-r--r-- root/root 1607947 2020-05-04 17:13 ./usr/share/elasticsearch/lib/log4j-core-2.11.1.jar -rw-r--r-- root/root 63731 2020-05-04 17:13 ./usr/share/elasticsearch/lib/log4j-1.2-api-2.11.1.jar -rw-r--r-- root/root 885297 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jna-4.5.1.jar -rw-r--r-- root/root 273599 2020-05-04 17:13 ./usr/share/elasticsearch/lib/snakeyaml-1.17.jar -rw-r--r-- root/root 282633 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jackson-core-2.8.11.jar -rw-r--r-- root/root 73890 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jackson-dataformat-smile-2.8.11.jar -rw-r--r-- root/root 40879 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jackson-dataformat-yaml-2.8.11.jar -rw-r--r-- root/root 50729 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jackson-dataformat-cbor-2.8.11.jar -rw-r--r-- root/root 78074 2020-05-04 17:13 ./usr/share/elasticsearch/lib/jopt-simple-5.0.2.jar -rw-r--r-- root/root 6513 2020-05-04 17:13 ./usr/share/elasticsearch/lib/plugin-classloader-6.8.9.jar -rw-r--r-- root/root 8667 2020-05-04 17:13 ./usr/share/elasticsearch/lib/java-version-checker-6.8.9.jar -rw-r--r-- root/root 13061 2020-05-04 17:13 ./usr/share/elasticsearch/lib/elasticsearch-launchers-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/plugin-cli/ -rw-r--r-- root/root 33726 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/plugin-cli/elasticsearch-plugin-cli-6.8.9.jar -rw-r--r-- root/root 329081 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/plugin-cli/bcpg-jdk15on-1.64.jar -rw-r--r-- root/root 4771726 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/plugin-cli/bcprov-jdk15on-1.64.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/security-cli/ -rw-r--r-- root/root 67429 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/security-cli/elasticsearch-security-cli-6.8.9.jar -rw-r--r-- root/root 878038 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/security-cli/bcpkix-jdk15on-1.64.jar -rw-r--r-- root/root 4771726 2020-05-04 17:13 ./usr/share/elasticsearch/lib/tools/security-cli/bcprov-jdk15on-1.64.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/ -rw-r--r-- root/root 586829 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-common-4.1.32.Final.jar -rw-r--r-- root/root 32800 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-resolver-4.1.32.Final.jar -rw-r--r-- root/root 81905 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/transport-netty4-client-6.8.9.jar -rw-r--r-- root/root 463581 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-transport-4.1.32.Final.jar -rw-r--r-- root/root 420485 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-handler-4.1.32.Final.jar -rw-r--r-- root/root 1593 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/plugin-security.policy -rw-r--r-- root/root 316671 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-codec-4.1.32.Final.jar -rw-r--r-- root/root 1450 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/plugin-descriptor.properties -rw-r--r-- root/root 277778 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-buffer-4.1.32.Final.jar -rw-r--r-- root/root 563215 2020-05-04 17:13 ./usr/share/elasticsearch/modules/transport-netty4/netty-codec-http-4.1.32.Final.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/ -rw-r--r-- root/root 387750 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/asm-debug-all-5.1.jar -rw-r--r-- root/root 15522 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/elasticsearch-scripting-painless-spi-6.8.9.jar -rw-r--r-- root/root 513396 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/lang-painless-6.8.9.jar -rw-r--r-- root/root 302248 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/antlr4-runtime-4.5.3.jar -rw-r--r-- root/root 1032 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/plugin-security.policy -rw-r--r-- root/root 1469 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-painless/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/NOTICE.txt -rw-r--r-- root/root 59197 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/aggs-matrix-stats-client-6.8.9.jar -rw-r--r-- root/root 28200 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/sql-proto-6.8.9.jar -rw-r--r-- root/root 35432 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/sql-action-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/LICENSE.txt -rw-r--r-- root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/plugin-security.policy -rw-r--r-- root/root 1362453 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/x-pack-sql-6.8.9.jar -rw-r--r-- root/root 1493 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-sql/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/NOTICE.txt -rw-r--r-- root/root 39647 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/x-pack-deprecation-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/LICENSE.txt -rw-r--r-- root/root 1045 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/plugin-security.policy -rw-r--r-- root/root 1480 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-deprecation/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/ -rw-r--r-- root/root 189961 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/joni-2.1.6.jar -rw-r--r-- root/root 134203 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/NOTICE.txt -rw-r--r-- root/root 1512807 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/jcodings-1.0.12.jar -rw-r--r-- root/root 1175276 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/x-pack-ml-6.8.9.jar -rw-r--r-- root/root 32079 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/elasticsearch-grok-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/LICENSE.txt -rw-r--r-- root/root 1170 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/plugin-security.policy -rw-r--r-- root/root 1484 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/plugin-descriptor.properties -rw-r--r-- root/root 98092 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/super-csv-2.4.0.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/ -rwxr-xr-x root/root 1304064 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libxml2.dll -rwxr-xr-x root/root 253952 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libaprutil-1.dll -rwxr-xr-x root/root 963232 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/msvcr120.dll -rwxr-xr-x root/root 28672 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_chrono-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 1292288 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libMlApi.dll -rwxr-xr-x root/root 431616 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/autodetect.exe -rwxr-xr-x root/root 335872 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/controller.exe -rwxr-xr-x root/root 963072 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_regex-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 124928 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_filesystem-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 343552 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/autoconfig.exe -rwxr-xr-x root/root 103936 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_thread-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 78336 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/zlib1.dll -rwxr-xr-x root/root 1694720 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/log4cxx.dll -rwxr-xr-x root/root 19456 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_system-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 999936 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libMlConfig.dll -rwxr-xr-x root/root 450048 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_program_options-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 1313792 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libMlCore.dll -rwxr-xr-x root/root 33792 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libapriconv-1.dll -rwxr-xr-x root/root 5372416 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libMlMaths.dll -rwxr-xr-x root/root 51200 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_date_time-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 179712 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libapr-1.dll -rwxr-xr-x root/root 73728 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/boost_iostreams-vc120-mt-1_65_1.dll -rwxr-xr-x root/root 4578816 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/libMlModel.dll -rwxr-xr-x root/root 411136 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/categorize.exe -rwxr-xr-x root/root 660128 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/msvcp120.dll -rwxr-xr-x root/root 364544 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/bin/normalize.exe drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/resources/ -rw-r--r-- root/root 888327 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/resources/ml-en.dict -rw-r--r-- root/root 36071 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/windows-x86_64/resources/date_time_zonespec.csv drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/ -rw-r--r-- root/root 724 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/Info.plist drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/Resources/ -rw-r--r-- root/root 888327 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/Resources/ml-en.dict drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/ -rwxr-xr-x root/root 225264 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/categorize -rwxr-xr-x root/root 259608 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/autodetect -rwxr-xr-x root/root 154788 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/normalize -rwxr-xr-x root/root 107332 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/controller -rwxr-xr-x root/root 146276 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/MacOS/autoconfig drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/ -rw-r--r-- root/root 933936 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_regex-clang-darwin42-mt-1_65_1.dylib -rw-r--r-- root/root 1759380 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/liblog4cxx.10.dylib -rw-r--r-- root/root 91988 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_filesystem-clang-darwin42-mt-1_65_1.d ylib-rw-r--r-- root/root 19868 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_system-clang-darwin42-mt-1_65_1.dylib -rw-r--r-- root/root 786744 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libMlConfig.dylib -rw-r--r-- root/root 1232800 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libMlApi.dylib -rw-r--r-- root/root 105108 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_thread-clang-darwin42-mt-1_65_1.dylib -rw-r--r-- root/root 6202580 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libMlMaths.dylib -rw-r--r-- root/root 367548 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_program_options-clang-darwin42-mt-1_6 5_1.dylib-rw-r--r-- root/root 5203608 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libMlModel.dylib -rw-r--r-- root/root 91944 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_iostreams-clang-darwin42-mt-1_65_1.dy lib-rw-r--r-- root/root 41040 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libboost_date_time-clang-darwin42-mt-1_65_1.dy lib-rw-r--r-- root/root 1096540 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/darwin-x86_64/controller.app/Contents/lib/libMlCore.dylib drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/ -rwxr-xr-x root/root 211312 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/categorize -rwxr-xr-x root/root 231792 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/autodetect -rwxr-xr-x root/root 137584 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/normalize -rwxr-xr-x root/root 84352 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/controller -rwxr-xr-x root/root 129392 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/bin/autoconfig drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/ -rw-r--r-- root/root 529768 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_program_options-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 879256 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libMlConfig.so -rw-r--r-- root/root 87920 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_iostreams-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 160448 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libaprutil-1.so.0 -rw-r--r-- root/root 1989944 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/liblog4cxx.so.10 -rw-r--r-- root/root 4406376 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libMlModel.so -rw-r--r-- root/root 224368 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libapr-1.so.0 -rw-r--r-- root/root 5910848 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libMlMaths.so -rw-r--r-- root/root 1252984 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libMlCore.so -rw-r--r-- root/root 1015056 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_regex-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 178216 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libexpat.so.0 -rw-r--r-- root/root 1239824 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libMlApi.so -rw-r--r-- root/root 1732696 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libstdc++.so.6 -rw-r--r-- root/root 95024 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libgcc_s.so.1 -rw-r--r-- root/root 71512 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_date_time-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 173504 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_thread-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 1543424 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libxml2.so.2 -rw-r--r-- root/root 16352 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_system-gcc62-mt-1_65_1.so.1.65.1 -rw-r--r-- root/root 111568 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/lib/libboost_filesystem-gcc62-mt-1_65_1.so.1.65.1 drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/resources/ -rw-r--r-- root/root 888327 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/resources/ml-en.dict -rw-r--r-- root/root 12370975 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ml/icu4j-62.1.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ilm/ -rw-r--r-- root/root 106207 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ilm/x-pack-ilm-6.8.9.jar -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ilm/NOTICE.txt -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ilm/LICENSE.txt -rw-r--r-- root/root 1493 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ilm/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/ -rw-r--r-- root/root 81266 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/NOTICE.txt -rw-r--r-- root/root 127456 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/owasp-java-html-sanitizer-r239.jar -rw-r--r-- root/root 2228009 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/guava-16.0.1.jar -rw-r--r-- root/root 69409 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/activation-1.1.1.jar -rw-r--r-- root/root 659031 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/javax.mail-1.6.2.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/LICENSE.txt -rw-r--r-- root/root 1613 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/plugin-security.policy -rw-r--r-- root/root 1464 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/plugin-descriptor.properties -rw-r--r-- root/root 801796 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-watcher/x-pack-watcher-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/NOTICE.txt -rw-r--r-- root/root 279124 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/x-pack-ccr-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/LICENSE.txt -rw-r--r-- root/root 135 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/plugin-security.policy -rw-r--r-- root/root 1448 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-ccr/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/tribe/ -rw-r--r-- root/root 28033 2020-05-04 17:13 ./usr/share/elasticsearch/modules/tribe/tribe-6.8.9.jar -rw-r--r-- root/root 1408 2020-05-04 17:13 ./usr/share/elasticsearch/modules/tribe/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/NOTICE.txt -rw-r--r-- root/root 34140 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/x-pack-graph-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/LICENSE.txt -rw-r--r-- root/root 1045 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/plugin-security.policy -rw-r--r-- root/root 1456 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-graph/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/NOTICE.txt -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/LICENSE.txt -rw-r--r-- root/root 126316 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/x-pack-rollup-6.8.9.jar -rw-r--r-- root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/plugin-security.policy -rw-r--r-- root/root 1460 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-rollup/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/parent-join/ -rw-r--r-- root/root 87447 2020-05-04 17:13 ./usr/share/elasticsearch/modules/parent-join/parent-join-client-6.8.9.jar -rw-r--r-- root/root 1472 2020-05-04 17:13 ./usr/share/elasticsearch/modules/parent-join/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/ -rw-r--r-- root/root 51875 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/lang-expression-6.8.9.jar -rw-r--r-- root/root 41796 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar -rw-r--r-- root/root 302034 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar -rw-r--r-- root/root 73639 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/lucene-expressions-7.7.3.jar -rw-r--r-- root/root 29050 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar -rw-r--r-- root/root 1474 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/plugin-security.policy -rw-r--r-- root/root 1471 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/plugin-descriptor.properties -rw-r--r-- root/root 53297 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-expression/asm-5.0.4.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/ -rw-r--r-- root/root 189961 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/joni-2.1.6.jar -rw-r--r-- root/root 1512807 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/jcodings-1.0.12.jar -rw-r--r-- root/root 104990 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/ingest-common-6.8.9.jar -rw-r--r-- root/root 32079 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/elasticsearch-grok-6.8.9.jar -rw-r--r-- root/root 1553 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/plugin-descriptor.properties -rw-r--r-- root/root 24464 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-common/elasticsearch-dissect-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/ -rw-r--r-- root/root 52679 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/elasticsearch-ssl-config-6.8.9.jar -rw-r--r-- root/root 736658 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/httpclient-4.5.2.jar -rw-r--r-- root/root 62050 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/commons-logging-1.1.3.jar -rw-r--r-- root/root 356201 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/httpcore-nio-4.4.5.jar -rw-r--r-- root/root 284184 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/commons-codec-1.10.jar -rw-r--r-- root/root 1280 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/plugin-security.policy -rw-r--r-- root/root 177112 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/httpasyncclient-4.1.2.jar -rw-r--r-- root/root 1503 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/plugin-descriptor.properties -rw-r--r-- root/root 115990 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/reindex-client-6.8.9.jar -rw-r--r-- root/root 327373 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/httpcore-4.4.5.jar -rw-r--r-- root/root 65422 2020-05-04 17:13 ./usr/share/elasticsearch/modules/reindex/elasticsearch-rest-client-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/aggs-matrix-stats/ -rw-r--r-- root/root 59197 2020-05-04 17:13 ./usr/share/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-client-6.8.9.jar -rw-r--r-- root/root 1529 2020-05-04 17:13 ./usr/share/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/repository-url/ -rw-r--r-- root/root 14479 2020-05-04 17:13 ./usr/share/elasticsearch/modules/repository-url/repository-url-6.8.9.jar -rw-r--r-- root/root 856 2020-05-04 17:13 ./usr/share/elasticsearch/modules/repository-url/plugin-security.policy -rw-r--r-- root/root 1454 2020-05-04 17:13 ./usr/share/elasticsearch/modules/repository-url/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/NOTICE.txt -rw-r--r-- root/root 10026 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/x-pack-logstash-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/LICENSE.txt -rw-r--r-- root/root 1046 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/plugin-security.policy -rw-r--r-- root/root 1468 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-logstash/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/ -rw-r--r-- root/root 26471 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/ingest-geoip-6.8.9.jar -rw-r--r-- root/root 55786 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/jackson-annotations-2.8.11.jar -rw-r--r-- root/root 21693 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/maxmind-db-1.2.2.jar -rw-r--r-- root/root 6173457 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/GeoLite2-ASN.mmdb -rw-r--r-- root/root 1243961 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/jackson-databind-2.8.11.6.jar -rw-r--r-- root/root 1461 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/plugin-security.policy -rw-r--r-- root/root 57784030 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/GeoLite2-City.mmdb -rw-r--r-- root/root 3428908 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/GeoLite2-Country.mmdb -rw-r--r-- root/root 44701 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/geoip2-2.9.0.jar -rw-r--r-- root/root 1511 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-geoip/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/mapper-extras/ -rw-r--r-- root/root 1445 2020-05-04 17:13 ./usr/share/elasticsearch/modules/mapper-extras/plugin-descriptor.properties -rw-r--r-- root/root 30290 2020-05-04 17:13 ./usr/share/elasticsearch/modules/mapper-extras/mapper-extras-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-mustache/ -rw-r--r-- root/root 61575 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-mustache/lang-mustache-client-6.8.9.jar -rw-r--r-- root/root 99939 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-mustache/compiler-0.9.3.jar -rw-r--r-- root/root 902 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-mustache/plugin-security.policy -rw-r--r-- root/root 1465 2020-05-04 17:13 ./usr/share/elasticsearch/modules/lang-mustache/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/percolator/ -rw-r--r-- root/root 74167 2020-05-04 17:13 ./usr/share/elasticsearch/modules/percolator/percolator-client-6.8.9.jar -rw-r--r-- root/root 1509 2020-05-04 17:13 ./usr/share/elasticsearch/modules/percolator/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/analysis-common/ -rw-r--r-- root/root 183824 2020-05-04 17:13 ./usr/share/elasticsearch/modules/analysis-common/analysis-common-6.8.9.jar -rw-r--r-- root/root 1481 2020-05-04 17:13 ./usr/share/elasticsearch/modules/analysis-common/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/NOTICE.txt -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/LICENSE.txt -rw-r--r-- root/root 1045 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/plugin-security.policy -rw-r--r-- root/root 1464 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/plugin-descriptor.properties -rw-r--r-- root/root 44533 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-upgrade/x-pack-upgrade-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-user-agent/ -rw-r--r-- root/root 60628 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-user-agent/ingest-user-agent-6.8.9.jar -rw-r--r-- root/root 1489 2020-05-04 17:13 ./usr/share/elasticsearch/modules/ingest-user-agent/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/ -rw-r--r-- root/root 46264 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/NOTICE.txt -rw-r--r-- root/root 586829 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-common-4.1.32.Final.jar -rw-r--r-- root/root 2335336 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/x-pack-core-6.8.9.jar -rw-r--r-- root/root 736658 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/httpclient-4.5.2.jar -rw-r--r-- root/root 32800 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-resolver-4.1.32.Final.jar -rw-r--r-- root/root 62050 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/commons-logging-1.1.3.jar -rw-r--r-- root/root 356201 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/httpcore-nio-4.4.5.jar -rw-r--r-- root/root 284184 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/commons-codec-1.10.jar -rw-r--r-- root/root 81905 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/transport-netty4-client-6.8.9.jar -rw-r--r-- root/root 463581 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-transport-4.1.32.Final.jar -rw-r--r-- root/root 420485 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-handler-4.1.32.Final.jar -rw-r--r-- root/root 4115911 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/unboundid-ldapsdk-4.0.8.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/LICENSE.txt -rw-r--r-- root/root 1574 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/plugin-security.policy -rw-r--r-- root/root 177112 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/httpasyncclient-4.1.2.jar -rw-r--r-- root/root 316671 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-codec-4.1.32.Final.jar -rw-r--r-- root/root 1448 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/plugin-descriptor.properties -rw-r--r-- root/root 327373 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/httpcore-4.4.5.jar -rw-r--r-- root/root 277778 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-buffer-4.1.32.Final.jar -rw-r--r-- root/root 563215 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-core/netty-codec-http-4.1.32.Final.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/ -rw-r--r-- root/root 23544 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-storage-api-3.3.0.jar -rw-r--r-- root/root 141836 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/NOTICE.txt -rw-r--r-- root/root 23241 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/log4j-slf4j-impl-2.11.1.jar -rw-r--r-- root/root 160741 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-soap-api-3.3.0.jar -rw-r--r-- root/root 25689 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/slf4j-api-1.6.2.jar -rw-r--r-- root/root 403093 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-soap-impl-3.3.0.jar -rw-r--r-- root/root 292460 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-xmlsec-impl-3.3.0.jar -rw-r--r-- root/root 129402 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/metrics-core-3.2.2.jar -rw-r--r-- root/root 1128664 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-saml-impl-3.3.0.jar -rw-r--r-- root/root 12603 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-messaging-impl-3.3.0.jar -rw-r--r-- root/root 206288 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-xmlsec-api-3.3.0.jar -rw-r--r-- root/root 162471 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/cryptacular-1.2.4.jar -rw-r--r-- root/root 2308517 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/guava-19.0.jar -rw-r--r-- root/root 1133022 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/xmlsec-2.0.8.jar -rw-r--r-- root/root 28145 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-profile-impl-3.3.0.jar -rw-r--r-- root/root 397385 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-saml-api-3.3.0.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/LICENSE.txt -rw-r--r-- root/root 3154 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/plugin-security.policy -rw-r--r-- root/root 97689 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-security-impl-3.3.0.jar -rw-r--r-- root/root 177928 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-core-3.3.0.jar -rw-r--r-- root/root 1468 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/plugin-descriptor.properties -rw-r--r-- root/root 27040 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-profile-api-3.3.0.jar -rw-r--r-- root/root 1032743 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/x-pack-security-6.8.9.jar -rw-r--r-- root/root 233305 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/java-support-7.3.0.jar -rw-r--r-- root/root 53160 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-messaging-api-3.3.0.jar -rw-r--r-- root/root 76799 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-storage-impl-3.3.0.jar -rw-r--r-- root/root 60830 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/opensaml-security-api-3.3.0.jar -rw-r--r-- root/root 158984 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-security/httpclient-cache-4.5.2.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/ -rw-r--r-- root/root 57 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/NOTICE.txt -rw-r--r-- root/root 25370 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/elasticsearch-rest-client-sniffer-6.8.9.jar -rw-r--r-- root/root 13675 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/LICENSE.txt -rw-r--r-- root/root 1731 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/plugin-security.policy -rw-r--r-- root/root 1476 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/plugin-descriptor.properties -rw-r--r-- root/root 196650 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/x-pack-monitoring-6.8.9.jar -rw-r--r-- root/root 65422 2020-05-04 17:13 ./usr/share/elasticsearch/modules/x-pack-monitoring/elasticsearch-rest-client-6.8.9.jar drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/modules/rank-eval/ -rw-r--r-- root/root 76567 2020-05-04 17:13 ./usr/share/elasticsearch/modules/rank-eval/rank-eval-client-6.8.9.jar -rw-r--r-- root/root 1471 2020-05-04 17:13 ./usr/share/elasticsearch/modules/rank-eval/plugin-descriptor.properties drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/doc/elasticsearch/ -rw-r--r-- root/root 14048 2020-05-04 17:13 ./usr/share/doc/elasticsearch/copyright drwxr-xr-x root/elasticsearch 0 2020-05-04 17:13 ./etc/ drwxr-s--- root/elasticsearch 0 2020-05-04 17:13 ./etc/elasticsearch/ -rw-rw---- root/elasticsearch 3957 2020-05-04 17:13 ./etc/elasticsearch/jvm.options -rw-rw---- root/elasticsearch 2869 2020-05-04 17:13 ./etc/elasticsearch/elasticsearch.yml -rw-rw---- root/elasticsearch 0 2020-05-04 17:13 ./etc/elasticsearch/users -rw-rw---- root/elasticsearch 197 2020-05-04 17:13 ./etc/elasticsearch/roles.yml -rw-rw---- root/elasticsearch 0 2020-05-04 17:13 ./etc/elasticsearch/users_roles -rw-rw---- root/elasticsearch 13085 2020-05-04 17:13 ./etc/elasticsearch/log4j2.properties -rw-rw---- root/elasticsearch 473 2020-05-04 17:13 ./etc/elasticsearch/role_mapping.yml drwxr-xr-x root/elasticsearch 0 2020-05-04 17:13 ./etc/default/ -rw-rw---- root/elasticsearch 1613 2020-05-04 17:13 ./etc/default/elasticsearch drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/lib/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/lib/tmpfiles.d/ -rw-r--r-- root/root 67 2020-05-04 17:13 ./usr/lib/tmpfiles.d/elasticsearch.conf drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/lib/systemd/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/lib/systemd/system/ -rw-r--r-- root/root 1679 2020-05-04 17:13 ./usr/lib/systemd/system/elasticsearch.service drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/lib/sysctl.d/ -rw-r--r-- root/root 24 2020-05-04 17:13 ./usr/lib/sysctl.d/elasticsearch.conf drwxr-xr-x root/root 0 2020-05-04 17:13 ./etc/init.d/ -rwxr-x--- root/root 4289 2020-05-04 17:13 ./etc/init.d/elasticsearch drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/lintian/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 488 2020-05-04 17:13 ./usr/share/lintian/overrides/elasticsearch -rw-r--r-- root/root 427502 2020-05-04 17:13 ./usr/share/elasticsearch/NOTICE.txt drwxr-xr-x elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/ drwxr-xr-x elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/run/ drwxr-xr-x elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/run/elasticsearch/ drwxr-xr-x elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/log/ drwxr-s--- elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/log/elasticsearch/ drwxr-xr-x elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/lib/ drwxr-s--- elasticsearch/elasticsearch 0 2020-05-04 17:13 ./var/lib/elasticsearch/ drwxr-xr-x root/root 0 2020-05-04 17:13 ./usr/share/elasticsearch/plugins/ [root@es101.yinzhengjie.com ~]#
2>.安装Elasticsearch软件
[root@es101.yinzhengjie.com ~]# dpkg -i elasticsearch-6.8.9.deb #安装Elasticsearch Selecting previously unselected package elasticsearch. (Reading database ... 67013 files and directories currently installed.) Preparing to unpack elasticsearch-6.8.9.deb ... Creating elasticsearch group... OK Creating elasticsearch user... OK Unpacking elasticsearch (6.8.9) ... Setting up elasticsearch (6.8.9) ... Created elasticsearch keystore in /etc/elasticsearch Processing triggers for ureadahead (0.100.0-21) ... Processing triggers for systemd (237-3ubuntu10.24) ... [root@es101.yinzhengjie.com ~]#
3>.查看Elasticsearch的启动脚本
[root@es101.yinzhengjie.com ~]# cat /usr/lib/systemd/system/elasticsearch.service [Unit] Description=Elasticsearch Documentation=http://www.elastic.co Wants=network-online.target After=network-online.target [Service] RuntimeDirectory=elasticsearch PrivateTmp=true Environment=ES_HOME=/usr/share/elasticsearch Environment=ES_PATH_CONF=/etc/elasticsearch Environment=PID_DIR=/var/run/elasticsearch EnvironmentFile=-/etc/default/elasticsearch WorkingDirectory=/usr/share/elasticsearch User=elasticsearch Group=elasticsearch ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet # StandardOutput is configured to redirect to journalctl since # some error messages may be logged in standard output before # elasticsearch logging system is initialized. Elasticsearch # stores its logs in /var/log/elasticsearch and does not use # journalctl by default. If you also want to enable journalctl # logging, you can simply remove the "quiet" option from ExecStart. StandardOutput=journal StandardError=inherit # Specifies the maximum file descriptor number that can be opened by this process LimitNOFILE=65535 # Specifies the maximum number of processes LimitNPROC=4096 # Specifies the maximum size of virtual memory LimitAS=infinity # Specifies the maximum file size LimitFSIZE=infinity # Disable timeout logic and wait until process is stopped TimeoutStopSec=0 # SIGTERM signal is used to stop the Java process KillSignal=SIGTERM # Send the signal only to the JVM rather than its control group KillMode=process # Java process is never killed SendSIGKILL=no # When a JVM receives a SIGTERM signal it exits with code 143 SuccessExitStatus=143 [Install] WantedBy=multi-user.target # Built for packages-6.8.9 (packages) [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]#
4>.修改Elasticsearch的配置文件
[root@es101.yinzhengjie.com ~]# cp /etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml-`date +%F` [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# grep network.host /etc/elasticsearch/elasticsearch.yml #network.host: 192.168.0.1 [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# sed -r -i 's@#(network.host: )192.168.0.1@\1es101.yinzhengjie.com@' /etc/elasticsearch/elasticsearch.yml [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# grep network.host /etc/elasticsearch/elasticsearch.yml network.host: es101.yinzhengjie.com [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# grep es101.yinzhengjie.com /etc/hosts 172.200.5.101 es101.yinzhengjie.com [root@es101.yinzhengjie.com ~]#
5>.启动Elasticsearch
[root@es101.yinzhengjie.com ~]# ss -ntl State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 127.0.0.53%lo:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 128 [::]:22 [::]:* [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# systemctl start elasticsearch.service #启动Elasticsearch服务 [root@es101.yinzhengjie.com ~]# [root@es101.yinzhengjie.com ~]# ss -ntl State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 127.0.0.53%lo:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 128 [::ffff:172.200.5.101]:9200 *:* LISTEN 0 128 [::ffff:172.200.5.101]:9300 *:* LISTEN 0 128 [::]:22 [::]:* [root@es101.yinzhengjie.com ~]#
[root@es101.yinzhengjie.com ~]# systemctl status elasticsearch.service ● elasticsearch.service - Elasticsearch Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2020-06-03 01:33:36 UTC; 2s ago Docs: http://www.elastic.co Main PID: 1987 (java) Tasks: 4 (limit: 4633) CGroup: /system.slice/elasticsearch.service └─1987 /usr/local/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.ne Jun 03 01:33:36 es101.yinzhengjie.com systemd[1]: Started Elasticsearch. Jun 03 01:33:36 es101.yinzhengjie.com elasticsearch[1987]: warning: Falling back to java on path. This behavior is deprecated. Specify JAVA_HOME [root@es101.yinzhengjie.com ~]#
6>.浏览器访问EllasticSearch服务
如下图所示,浏览器输入以下地址即可访问Elassticsearch: http://es101.yinzhengjie.com:9200/
三.ElasticSearch集群搭建
博主推荐阅读: https://www.cnblogs.com/yinzhengjie2020/p/12953504.html