Node.js Ubuntu安装 [英] Node.js Ubuntu Installation

查看:131
本文介绍了Node.js Ubuntu安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照有人在stackoverflow上建议的方式执行指令:


http://www.giantflyingsaucer.com/blog/?p=2284


执行完所有步骤后,我命令

  git clone https://github.com/joyent /node.git&& cd节点

显示

 克隆..... 
错误:RPC失败;结果= 56,HTTP代码= 100
致命:远端意外挂断

I我第一次使用Ubuntu,终端等。你能建议做什么?是否有任何配置问题?



感谢您提供这样的问题...

解决方案

如果您对使用node不熟悉,我会建议您不要使用git来直接从直接下载源代码nodejs.org



选择0.4.11分支,其更稳定。


从在那里,请遵循以下指示:
$ b $ pre $ sudo apt-get install libssl-dev(可能不需要,但是不管怎么说)
cd *您的下载目录*
tar xvf node-v0.4.11.tar.gz
cd node-v0.4.11
./configure
make
sudo make install

如果这仍然会导致问题,这个网站允许你快速创建节点的安装脚本,你的里程可能会随着它而变化。


I am following instructions from as someone suggested on stackoverflow:

http://www.giantflyingsaucer.com/blog/?p=2284

After following all the steps when I command

git clone https://github.com/joyent/node.git && cd node

it shows

cloning..... 
error: RPC failed; result=56, HTTP code = 100
fatal: The remote end hung up unexpectedly

I am using Ubuntu, terminals, etc. for the very first time. Can you please suggest what to do? Is there any problem with the configuration?

Thanks in advance for bearing such a question...

解决方案

If you are new to using node, I would suggest instead of bothering with git just download the source straight from nodejs.org.

Choose the 0.4.11 branch, its more stable.

From there, follow these directions:

sudo apt-get install libssl-dev (may not be needed, but good idea anyways)
cd *your download dir*
tar xvf node-v0.4.11.tar.gz
cd node-v0.4.11
./configure
make
sudo make install

If that still seems to cause problems, this site allows you to quickly create an install script for node, your mileage may vary with it.

这篇关于Node.js Ubuntu安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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