使用如下的指令行安裝CloudFoundry指令行插件:
$ cf install-plugin multiapps-plugin.win64 -f
遇到如下錯誤消息:
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. FAILED
google發現,因為我現有的CloudFoundry插件,其提供的指令和即将安裝的插件出現沖突了,比如兩者都提供cf deploy指令。是以要先将已安裝的插件解除安裝。
Google找到解除安裝插件的做法:
cf uninstall-plugin MtaPlugin
解除安裝舊的插件之後,安裝成功。
本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。