您的位置:首页 > 其它

CloudFoundry命令行安装和卸载插件

2020-02-17 05:23 211 查看

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


卸载旧的插件之后,安装成功。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 点赞
  • 收藏
  • 分享
  • 文章举报
汪子熙 博客专家 发布了6646 篇原创文章 · 获赞 639 · 访问量 109万+ 他的留言板 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: