ElasticSearch安装部署
官网:http://www.elasticsearch.org
ElasticSearch is an open-source and distributed search engine which is very much scalable and supports a good amount of enterprise Search use cases. It's built on top of Lucene (just like Apache Solr4). It supports realtime time indexing and full text search.
下载压缩包,Run bin/elasticsearch on Unix,
or bin/elasticsearch.bat on Windows
root@iZ23onhpqvwZ:~/download/elasticsearch-1.4./bin# ./elasticsearch
[-- ::,][WARN ][bootstrap ] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line
[-- ::,][INFO ][node ] [Thin Man] version[1.4.], pid[], build[bc94bd8/--05T14::12Z]
[-- ::,][INFO ][node ] [Thin Man] initializing ...
[-- ::,][INFO ][plugins ] [Thin Man] loaded [], sites []
Java HotSpot(TM) Client VM warning: You have loaded library /root/download/elasticsearch-1.4./lib/sigar/libsigar-x86-linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
[-- ::,][INFO ][node ] [Thin Man] initialized
[-- ::,][INFO ][node ] [Thin Man] starting ...
[-- ::,][INFO ][transport ] [Thin Man] bound_address {inet[/0.0.0.0:]}, publish_address {inet[/10.168.75.170:]}
[-- ::,][INFO ][discovery ] [Thin Man] elasticsearch/r5aQ91yDTOSr3I1FI8_Piw
[-- ::,][INFO ][cluster.service ] [Thin Man] new_master [Thin Man][r5aQ91yDTOSr3I1FI8_Piw][iZ23onhpqvwZ][inet[/10.168.75.170:]], reason: zen-disco-join (elected_as_master)
[-- ::,][INFO ][http ] [Thin Man] bound_address {inet[/0.0.0.0:]}, publish_address {inet[/10.168.75.170:]}
[-- ::,][INFO ][node ] [Thin Man] started
[-- ::,][INFO ][gateway ] [Thin Man] recovered [] indices into cluster_state
我的没有这个信息显示:
[INFO ][node ] [Lorna Dane] started
如果想后台运行,则执行
./elasticsearch -d
想确认程序是否运行,则运行
lsof -i:9200
lsof -i:9300
一个是节点对外服务端口,一个是节点间交互端口(如果有集群的话)。
Run curl -X GET http://localhost:9200/
-X 指定协议,get ,post,delete等。 \
输出类似
{
"name" : "Scarlet Spider",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.2.0",
"build_hash" : "8ff36d139e16f8720f2947ef62c8167a888992fe",
"build_timestamp" : "2016-01-27T13:32:39Z",
"build_snapshot" : false,
"lucene_version" : "5.4.1"
},
"tagline" : "You Know, for Search"
}
http://my.oschina.net/qiangzigege/blog/220224
参考:
http://www.oschina.net/translate/elasticsearch-getting-started?cmp
Getting Started with ElasticSearch
elasticsearch中文文档:
http://blog.csdn.net/cnweike/article/details/33736429/
ElasticSearch安装部署的更多相关文章
- ELK日志监控平台安装部署简介--Elasticsearch安装部署
最近由于工作需要,需要搭建一个ELK日志监控平台,本次采用Filebeat(采集数据)+Elasticsearch(建立索引)+Kibana(展示)架构,实现日志搜索展示功能. 一.安装环境描述: 1 ...
- ElasticSearch安装部署,基本配置(Ubuntu14.04)
ElasticSearch部署文档(Ubuntu 14.04) 安装java sudo add-apt-repository ppa:webupd8team/java sudo apt-get upd ...
- Elasticsearch安装部署(CentOS)
1.安装JDK,http://www.cnblogs.com/zhi-leaf/p/5996287.html. 2.下载ES:https://www.elastic.co/downloads/elas ...
- ElasticSearch安装部署(Windows)
测试版本:elasticsearch-5.1.1 1.解压elasticsearch-5.1.1.zip. 2.执行elasticsearch.bat启动服务,启动画面如下: 3.访问ElasticS ...
- ElasticSearch 全文检索— ElasticSearch 安装部署
ElasticSearch 规划-集群规划 ElasticSearch 规划-集群规划 ElasticSearch 规划-用户规划 ElasticSearch 规划-目录规划 ElasticSearc ...
- mac下elasticsearch安装部署
下载elaticsearch集成包 优势:封装了对插件的支持,且安装方式较简单 地址:https://github.com/medcl/elasticsearch-rtf 解压到指定目录后,获取该集成 ...
- Elasticsearch安装部署教程
1)下载elasticsearch-1.1.2.zip 2)用ssh工具连接目录主机,在命令窗口输入:mkdir -p /opt/elasticsearch创建elasticsearch文件夹 3 ...
- ELK 安装部署小计
ELK的安装部署已经是第N次了! 其实也很简单,这里记下来,以免忘记. #elasticsearch安装部署 wget https://artifacts.elastic.co/downloads/e ...
- ELK文档-安装部署
一.ELK简介 请参考:http://www.cnblogs.com/aresxin/p/8035137.html 二.ElasticSearch安装部署 请参考:http://blog.51cto. ...
随机推荐
- Careercup - Microsoft面试题 - 6337018766295040
2014-05-10 06:38 题目链接 原题: What do you think is the next big thing in technology? For example, search ...
- Windows准备Node.js运行与开发环境
如何在Windows环境下搭建Node.js开发环境:1.下载Node.js windows安装版http://www.nodejs.org/download/ 2.正常安装完成后,在系统环境变量已经 ...
- 【转】免装版tomcat注册成windows系统服务方法
转自:http://blog.csdn.net/huiwenjie168/article/details/42267353 一.下载Tomcat Tomcat可以从http://tomcat.apac ...
- 《IT小小鸟》阅读心得
我是一个不爱看书的人,认为看那些又臭又长废话连篇的书是在浪费时间,但我不认为在那么多的书中没有好书,在一次的职业生涯规划中老师推荐了这本书,一开始认为不值得一看,但还是拿了起来,读了有不少的感触. 书 ...
- 【CentOs】sudo使用
在使用Linux系统过程中,通常情况下,我们都会使用普通用户进行日常操作,而root用户只有在权限分配及系统设置时才会使用,而root用户的密码也不可能公开.普通用户执行到系统程序时,需要临时提升权限 ...
- 剑指offer--3题
题目:输入一个整形数组,数组里有正数也有负数.数组中连续的一个或多个整数组成一个子数组,每个子数组都有一个和.求所有子数组的和的最大值.要求时间复杂度为O(n). 例如输入的数组为1, -2, 3, ...
- ios containerViewController
- (void)replaceViewController:(UIViewController *)existingViewController withViewController:(UIViewC ...
- [haoi2009]毛毛虫 树形dp
这道题细节处理不少,但要AC不难: 设以i节点为根节点的子树能形成的最大的毛毛虫长度为f[i],则f[i]=max(f[j])+i节点的孩子数: 答案需要f最大和次大的两个子树合并,而且若合并的位置不 ...
- 《EnterLib PIAB深入剖析》系列博文汇总_转
转: http://www.cnblogs.com/artech/archive/2008/08/08/1263418.html
- ubuntu 点点滴滴
pptpd http://linux.cn/article-3376-1.html 命令行升级ubuntu版本 do-release-upgrade -d 寻找最新的稳定版本,加上-d参数则包括不稳 ...