1, download NodeJs
Download the official website: http://nodejs.cn/download/
2, upload to linux system
I am here to upload / disk / nodejs directory below, xftp upload tool.
3, installation
In the following / disk / nodejs directory, create a soft connection, perform the following operations
After you create a flexible connection is completed to see if the installation was successful, do the following
Here nodejs on the installation finished.
4, create a small program
I was here in the following / disk / nodejs directory, create a main.js file, create a command file and reads as follows
After creating main.js complete, execute the following command
Case Reference Address: http://www.runoob.com/nodejs/nodejs-http-server.html