宋子宪博客

CentOS7基于Docker安装Elasticsearch2.2.4

1.搜索elasticsearch

docker search elasticsearch

2.安装版本为2.4.4的Elasticsearch

docker pull elasticsearch:2.4.4

3.启动Elasticsearch2

docker run -d -p 9200:9200 -p 9300:9300 --name search elasticsearch:2.4.4

4.查看是否运行

docker ps

5.测试访问ip:9200

http://192.168.153.137:9200/

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »