elasticsearch安装
2015-08-20 00:05
363 查看
1.安装简单的下载解压就安装完成了good[root@localhost src]#wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.1.zip[root@localhost src]# unzip elasticsearch-1.7.1.zip[root@localhost
src]# mv elasticsearch-1.7.1 /usr/local/elasticsearch[root@localhost
src]# cd /usr/local/elasticsearch/bin/ 2.根据自己的配置修改内存 因为机器的配置不通自行定制适合自己的JVM配置[root@localhost
bin]# vim +9 elasticsearch.in.sh if [
"x$ES_MIN_MEM" = "x" ]; then ES_MIN_MEM=256mfiif [
"x$ES_MAX_MEM" = "x" ]; then ES_MAX_MEM=512mfiif [
"x$ES_HEAP_SIZE" != "x" ]; then ES_MIN_MEM=$ES_HEAP_SIZE ES_MAX_MEM=$ES_HEAP_SIZEfi
3. ES启动
下图便是启动成功访问9200的相响应
![](http://s3.51cto.com/wyfs02/M00/71/9E/wKiom1XUp7CT873EAAEwnswM2Zk654.jpg)
4.安装head插件
这里启动成功但是对于新手还是很陌生的,那么向大家推荐一个elasticsearch插件head,安装方法如下[root@localhost
bin]#./plugin install
mobz/elasticsearch-head -> Installing
mobz/elasticsearch-head...Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...Downloading
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONEInstalled
mobz/elasticsearch-head into /usr/local/elasticsearch/plugins/headIdentified as a
_site plugin, moving to _site structure ...
安装完成访问地址是:“http://10.0.0.128:9200/_plugin/head/”
![](http://s3.51cto.com/wyfs02/M01/71/9B/wKioL1XUqwjg19p6AAHUM2ikwfA804.jpg)
现在是不是看上去很立体了本文出自 “nginxs小白” 博客,转载请与作者联系!
src]# mv elasticsearch-1.7.1 /usr/local/elasticsearch[root@localhost
src]# cd /usr/local/elasticsearch/bin/ 2.根据自己的配置修改内存 因为机器的配置不通自行定制适合自己的JVM配置[root@localhost
bin]# vim +9 elasticsearch.in.sh if [
"x$ES_MIN_MEM" = "x" ]; then ES_MIN_MEM=256mfiif [
"x$ES_MAX_MEM" = "x" ]; then ES_MAX_MEM=512mfiif [
"x$ES_HEAP_SIZE" != "x" ]; then ES_MIN_MEM=$ES_HEAP_SIZE ES_MAX_MEM=$ES_HEAP_SIZEfi
3. ES启动
下图便是启动成功访问9200的相响应
![](http://s3.51cto.com/wyfs02/M00/71/9E/wKiom1XUp7CT873EAAEwnswM2Zk654.jpg)
4.安装head插件
这里启动成功但是对于新手还是很陌生的,那么向大家推荐一个elasticsearch插件head,安装方法如下[root@localhost
bin]#./plugin install
mobz/elasticsearch-head -> Installing
mobz/elasticsearch-head...Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...Downloading
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONEInstalled
mobz/elasticsearch-head into /usr/local/elasticsearch/plugins/headIdentified as a
_site plugin, moving to _site structure ...
安装完成访问地址是:“http://10.0.0.128:9200/_plugin/head/”
![](http://s3.51cto.com/wyfs02/M01/71/9B/wKioL1XUqwjg19p6AAHUM2ikwfA804.jpg)
现在是不是看上去很立体了本文出自 “nginxs小白” 博客,转载请与作者联系!
相关文章推荐
- Verilog HDL之于FPGA--阻塞与非阻塞赋值
- struts2传递对象
- http 和 Tcp 的区别
- HDOJ 5396 Expression DP
- java之 ------ 设计思想
- 【Powershell】【计数器】实时获取邮箱服务器的队列
- ajax提交整个form表单
- 基础理解部分
- Android SDK Android NDK Android Studio 官方下载地址
- hdu 5400 Arithmetic Sequence
- Twig中文说明手册
- Android SDK Android NDK Android Studio 官方下载地址
- 基于核方法的模糊C均值聚类
- 2015 Multi-University Training Contest 9 1005
- 用 GNOME Boxes 下载一个操作系统镜像
- 详解Python3中yield生成器的用法
- 使用Python3编写抓取网页和只抓网页图片的脚本
- 使用Python求解最大公约数的实现方法
- hdu 5402 Travelling Salesman Problem(构造)
- Python中列表和元组的相关语句和方法讲解