---
title: "elasticsearch2.3.3以及其插件离线安装"
author: "fireinwind"
date: "2017-12-16T20:18:13Z"
tags: []
categories: ["开源软件"]
slug: "elasticsearch2-3-3"
draft: false
lastmod: "2017-12-16T21:16:41Z"
id: 2404896
url: "https://fireinwind.iteye.com/blog/2404896"
---

**若服务器无法访问外网，可参考以下的安装步骤。否则跳转到《[elasticsearch以及其常用插件安装](http://chenghuiz.iteye.com/blog/2310377)》。**

**1. 安装elasticsearch**

   下载**elasticsearch2.3.3**安装包。下载地址：[elasticsearch-2.3.3.tar.gz](https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.3.3/elasticsearch-2.3.3.tar.gz)

   在安装目录解压即可。

 

**2. 安装kibana插件**

   下载**kibana4.5.1**安装包（有linux和windows版本之分）。下载地址：[kibana-4.5.1-linux-x64.tar.gz](https://download.elastic.co/kibana/kibana/kibana-4.5.1-linux-x64.tar.gz)

   在安装目录解压即可。

 

**3. 安装elasticsearch-head插件**

   下载**elasticsearch-head**安装包。下载地址：[elasticsearch-head.zip](https://github.com/mobz/elasticsearch-head/archive/master.zip)

   到$ES\_HOME（elasticsearch的主目录，下同），执行命令： bin/plugin install file:/home/××/elasticsearch-head.zip ,注：file后面为插件所在的绝对或者相对路径，下同。

 

**4. 安装marvel插件**

   下载**license、marvel-agent、marvel**安装包。下载地址：[license-2.3.3.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.3.3/license-2.3.3.zip)、[marvel-agent-2.3.3.zip](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.3.3/marvel-agent-2.3.3.zip)、[marvel-latest.tar.gz](https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz)。

   到$ES\_HOME，执行命令：bin/plugin install file:/home/××/license-2.3.3.zip和/bin/plugin install file:/home/××/marvel-agent-2.3.3.zip

   到$KIBANA\_HOME(为kibana的主目录，下同)，执行命令bin/kibana plugin -i marvel -u file:/home/××/marvel-latest.zip

 

**5. 安装sense插件**

   下载**sense**安装包。下载地址：[sense-latest.tar.gz](https://download.elastic.co/elastic/sense/sense-latest.tar.gz)

   到$KIBANA\_HOME，执行命令：bin/kibana plugin -i sense -u file:/home/××/sense-latest.tar.gz

 

**6. 安装sql插件**

   下载**elasticsearch-sql-2.3.3.0**安装包。下载地址：[elasticsearch-sql-2.3.3.0.zip](https://github.com/NLPchina/elasticsearch-sql/releases/download/2.3.3.0/elasticsearch-sql-2.3.3.0.zip%20) 

   到$ES\_HOME，执行命令： bin/plugin install file:/home/××/elasticsearch-sql-2.3.3.0.zip

   可以参考wiki:[https://github.com/NLPchina/elasticsearch-sql/wiki](https://github.com/NLPchina/elasticsearch-sql/wiki)

 

**7.安装jdbc插件**

   下载**elasticsearch-jdbc-2.3.3.1-dist**安装包。下载地址：[elasticsearch-jdbc-2.3.3.1-dist.zip](http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc/2.3.3.1/elasticsearch-jdbc-2.3.3.1-dist.zip)

   在安装目录解压即可。

   可以参考wiki:[https://github.com/jprante/elasticsearch-jdbc/wiki](https://github.com/jprante/elasticsearch-jdbc/wiki)

 

https://www.cnblogs.com/jiu0821/p/5624908.html

这里整理几个空格引起的问题.

版本是elasticsearch-2.3.0 或者elasticsearch-rtf-master

Exception in thread "main" SettingsException\[Failed to load settings from \[elasticsearch.yml]]; nested: ElasticsearchParseException\[malformed, expected settings to start with 'object', instead was \[VALUE\_STRING]];