使用如下的命令行安裝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
卸載舊的插件之後,安裝成功。
閱讀更多 汪子熙的游泳故事 的文章