anchor.diff:  
   [float]
   [[jvm-version]]
  -== Java (JVM) version
  +== Java (JVM) 版本
   
  -Elasticsearch is built using Java, and requires at least
  -http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java 8] in
  -order to run. Only Oracle's Java and the OpenJDK are supported. The same JVM
  -version should be used on all Elasticsearch nodes and clients.
  +Elasticsearch使用的是 Java 构建的, 并且如果想要运行它, 需要至少使用
  +http://www.oracle.com/technetwork/java/javase/downloads/index.html[Java 8] . Elasticsearch 仅支持 Oracle Java 和 OpenJDK. 所有 Elasticsearch 节点和客户端
  +应该使用相同的 JVM 版本.
   
  -We recommend installing the *Java 8 update 20 or later*, or *Java 7 update 55
  -or later*.  Previous versions of Java 7 are known to have bugs that can cause
  -index corruption and data loss.  Elasticsearch will refuse to start if a
  -known-bad version of Java is used.
  +我们推荐安装 *Java 8 update 20 或 后续* 版本, 或者 *Java 7 update 55 或后续* 版本.
  +Java 7之前的版本有已知的会导致索引损坏以及数据丢失的bug. 如果使用一个已知的不良版本的Java, Elasticsearch会拒绝启动.
   
  -The version of Java to use can be configured by setting the `JAVA_HOME`
  -environment variable.
  +使用的Java版本可以通过设置 `JAVA_HOME` 环境变量来配置.
   
   --
   
  
positive.code: [[setup]]
  = Setup
  
  [partintro]
  --
  This section includes information on how to setup *elasticsearch* and
  get it running. If you haven't already, http://www.elastic.co/downloads[download] it, and
  then check the <<setup-installation,installation>> docs.
  
  NOTE: Elasticsearch can also be installed from our repositories using `apt` or `yum`.
  See <<setup-repositories>>.
  
  [[supported-platforms]]
  [float]
  == Supported platforms
  
  The matrix of officially supported operating systems and JVMs is available here:
  link:/support/matrix[Support Matrix].  Elasticsearch is tested on the listed
  platforms, but it is possible that it will work on other platforms too.
  
  [[setup-installation]]
  [float]
  == Installation
  
  After link:/downloads/elasticsearch[downloading] the latest release and extracting it,
  *elasticsearch* can be started using:
  
  [source,sh]
  --------------------------------------------------
  $ bin/elasticsearch
  --------------------------------------------------
  
  On *nix systems, the command will start the process in the foreground.
  
  [[setup-installation-daemon]]
  [float]
  === Running as a daemon
  
  To run it in the background, add the `-d` switch to it:
  
  [source,sh]
  --------------------------------------------------
  
negative.code: [float]
  === PID
  
  Elasticsearch进程在启动的时候可以将其PID写到一个指定的文件中, 这样便于后面关闭这个进程:
  
  [source,sh]
  --------------------------------------------------
  $ bin/elasticsearch -d -p pid <1>
  $ kill `cat pid` <2>
  --------------------------------------------------
  <1> PID被写入到 `pid` 文件中.
  <2> `kill` 命令给存储在 `pid` 文件中的PID发送了一个 `TERM` 信号.
  
  NOTE: 为 <<setup-service,Linux>> 和 <<setup-service-win,Windows>>系统提供的启动脚本可以帮你处理Elasticsearch进程的启动和停止.
  
  .*NIX
  *************************************************************************
  当使用 `elasticsearch` 的 shell 脚本时有几个新增的特性.
  第一个我们之前已经描述过, 就是能够很简单的在前台或后台运行Elasticsearch进程.
  
  另一个特性是能够直接给脚本传递 `-D` 或 getopt 长风格配置参数. 如果设置了, 都将覆盖使用 `JAVA_OPTS` 或 `ES_JAVA_OPTS` 设置的任何参数. 例如:
  
  [source,sh]
  --------------------------------------------------
  