Next, let’s configure NodeJS sources by setting the -prefix flag to /usr/local, so that NodeJS will be installed in this location and will be usable to all users on the VPS. We are going to download and extract NodeJS archive within the /opt directory, so proceed using the commands below: # cd /opt At the time of writing this article, the latest NodeJS version is v0.10.30. Make sure you always get the latest version of NodeJS. Since we are going to build NodeJS from source, we need to install some build dependencies as well as some useful packages, so go ahead and install these packages using the following yum commands: # yum install yum-utils bzip2 bzip2-devel wget curl tar OK, before proceeding any further, SSH to your server, initiate a screen session and make sure your CentOS VPS is up-to-date by issuing the following commands: # screen -U -S node-screen It utilizes the power of node’s streams, so you get fast builds that don’t write intermediary files to disk, especially when developing on one of our blazing fast SSD VPS hosting plans. ![]() It is a must-have tool for any web-developer out there. ![]() NodeJS uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.īower is a package manager for managing web frameworks, libraries, utilities, assets etc. It is a platform built on Chrome’s JavaScript runtime ( V8) for easily building fast, scalable network applications. The following article will guide you through the steps of installing NodeJS, Bower and Gulp on a CentOS 7 VPS.
0 Comments
Leave a Reply. |