elasticsearch 安装

来源:互联网 发布:linux 强制关进程 编辑:程序博客网 时间:2024/06/07 01:04

1,下载 elasticsearch  

 https://www.elastic.co/downloads/elasticsearch


2,安装jdk  配置 java_home 环境变量


3,在 elasticsearch 目录下 config 调试 jvm.options 的 运行内存

如:

   

# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space


-Xmx1g
-Xmx1g


4,cmd 运行 ,bin/elasticsearch.bat




5,浏览器 输入 http://localhost:9200/?pretty



原创粉丝点击