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

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.

主站蜘蛛池模板: 临沂市| 巨鹿县| 禹城市| 韶山市| 西华县| 台中县| 慈利县| 大连市| 盐边县| 开封县| 平和县| 清镇市| 海林市| 中山市| 游戏| 邳州市| 咸丰县| 察隅县| 鞍山市| 贵溪市| 延安市| 崇明县| 攀枝花市| 湟源县| 噶尔县| 义乌市| 平谷区| 丰城市| 泰顺县| 永胜县| 邻水| 万荣县| 稻城县| 永福县| 泸溪县| 南漳县| 肇源县| 普兰县| 安图县| 铜梁县| 建宁县|