官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 屏南县| 定安县| 随州市| 麟游县| 盐源县| 常宁市| 大田县| 东阳市| 喀喇| 商南县| 紫金县| 喀喇沁旗| 万全县| 平乐县| 岱山县| 永宁县| 佛教| 安远县| 乌鲁木齐市| 黔西县| 富裕县| 丹凤县| 尖扎县| 灌南县| 泸溪县| 台东县| 鄂托克前旗| 瓮安县| 措美县| 稷山县| 涟水县| 巩义市| 邓州市| 许昌市| 星子县| 靖安县| 广德县| 辽阳县| 饶阳县| 鸡东县| 永平县|