![]() ![]() Now start the web server using the command. Create a file demo_server.js sudo nano demo_server.jsĪnd add the following content var http = require('http') Let’s create a web server with the “Welcome Node.js” text. If you want to test your node.js install. Step 4 – Create Demo Web Server (Optional) ![]() You may try a demo HTTP server as given below. You have successfully installed Node.js on your CentOS 7 system. You can find more details about current version on node.js official website.
0 Comments
Leave a Reply. |