官术网_书友最值得收藏!

Installing node.js

The first thing we need to do is install node.js. Amazon Linux is based on Red Hat Enterprise Linux (RHEL) and uses the Yum utility to manage and install packages. The OS comes with Extra Packages for Enterprise Linux (EPEL) preconfigured in it. As we would expect, node.js is present in EPEL:

[ec2-user@ip-172-31-22-234 ~]$ sudo yum install --enablerepo=epel -y nodejs
[ec2-user@ip-172-31-22-234 ~]$ node -v
v0.10.48  

This is definitely an old version of the node but it's going to be good enough for what we need.

主站蜘蛛池模板: 信丰县| 茌平县| 股票| 辽宁省| 石泉县| 大英县| 惠安县| 酉阳| 虞城县| 广平县| 彭山县| 莎车县| 内乡县| 凭祥市| 闸北区| 吉安市| 衡山县| 巫山县| 华亭县| 库尔勒市| 滨海县| 澄迈县| 赞皇县| 河间市| 宁安市| 新田县| 宜宾县| 若尔盖县| 麦盖提县| 克拉玛依市| 深州市| 景泰县| 元氏县| 弥渡县| 英山县| 克什克腾旗| 平利县| 三门峡市| 石棉县| 隆回县| 互助|