如何在CentOS 5上运行弹性搜索作为服务 [英] How to run elasticsearch as a service on CentOS 5

查看:173
本文介绍了如何在CentOS 5上运行弹性搜索作为服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现只有这个官方指南安装Elasticsearch 2.0作为服务,但没有提到CENTOS5。
在CentOS5上安装ES作为服务的步骤是什么?

I found only this official guide to install Elasticsearch 2.0 as a service but there is no mention of CENTOS5. What are the steps to install ES as a service on CentOS5?

推荐答案

CentOS基于RedHat,应使用RPM分发,开始如下:

CentOS is based on RedHat and should use the RPM distribution, start it as follows:

sudo /sbin/chkconfig --add elasticsearch
sudo service elasticsearch start

这篇关于如何在CentOS 5上运行弹性搜索作为服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆