This short blog entry will cover how to install nodejs and npm for NodeJS on CentOS. First, install epel repository: [bash]yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm[/bash] For CentOS 7, use [bash]yum install http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm[/bash] Then, install nodejs and npm via yum: [bash]yum install nodejs npm[/bash] Finally, go to node project root directory and run: [bash]npm […]
Daily Archives: August 18, 2014
2 posts
Many of us might think about changing the SSH port is a must-have item for enhancing security. However, the fact is that if we do not fully understand how does the OS handle ports, we might make mistake on security by doing this. You can check the article Why putting SSH […]