`

亚马逊EC2上搭建Node.js

阅读更多

1、安装Node,js编译工具

 

sudo yum install gcc-c++ openssl-devel make curl git

 2、下载Node.js源码、编译、安装

 

wget http://nodejs.org/dist/v0.10.25/node-v0.10.25.tar.gz

tar -xvf node-v0.10.25.tar.gz

cd node-v0.10.25

./configure

make

 

    在此make会需要很长时间,我用了大约半小时左右。

    

make install

    EC2主机环境映射

    

sudo ln -s /usr/local/bin/node /usr/bin/node

sudo ln -s /usr/local/lib/node /usr/lib/node

sudo ln -s /usr/local/bin/npm /usr/bin/npm

sudo ln -s /usr/local/bin/node-waf /usr/bin/node-waf

sudo ln -s /usr/local/bin/supervisor  /usr/bin/supervisor

sudo ln -s /usr/local/lib/supervisor  /usr/lib/supervisor

 3、安装完毕可以使用如下命令测试安装是否成功

      

node -v

 

 

 

 

分享到:
评论

相关推荐

    Beginning.Amazon.Web.Services.with.Node.js.1484206541

    Beginning Amazon Web Services with Node.js teaches any novice Node.js developer to configure, deploy, and maintain scalable small to large scale Node.js applications in Amazon Web Services. Hosting a ...

    JavaScript Applications with Node.js, React, React Native and MongoDB

    JavaScript Applications with Node.js, React, React Native and MongoDB: Design, code, test, deploy and manage in Amazon AWS By 作者: Eric Bush ISBN-10 书号: 0997196661 ISBN-13 书号: 9780997196665 出版...

    Node.js项目实践构建可扩展的Web应用.pdf

    Practical Node.js is a one-stop place for getting started with Express.js 4, Hapi.js, DerbyJS, Mongoskin, Mongoose, Everyauth, Mocha, Jade, Socket.IO, TravisCI, Heroku, Amazon Web Services (AWS), and...

    Building Bots with Node.js

    - Interact with BotKit along with and MongoDB Amazon S3 to create a document management bot in Node.js - Leverage ICR and Azure Table Storage from Node.js to create a bug tracking bot - Integrate ...

    Mastering Node.js(2nd) epub

    Mastering Node.js(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Advanced Node.js Development epub

    Advanced Node.js Development 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Advanced Node.js Development_Code 源码

    Advanced Node.js Development_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Node.js 6.x Blueprints epub

    Node.js 6.x Blueprints 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Building.Bots.with.Node.js.epub

    Interact with BotKit along with and MongoDB Amazon S3 to create a document management bot in Node.js Leverage ICR and Azure Table Storage from Node.js to create a bug tracking bot Integrate Force....

    Building Scalable Apps with Redis and Node.js

    英文版epub版本的 Building Scalable Apps with Redis and Node.js 作者 Joshua Johanan 亚马逊评分高达4.4/5分

    Learn Node.js by Building 6 Projects epub

    Learn Node.js by Building 6 Projects 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Learn Node.js by Building 6 Projects_Code 源码

    Learn Node.js by Building 6 Projects_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Node.js项目实践:构建可扩展的Web应用

    他还是其他 4 本 JavaScript 和 Node.js 图书的作者,包括亚马逊上客户端服务器类的畅销书:Rapid Prototyping with JS: Agile JavaScript Development。 Azat 是开源 Node.js 项目:ExpressWorks、mongoui、...

    Restful Web API Design with Node.Js 10(3rd) epub

    Restful Web API Design with Node.Js 10(3rd) 英文epub 第3版 本资源转载自网络,如有侵权,请联系上传者或csdn删除查看此书详细信息请在美国亚马逊官网搜索此书

    Serverless Applications with Node.js

    Serverless Applications with Node.js walks you through building serverless apps on AWS using JavaScript. Inside, you'll discover what Claudia.js brings to the table as you build and deploy a scalable ...

    amazon-kinesis-client-nodejs, 亚马逊 node.js Kinesis客户端库.zip

    amazon-kinesis-client-nodejs, 亚马逊 node.js Kinesis客户端库 Node.js Kinesis客户端库这个软件包为 Amazon Kinesis客户端库 ( KCL ) MultiLangDaemon提供了一个接口,用于 node.js 框架。开发人员可以使用KCL...

    Node.js-Node.js持久缓存模块支持多种后端存储

    Node.js持久缓存模块支持多种后端存储 (包括本地文件系统、Amazon S3、Google Drive / Cloud, PostgreSQL等)

    Squiss, 用于 node.js的Amazon SQS轮询器.zip

    Squiss, 用于 node.js的Amazon SQS轮询器 Squiss node.js 4和更高版本的Amazon SQS轮询器和单个队列客户端const poller = new Squiss({ queueName: 'my-sqs-queue', bodyForma

    [Mastering.Node.js(2013.11) 精通Node.js

    学习node.js的好书 下面是目录: Preface 1 Chapter 1: Understanding the Node Environment 7 Extending JavaScript 9 Events 10 Modularity 12 The Network 13 V8 15 Memory and other limits 16 Harmony 18 The ...

Global site tag (gtag.js) - Google Analytics