Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@ShingoOikawa

AzureをLinuxのコマンドラインから操作するメモ

More than 5 years have passed since last update.

■Node.js環境の構築

$ wget http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz
$ tar xf node-v0.10.5.tar.gz
$ cd node-v0.10.5
$ ./configure
$ make
$ sudo make install

■Azure CLIのインストール

$ sudo /usr/local/bin/npm install azure-cli -g

■AzuerCLIの確認

$ azure
info:             _    _____   _ ___ ___
info:            /_\  |_  / | | | _ \ __|
info:      _ ___/ _ \__/ /| |_| |   / _|___ _ _
info:    (___  /_/ \_\/___|\___/|_|_\___| _____)
info:       (_______ _ _)         _ ______ _)_ _ 
info:              (______________ _ )   (___ _ _)
info:    
info:    Windows Azure: Microsoft's Cloud Platform
info:    
info:    Tool version 0.8.3
help:    
===============Cut===============

■アカウント情報のインストール

$ azure account download
$ azure account import "xxxxxxxx-x-xx-xxxx-credentials.publishsettings"
$ azure account list
info:    Executing command account list
data:    Name           Id                                    Current
data:    -------------  ------------------------------------  -------
data:    xxxxxxxx       xxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxxx  true   
info:    account list command OK

■仮想マシン一覧を取得

$ azure vm list

終了

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ShingoOikawa
元インフラエンジニア。開発チャレンジ。
dts
コンサルティングから設計、開発、HW/SWの選定、運用、保守までシステムをサポートする総合情報サービス企業です。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?