虚拟机使用net连接模式
1
Download and unzip the latest Elasticsearch distribution
2
Run bin/elasticsearch on Unix or bin\elasticsearch.bat on Windows
3
Run curl -X GET http://localhost:9200/
官网 :www.elastic.co
包含 安装介质 和 权威指南
1下载
elasticsearch 下载地址: https://www.elastic.co/cn/downloads/elasticsearch
linux 对应版本 elasticsearch-7.0.0-rc2-linux-x86_64.tar.gz 大小330 MB
2建用户
useradd es
passwd es
123456
es/123456
3上传到虚拟机
put elasticsearch-7.0.0-rc2-linux-x86_64.tar.gz
4解压
tar -zxvf elasticsearch-7.0.0-rc2-linux-x86_64.tar.gz
启动
cd elasticsearch-7.0.0-rc2/bin
./elasticsearch
5警告跳过
unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in
6检验
http://localhost:9200/