- 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.
- Implementing Cisco UCS Solutions
- Extending Puppet
- Learn Helm
- 循序漸進(jìn)學(xué)Docker
- 異質(zhì)結(jié)原理與器件
- 嵌入式Linux應(yīng)用開發(fā)菜鳥進(jìn)階
- Linux自動(dòng)化運(yùn)維:Shell與Ansible(微課版)
- 嵌入式實(shí)時(shí)操作系統(tǒng)μC/OS原理與實(shí)踐
- 操作系統(tǒng)分析
- Kali Linux高級(jí)滲透測(cè)試
- Introduction to R for Quantitative Finance
- Multi-Cloud for Architects
- Agile IT Security Implementation Methodology
- 完美應(yīng)用Ubuntu(第2版)
- Windows 8完全自學(xué)手冊(cè)