Previously I posted a tutorial about how to get it installed on Ubuntu server and today, I will show you how to make it done on CentOS.
- A working CentOS server.
- Windows users should download Putty while Mac and Linux users can simply use Terminal
- You’ll also need to have a basic skill to use Putty and to navigate through SSH.
- Your server must have necessary software to host a website. In this case are: Apache, PHP5, and MySQL
- About 15 minutes of your time and a cup of tea
Step-1 Login to your server as root user.
First update with YUM
yum update -y
This process will take some time to complete
Step-2 Next, we may need to install related dependencies:
yum -y groupinstall "Development Tools"
Step-3 Now issue following command to install Git on CentOS
yum -y install git
Step-4 Next need to issue several commands to start installing Node.js
git clone git://github.com/joyent/node.git
Next, now go to the node directory:
Now let’s start the configuration:
Now type make and hit Enter. This would take more than 5 minutes to complete.
Finally, Run this last command syntax to build up Node.js from its official Git that we’ve just cloned before:
Congratulation, you have installed Node.js successfully.
Now you can confirm which version of NodeJS is installed using below commnad:
So this is all you have to do, Please Give your opinion below if you experience any issues or to discuss your ideas and experiences.