Precondition:

Ubuntu OS

环境准备:

1. JAVA_HOME

1.1 Download the jdk8 (jdk-8u25-linux-x64.tar.gz) from official website

  1.1.1 check your pc's version:  uname -m

      if  x86_64 printed, your pc is 64-bits

  1.1.2 download the jdk8 (jdk-8u25-linux-x64.tar.gz) from official website and extract

1.2 Set JAVA_HOME

  See also Java 环境变量

2. Elasticsearch

2.1 Download from official website and extract

2.2 Go to the directory

  cd ~/Documents/App/elasticsearch-1.4.2/

2.3 Run elasticsearch

  bin/elasticsearch -f  (-f means running in front)

2.4 How to know if it is running

  Access the url below in browser

  http://localhost:9200

2.5 Stop elasticsearch

  Ctrl + c

Note: if the service is not running in front, we can stop it from browser

http://localhost:9200/_cluster/nodes/_shutdown

Or we can stop it using curl

curl -XPOST http://localhost:9200/_cluster/nodes/_shutdown

最新文章

  1. 读<<领域驱动设计-软件核心复杂性应对之道>>有感
  2. Codis——分布式Redis服务的解决方案
  3. 三、BLE(上)
  4. 一道javascript面试题
  5. java web 学习 --第十天(Java三级考试)
  6. Java 对象序列化(Serialization Object)
  7. [iOS经典面试题]用变量a给出下面的定义
  8. Messages消息处理
  9. Web开发基础
  10. 单例模式——Singleton
  11. CF(437C)The Child and Toy(馋)
  12. silverlight游戏在坑内发展
  13. Java并发之底层实现原理学习笔记
  14. J.U.C JMM. pipeline.指令重排序,happen-before(续MESI协议)
  15. 我的Scala之路(1):列表List操作
  16. 微服务浪潮中,程序猿如何让自己 Be Cloud Native
  17. [dev][ipsec] netlink是什么
  18. [转]RPA简介
  19. C#高性能二进制序列化
  20. Icon cache rebuilding with Delphi(Delphi 清除Windows 图标缓存源代码)

热门文章

  1. Vue在HTML页面中的脚手架
  2. 15 Python 迭代器和生成器
  3. New Concept English three (50)
  4. myEclipse下Maven配置操作
  5. BZOJ2784: [JLOI2012]时间流逝
  6. OpenJudge9278:旅行
  7. 【转】深入剖析Java中的装箱和拆箱
  8. mysql之 共享表空间与独立表空间、frm,MYD,MYI.idb,par文件说明
  9. phoneGap入门教程
  10. [转]css讲解 font-weight:bold和bolder区别