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

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.

主站蜘蛛池模板: 寻甸| 阜阳市| 平江县| 三明市| 枣强县| 那曲县| 磐石市| 治多县| 额尔古纳市| 陵水| 辰溪县| 玉田县| 双流县| 鄯善县| 将乐县| 黄冈市| 和田县| 甘肃省| 黔南| 搜索| 宜春市| 沅江市| 沧州市| 芮城县| 临安市| 泰兴市| 徐州市| 富裕县| 准格尔旗| 浦东新区| 长春市| 大港区| 乌拉特前旗| 江都市| 天气| 五家渠市| 聂拉木县| 调兵山市| 双牌县| 沧州市| 安远县|