下载安装包:(下载地址:https://www.elastic.co/cn/downloads/elasticsearch)
elasticsearch-7.0.0-linux-x86_64.tar.gz

解压之后执行
[context@upright92 elasticsearch-7.0.0]$ ./bin/elasticsearch
占用的默认端口是9200 。可以自己查看
[root@upright92 context]# netstat -anp | grep 9200
tcp6       0      0 127.0.0.1:9200          :::*                    LISTEN      19471/java          
tcp6       0      0 ::1:9200                :::*                    LISTEN      19471/java

安装插件
寻找与之对应的插件版本进行安装
[context@upright92 elasticsearch-7.0.0]$ ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.0.0/elasticsearch-analysis-ik-7.0.0.zip
-> Downloading https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.0.0/elasticsearch-analysis-ik-7.0.0.zip
[=================================================] 100%  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.net.SocketPermission * connect,resolve
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.

Continue with installation? [y/N]y
-> Installed analysis-ik

重新启动
[context@upright92 elasticsearch-7.0.0]$ ./bin/elasticsearch
[2019-04-22T15:19:50,583][INFO ][o.e.e.NodeEnvironment    ] [upright92] using [1] data paths, mounts [[/home (/dev/mapper/cl-home)]], net usable_space [1.5tb], net total_space [1.6tb], types [xfs]
[2019-04-22T15:19:50,591][INFO ][o.e.e.NodeEnvironment    ] [upright92] heap size [989.8mb], compressed ordinary object pointers [true]
[2019-04-22T15:19:50,597][INFO ][o.e.n.Node               ] [upright92] node name [upright92], node ID [ye8JEZFJQTKyuhUpmhA-BA]
[2019-04-22T15:19:50,599][INFO ][o.e.n.Node               ] [upright92] version[7.0.0], pid[19471], build[default/tar/b7e28a7/2019-04-05T22:55:32.697037Z], OS[Linux/3.10.0-862.14.4.el7.x86_64/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_211/25.211-b12]
[2019-04-22T15:19:50,601][INFO ][o.e.n.Node               ] [upright92] JVM home [/usr/java/jdk1.8.0_211/jre]
[2019-04-22T15:19:50,603][INFO ][o.e.n.Node               ] [upright92] JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-3101632940442448963, -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, -Dio.netty.allocator.type=unpooled, -Des.path.home=/home/context/elasticsearch-7.0.0, -Des.path.conf=/home/context/elasticsearch-7.0.0/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true]
[2019-04-22T15:19:54,689][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [aggs-matrix-stats]
[2019-04-22T15:19:54,689][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [analysis-common]
[2019-04-22T15:19:54,690][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [ingest-common]
[2019-04-22T15:19:54,690][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [ingest-geoip]
[2019-04-22T15:19:54,690][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [ingest-user-agent]
[2019-04-22T15:19:54,691][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [lang-expression]
[2019-04-22T15:19:54,691][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [lang-mustache]
[2019-04-22T15:19:54,691][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [lang-painless]
[2019-04-22T15:19:54,692][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [mapper-extras]
[2019-04-22T15:19:54,692][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [parent-join]
[2019-04-22T15:19:54,692][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [percolator]
[2019-04-22T15:19:54,693][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [rank-eval]
[2019-04-22T15:19:54,693][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [reindex]
[2019-04-22T15:19:54,693][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [repository-url]
[2019-04-22T15:19:54,693][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [transport-netty4]
[2019-04-22T15:19:54,694][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-ccr]
[2019-04-22T15:19:54,695][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-core]
[2019-04-22T15:19:54,695][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-deprecation]
[2019-04-22T15:19:54,696][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-graph]
[2019-04-22T15:19:54,696][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-ilm]
[2019-04-22T15:19:54,696][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-logstash]
[2019-04-22T15:19:54,697][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-ml]
[2019-04-22T15:19:54,697][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-monitoring]
[2019-04-22T15:19:54,697][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-rollup]
[2019-04-22T15:19:54,698][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-security]
[2019-04-22T15:19:54,698][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-sql]
[2019-04-22T15:19:54,698][INFO ][o.e.p.PluginsService     ] [upright92] loaded module [x-pack-watcher]
[2019-04-22T15:19:54,699][INFO ][o.e.p.PluginsService     ] [upright92] loaded plugin [analysis-ik]
[2019-04-22T15:20:03,820][INFO ][o.e.x.s.a.s.FileRolesStore] [upright92] parsed [0] roles from file [/home/context/elasticsearch-7.0.0/config/roles.yml]
[2019-04-22T15:20:05,329][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [upright92] [controller/19604] [Main.cc@109] controller (64 bit): Version 7.0.0 (Build cdaa022645f38d) Copyright (c) 2019 Elasticsearch BV
[2019-04-22T15:20:06,410][DEBUG][o.e.a.ActionModule       ] [upright92] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security
[2019-04-22T15:20:07,115][INFO ][o.e.d.DiscoveryModule    ] [upright92] using discovery type [zen] and seed hosts providers [settings]
[2019-04-22T15:20:09,518][INFO ][o.e.n.Node               ] [upright92] initialized
[2019-04-22T15:20:09,519][INFO ][o.e.n.Node               ] [upright92] starting ...
[2019-04-22T15:20:09,899][INFO ][o.e.t.TransportService   ] [upright92] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2019-04-22T15:20:10,031][WARN ][o.e.b.BootstrapChecks    ] [upright92] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2019-04-22T15:20:10,031][WARN ][o.e.b.BootstrapChecks    ] [upright92] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2019-04-22T15:20:10,036][WARN ][o.e.b.BootstrapChecks    ] [upright92] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
[2019-04-22T15:20:10,083][INFO ][o.e.c.c.ClusterBootstrapService] [upright92] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered
[2019-04-22T15:20:10,450][INFO ][o.e.c.s.MasterService    ] [upright92] elected-as-master ([1] nodes joined)[{upright92}{ye8JEZFJQTKyuhUpmhA-BA}{pyPyaSJ2Q5iZ5ZN9faikdQ}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=33443553280, xpack.installed=true, ml.max_open_jobs=20} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 2, version: 16, reason: master node changed {previous [], current [{upright92}{ye8JEZFJQTKyuhUpmhA-BA}{pyPyaSJ2Q5iZ5ZN9faikdQ}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=33443553280, xpack.installed=true, ml.max_open_jobs=20}]}
[2019-04-22T15:20:10,748][INFO ][o.e.c.s.ClusterApplierService] [upright92] master node changed {previous [], current [{upright92}{ye8JEZFJQTKyuhUpmhA-BA}{pyPyaSJ2Q5iZ5ZN9faikdQ}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=33443553280, xpack.installed=true, ml.max_open_jobs=20}]}, term: 2, version: 16, reason: Publication{term=2, version=16}
[2019-04-22T15:20:10,890][INFO ][o.e.h.AbstractHttpServerTransport] [upright92] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2019-04-22T15:20:10,899][INFO ][o.e.n.Node               ] [upright92] started
[2019-04-22T15:20:11,236][WARN ][o.e.x.s.a.s.m.NativeRoleMappingStore] [upright92] Failed to clear cache for realms [[]]
[2019-04-22T15:20:11,398][INFO ][o.e.l.LicenseService     ] [upright92] license [8afe0008-71d3-43d3-9509-26615987d6e0] mode [basic] - valid
[2019-04-22T15:20:11,422][INFO ][o.e.g.GatewayService     ] [upright92] recovered [0] indices into cluster_state

安装elasticsearch-7.0.0及插件的更多相关文章

  1. docker上安装elasticsearch和ik分词器插件和header,实现分词功能

    docker run -di --name=tensquare_es -p 9200: -p 9300:9300 elasticsearch:5.6.8 创建elasticsearch容器(如果版本不 ...

  2. 安装ElasticSearch 6.1.1 head插件

    https://blog.csdn.net/zoubf/article/details/79007908 主要参考了这个blog 才完成所有的配置,很好的参考资料

  3. [elk]elasticsearch5.0及head插件安装

    ElasticSearch2.3/2.4升级到ElasticSearch5.0 参考文档(排名不分先后)https://www.elastic.co/guide/en/elasticsearch/re ...

  4. ElasticSearch 5.0及head插件安装

    一.elasticsearch安装配置 1.官网下载源码包 https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0 ...

  5. Linux下,非Docker启动Elasticsearch 6.3.0,安装ik分词器插件,以及使用Kibana测试Elasticsearch,

    Linux下,非Docker启动Elasticsearch 6.3.0 查看java版本,需要1.8版本 java -version yum -y install java 创建用户,因为elasti ...

  6. 在Windows上安装Elasticsearch 5.0

    在windows上安装Elasticsearch Elasticsearch可以使用.zip软件包安装在Windows上. elasticsearch-service.bat命令,它将设置Elasti ...

  7. elasticsearch5.0及head插件安装

        这个瞎jb整了半天.准备把es2.4升级到5.0,结果老报错 环境:centos6.5+es2.4是ok的换成es5就出毛病.也不能说啥 ,我用的是最新的 源码解压启动时候报错,具体错误for ...

  8. elasticsearch5.0.0 安装插件及配置过程

    elasticsearch5.0.0 安装插件及配置过程 由于es5.0是里程碑式的更新,所以很多变化的地方,暂时我就插件安装遇到的问题记录一下. 插件安装命令 2.3版本的安装命令 安装Marvel ...

  9. ELK——安装 logstash 2.2.0、elasticsearch 2.2.0 和 Kibana 3.0

    本文内容 Elasticsearch logstash Kibana 参考资料 本文介绍安装 logstash 2.2.0 和 elasticsearch 2.2.0,操作系统环境版本是 CentOS ...

  10. 【入门】安装Elasticsearch5.0 部署Head插件

    部署5.0版本的ES 5.0版本的ES跟之前的版本最大的不同之处就是多了很多环境的校验,比如jdk,max-files等等. 设置内核参数 vi /etc/sysctl.conf # 增加下面的内容 ...

随机推荐

  1. 19. SpringBoot_web开发-使用外部Servlet容器&JSP支持

    還沒有web.xml,生  配置tomcat 嵌入式Servlet容器:应用打成可执行的jar 优点:简单.便携: 缺点:默认不支持JSP.优化定制比较复杂 使用定制器[ServerPropertie ...

  2. Nginx GZIP 压缩

    [ HTTP 开启gzip ] gzip on; // 开启 nginx在线实时压缩数据流: gzip_min_length 1k; // 允许压缩的页面最小字节 gzip_buffers 32k; ...

  3. 文本编辑框QTextEdit

    QTextEdit类是一个多行文本框控件,可以显示多行文本内容,当文本内容超出控件显示范围时,可以显示水平个垂直滚动条,Qtextedit不仅可以用来显示文本还可以用来显示HTML文档 import ...

  4. ZOC7 for Mac连接CentOS7无法输入中文问题

    确定是ZOC7的问题 改为 iTerm2 加 ZSH 能够输入中文了 自己配置profile 慢慢所有的终端都用iTerm2 渐渐放弃ZOC7

  5. mysql 查询优化~ 分页优化讲解

    一 简介:今天咱们来聊聊mysql的分页查询二 语法     LIMIT [offset,] rows     offset是第多少条     rows代表多少条之后的行数    性能消耗    se ...

  6. TDateTimePicker 选择最小日期时异常处理

    TDateTimePicker 控件属性窗体选择最小日期,运行时选择时可以看到的最小的日期,但是选择最小时就异常 :date is less than minimum of  ***     解决过程 ...

  7. DataTables 1.10.x与1.9.x参数名对照表

    Datatables 1.10.x在命名上与1.9.x的有区别,新版的使用的是驼峰的命名规则,而之前的是采用匈牙利命名规则 当然,这些变化都是向下兼容的,你可以继续使用旧版本的api方法的参数和名称. ...

  8. 查看tomcat运行状态

    实时查看tomcat并发连接数: netstat -na | grep ESTAB | grep 8080 | wc -l 实时查看apache并发连接数: netstat -na | grep ES ...

  9. 量化投资与Python之NumPy

      数组计算 NumPy是高性能科学计算和数据分析的基础包.它是pandas等其他各种工具的基础.NumPy的主要功能:ndarray,一个多维数组结构,高效且节省空间无需循环对整组数据进行快速运算的 ...

  10. composer安装laravel框架时未生成Vendor解决办法

    三个方法并没有关联,可以单独尝试也可以一起设置. 方法一. 去php.ini中查看下面三个扩展项是否开启 extension=php_fileinfo.dll extension=php_mbstri ...