- ElasticSearch Cookbook
- Alberto Paro
- 188字
- 2021-04-02 10:09:58
Installing a plugin manually
Sometimes your plugin is not available online or the standard installation fails, so you need to install your plugin manually.
Getting ready
You need an installed ElasticSearch server.
How to do it...
We assume that your plugin is named awesome
and it's packed in a file called awesome.zip
.
The steps required to execute a manually installed plugin are:
- Copy your zip file in the plugins directory in your ElasticSearch home installation.
- If the directory, named
plugins
, doesn't exist, create it. - Unzip the contents of the plugin in the plugins directory.
- Remove the zip archive to clean up unused files.
How it works...
Every ElasticSearch plugin is contained in a directory (usually named as the plugin name).
If the plugin is a site one, the plugin should contain a directory called _site
, which contains the static files that must be served by the server. If the plugin is a binary one, the plugin directory should be filled with one or more jar files.
When ElasticSearch starts, it scans the plugins directory and loads them. If a plugin is corrupted or broken, the server doesn't start.
- 操作系統實用教程(Linux版)
- Linux網絡管理與配置(第2版)
- Windows Server 2019 Cookbook
- Windows Server 2012 Hyper-V:Deploying the Hyper-V Enterprise Server Virtualization Platform
- Mobile-first Bootstrap
- 白話區塊鏈
- BPEL and Java Cookbook
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- 精解Windows8
- 計算機系統開發與優化實戰
- Mobile First Design with HTML5 and CSS3
- Windows 7案例教程
- Ceph分布式存儲實戰
- Python UNIX和Linux系統管理指南
- 鴻蒙操作系統設計原理與架構