- ElasticSearch Cookbook
- Alberto Paro
- 180字
- 2021-04-02 10:09:59
Removing a plugin
You have installed some plugins and now you need to remove a plugin because it's not required. Removing an ElasticSearch plugin is easy to uninstall if everything goes right, otherwise you need to manually remove it.
This recipe covers both cases.
Getting ready
You need an installed working ElasticSearch server with an installed plugin. Stop the ElasticSearch server in order to safely remove the plugin.
How to do it...
ElasticSearch Plugin Manager, which comes with its script wrapper (plugin), provides command to automatically remove a plugin.
- On Linux and MacOSX, call:
plugin -remove mobz/elasticsearch-head
or
plugin -remove head
- On Windows, call:
plugin.bat -remove mobz/elasticsearch-head
or
plugin.bat –remove head
How it works...
The Plugin Manager –remove
command tries to detect the correct name of the plugin and remove the directory of the installed plugin.
If there are undeletable files in your plugin directory (or a strange astronomical event that hits your server), the plugin script may fail: to manually remove a plugin, go in to the plugins directory and remove the directory with your plugin name.
- 奔跑吧 Linux內核(入門篇)
- 深入理解eBPF與可觀測性
- 竹林蹊徑:深入淺出windows驅動開發
- NetDevOps入門與實踐
- RHCSARHCE 紅帽Linux認證學習指南(第7版)EX200 & EX300
- VMware Horizon View Essentials
- Raspberry Pi入門指南
- 操作系統之哲學原理第2版
- Mastering Azure Serverless Computing
- Microsoft Azure Administrator:Exam Guide AZ-103
- OpenStack Trove Essentials
- Docker實踐(第2版)
- 跟阿銘學Linux(第4版)
- Windows 10深度攻略
- Responsive Web Design with HTML5 and CSS