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

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.

主站蜘蛛池模板: 彭阳县| 景东| 邵武市| 洛浦县| 镇坪县| 始兴县| 合肥市| 凤山市| 巫山县| 扶沟县| 平湖市| 太仓市| 库尔勒市| 邻水| 康平县| 平江县| 铁岭市| 荔浦县| 贡觉县| 莱芜市| 游戏| 崇仁县| 千阳县| 托克托县| 炉霍县| 巴南区| 邮箱| 鄂尔多斯市| 井研县| 麻栗坡县| 陆良县| 彭阳县| 宝兴县| 富民县| 肇庆市| 邵阳市| 莆田市| 公主岭市| 巴彦淖尔市| 鄯善县| 萍乡市|