CloudFoundry命令行安裝和卸載插件

使用以下的命令行安裝CloudFoundry命令行插件:app

$ cf install-plugin multiapps-plugin.win64 -fgoogle

遇到以下錯誤消息:
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Plugin multiapps v2.2.1 could not be installed as it contains commands with names and aliases that are already used: bg-deploy, deploy, download-mta-op-logs, mta, mta-ops, mtas, purge-mta-config, undeploy, dmol. FAILEDspa

google發現,由於我現有的CloudFoundry插件,其提供的命令和即將安裝的插件出現衝突了,好比二者都提供cf deploy命令。所以要先將已安裝的插件卸載。插件

Google找到卸載插件的作法:命令行

cf uninstall-plugin MtaPluginblog


卸載舊的插件以後,安裝成功。rem

要獲取更多Jerry的原創文章,請關注公衆號"汪子熙":
it

相關文章
相關標籤/搜索