CloudFoundry命令列安裝和解除安裝外掛

i042416發表於2020-02-18

使用如下的命令列安裝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

CloudFoundry命令列安裝和解除安裝外掛


google發現,因為我現有的CloudFoundry外掛,其提供的命令和即將安裝的外掛出現衝突了,比如兩者都提供cf deploy命令。因此要先將已安裝的外掛解除安裝。


Google找到解除安裝外掛的做法:

CloudFoundry命令列安裝和解除安裝外掛


cf uninstall-plugin MtaPlugin

CloudFoundry命令列安裝和解除安裝外掛 CloudFoundry命令列安裝和解除安裝外掛

解除安裝舊的外掛之後,安裝成功。

CloudFoundry命令列安裝和解除安裝外掛


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2675982/,如需轉載,請註明出處,否則將追究法律責任。

相關文章