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

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-52 ~]$ sudo yum install --enablerepo=epel -y nodejs 
[ec2-user@ip-172-31-22-52 ~]$ 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.

主站蜘蛛池模板: 潍坊市| 河间市| 临桂县| 承德市| 安宁市| 唐海县| 永和县| 弋阳县| 德格县| 邮箱| 南通市| 徐闻县| 北碚区| 商都县| 柳林县| 巴东县| 灯塔市| 电白县| 延安市| 安义县| 鲁甸县| 涡阳县| 天峻县| 惠东县| 开远市| 房产| 宁晋县| 当涂县| 栾川县| 楚雄市| 五指山市| 甘德县| 龙里县| 荔波县| 彭山县| 和硕县| 越西县| 颍上县| 正蓝旗| 博白县| 阳朔县|