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

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.

主站蜘蛛池模板: 益阳市| 绥中县| 博客| 长宁区| 浪卡子县| 历史| 额济纳旗| 留坝县| 都昌县| 宜章县| 南召县| 嘉禾县| 白玉县| 建宁县| 闵行区| 竹山县| 罗山县| 汕尾市| 滨州市| 罗源县| 聊城市| 大余县| 屏山县| 红安县| 简阳市| 象州县| 灯塔市| 塘沽区| 周宁县| 道孚县| 依安县| 陕西省| 浦县| 衡东县| 乌鲁木齐县| 台中市| 舞阳县| 申扎县| 延川县| 呼和浩特市| 佛冈县|