zoukankan      html  css  js  c++  java
  • Azure管理入口指南

    如果要在Azure上进行任何操作,目前有三种操作方式,以下是三种操作方式的安装指南。

    1. Azure Portal方式

    登录Azure门户网站https://azure.microsoft.com/en-us/,输入订阅账号与密码

    2. Azure PowerShell方式

    2.1 安装预备条件

    1. 安装最新版本的PowerShell:https://github.com/PowerShell/PowerShell/releases
    2. 安装.Net Framework4.7.2或者更新的版本
    3. 确保已经安装最新版本的PowerShellGet,在PowerShell中运行: Install-Module -Name PowerShellGet -Force

    2.2 安装 Azure PowerShell Module

    以管理员方式运行PowerShell命令:

    if ($PSVersionTable.PSEdition -eq 'Desktop' -and (Get-Module -Name AzureRM -ListAvailable)) {
        Write-Warning -Message ('Az module not installed. Having both the AzureRM and ' +
          'Az modules installed at the same time is not supported.')
    } else {
        Install-Module -Name Az -AllowClobber -Scope AllUsers
    }
    

    2.3 登录 Azure PowerShell Module

    以管理员方式运行PowerShell命令:Connect-AzAccount 登录Azure,输入订阅账号与密码

    3. Azure CLI方式

    1. 以管理员方式运行PowerShell,运行命令:Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .AzureCLI.msi 运行完毕后,重启PowerShell
    2. 以管理员方式运行PowerShell或者CMD,运行命令:az login 登录Azure,输入订阅账号与密码
  • 相关阅读:
    待完成
    [NOI2006]神奇口袋
    [UVA 10529]Dumb Bones
    概率与期望习题总结
    [SHOI2012]随机树
    [luogu3412]仓鼠找sugar II
    [CF908D]New Year and Arbitrary Arrangement
    [清华集训]小 Y 和恐怖的奴隶主
    [SDOI2015]序列统计
    [luogu3600]随机数生成器
  • 原文地址:https://www.cnblogs.com/shenhaiyu111/p/14187959.html
Copyright © 2011-2022 走看看