首页 > 代码库 > centos6.8下安装elasticsearch
centos6.8下安装elasticsearch
1.安装java环境
2.安装elasticsearch
cd /usr/local/src
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz
tar -xvf elasticsearch-1.3.4.tar.gz
cd elasticsearch-1.3.4
./bin/elasticsearch
访问http://localhost:9200即可访问
3.设置开机自启动
下载elasticsearch-servicewrapper:https://github.com/elasticsearch/elasticsearch-servicewrapper
service文件夹放在elasticsearch-1.3.4/bin下即可
安装:bin/service/elasticsearch install
启动:bin/service/elasticsearch start
4.配置文件
bin/service/elasticsearch.conf
centos6.8下安装elasticsearch
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。