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

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.

主站蜘蛛池模板: 忻城县| 丁青县| 东明县| 南岸区| 莱西市| 揭西县| 普定县| 开阳县| 枞阳县| 正安县| 海林市| 嘉祥县| 黑山县| 汝州市| 凉城县| 邵东县| 隆化县| 浮山县| 永登县| 兴城市| 新乡县| 泌阳县| 罗山县| 彰武县| 思南县| 水富县| 綦江县| 涟水县| 清水河县| 桐乡市| 凤山市| 赞皇县| 兴业县| 赤峰市| 黑龙江省| 荥经县| 锦州市| 阜阳市| 吉首市| 增城市| 哈巴河县|