(3)docker安装elasticsearch-2.4.5

本文介绍了如何在Docker中安装Elasticsearch 2.4.5,包括先安装elasticsearch-head插件,然后通过Docker拉取镜像,并配置elasticsearch.yml文件,最后挂载目录并启动Elasticsearch服务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、先安装elasticsearch-head

从git上下载源码,把_site部署到容器中运行

下载地址:https://github.com/mobz/elasticsearch-head

访问: http://ip:9100/

2、docker安装es-2.4.5

拉取镜像:

[root@starseaing9228 ~]# docker pull elasticsearch:2.4.5
2.4.5: Pulling from library/elasticsearch
06b22ddb1913: Pull complete 
336c28b408ed: Pull complete 
1f3e6b8d80c3: Pull complete 
aeac59510475: Pull complete 
b01db8bd8540: Pull complete 
f7f398af5fea: Pull complete 
2e542fdaf109: Pull complete 
c2f213d11280: Pull complete 
2fd1cc621951: Pull complete 
bdb4e2eca779: Pull complete 
5b2ac3186d68: Pull complete 
150d74a5354f: Pull complete 
52db74c6e3a4: Pull complete 
9dedf2f8d11f: Pull complete 
34254b4cf7a2: Pull complete 
Digest: sha256:f7f3d09083d8d21ce48fcd49392335e1eb0782f69f619dd4413a698a3318ab90
Status: Downloaded 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值