安装Azure CLI 2.0的前提是:机器中必须有 Python 2.7.x 或 Python 3.x。如果机器中没有其中任何一个Python版本,请及时安装

 

1.准备一台CentOS 6.9的机器

[[email protected] ~]# cat /etc/redhat-release 
CentOS release 6.9 (Final)

 

2.按照我的另一篇博客,安装Python 2.7.x

[[email protected] ~]# python -V
Python 2.7.14

 

3.使用如下命令安装CLI2.0

[[email protected] ~]# curl -L https://aka.ms/InstallAzureCli | bash

 CentOS6.x机器安装Azure CLI2.0【2】

 

4.验证CLI2.0已经成功安装

CentOS6.x机器安装Azure CLI2.0【2】

 

相关文章:

  • 2021-10-01
  • 2021-07-22
  • 2021-11-17
  • 2021-06-13
  • 2022-02-12
  • 2021-08-30
  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2021-08-30
  • 2021-10-26
  • 2021-11-17
相关资源
相似解决方案