
sudo yum update -y install Extra Repositories.

What do you see now? This example is a bit complicated for a beginner but not really hard to understand.What the above code does is that it will display ‘Hello World’ on your browser if you visit. Install Node-Red on Centos 7 once you have centos installed you will need to make sure it has been updated. Use the following command to run the application. Http.createServer(function (request, response) )

You can copy and paste it but I highly recommend to type because this is a very good you can get familiar with Node.js. Now open the hello.js with your text editor and use the following piece of code. Then to run the Node.js application we just created we need to use the following command. All you have to do is type the following piece of code on a file that needs to be saved as something.js. Writing a hello world app in Node.js is very easy! Easier than python. Sudo yum install npm Write Our First Node.js Program
