创建对于Linux Azure的命令行工具的虚拟机 [英] Creating a Virtual machine using Azure command line tool for linux

查看:132
本文介绍了创建对于Linux Azure的命令行工具的虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用Linux的Azure的命令行工具,

Trying to use Azure command line tool for linux,

下面是当我试图创建一个虚拟机的屏幕输出。

Below is the screen output when i am trying to create a vm.

path.existsSync现在叫 fs.existsSync
信息:执行命令创建虚拟机
+仰望图像结果
+仰望云服务结果
+创建云服务结果
+检索存储帐户结果
tty.setRawMode:使用 process.stdin.setRawMode()来代替。
输入VMcliusername密码:

path.existsSync is now called fs.existsSync. info: Executing command vm create + Looking up image
+ Looking up cloud service
+ Creating cloud service
+ Retrieving storage accounts
tty.setRawMode: Use process.stdin.setRawMode() instead. Enter VM 'cliusername' password:

在这个阶段,我输入密码并按下回车键,但仅此而已happens.Also什么消息tty.setRawMode:使用 process.stdin.setRawMode()代替。该显示在screen.Plz帮助!

At this stage,I entered the password and hit enter but nothing more happens.Also what is the message "tty.setRawMode: Use process.stdin.setRawMode() instead." that is shown on the screen.Plz help !!!

推荐答案

之后,我们弄清楚这个问题就是Node.js的V0.8兼容性问题有关。

After I had discussion with respective team, we figure it out that this problem is related to node.js v0.8 compatibility issue.

看来你正在运行最新版本的节点,并且是在安装使用以下命令蔚蓝的工具不符合最新的节点V0.8兼容:

It seems that you are running latest node version and the azure tool you installed using following command are not compatible with latest node v0.8:

npm install azure --global

解决办法是存在的Dev分支 https://github.com/WindowsAzure / Azure的SDK-的节点/ 不中高手。从故宫库服务包不更新与此有关。

The fix is there in the DEV branch https://github.com/WindowsAzure/azure-sdk-for-node/ NOT in MASTER. The package served from the npm repository is not updated with this.

有关暂且可以从Dev分支创建的软件包,这个:

For the time being you can create package from dev branch, for this:


  1. https://github.com/WindowsAzure下载的zip文件/ Azure的SDK-的节点/树的/ dev

  2. 解压缩,并从命令提示符切换到解压目录

  3. 通过运行以下命令(注意:这将生成文件Azure的0.6.1.tgz):创建包

  1. Download the zip file from https://github.com/WindowsAzure/azure-sdk-for-node/tree/dev
  2. Unzip and from the command prompt switch to extracted directory
  3. Create the package by running the command (Note: This will generate the file azure-0.6.1.tgz):

NPM包

通过运行以下命令安装该软件包:

Install this package by running the command:

NPM安装蔚0.6.1.tgz --global

这应该解决您的问题。

This should solve your problem.

这篇关于创建对于Linux Azure的命令行工具的虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆