這篇文章給大家分享的是有關CloudFoundry命令行如何安裝和卸載插件的內容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。
使用如下的命令行安裝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


卸載舊的插件之后,安裝成功。

感謝各位的閱讀!關于“CloudFoundry命令行如何安裝和卸載插件”這篇文章就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。