Linux Utility

How to Install Node.js and npm on Linux CentOS 7 RHEL

The node.js in most cases in daily usage is used for Laravel and Magento platforms, but not only, for example, but some developers also use the npm-sass module to compress theme CSS files and increase web performance. As we know from our experience this is the new modern development way. Node.js is a cross-platform JavaScript run-time environment that allows server-side execution of JavaScript code. Node.js is mainly used on the back-end, but it is also popular as a full-stack and front-end solution. npm, short for Node Package Manager is the default package manager for Node.js and the world’s largest software repository for the publishing of open-source Node.js packages. In this how-to, we will show you two different ways of installing Node.js and npm. In the first part of this how-to, we will install Node.js and npm using the yum package manager from the NodeSource repository. In the second part, we will teach you how to…

Read time: 2 mins Read more »

How To Install NVM on Linux CentOS/RHEL 7 VPS, VDS

The NVM stands for Node Version Manager is a command-line utility for managing Node versions. In most cases, it is used for Laravel and Magento websites but there are times where you required to deploy multiple node applications with different-2 versions. Managing the multiple Node.js versions for different-2 projects are a pain for the developers. But NVM helped to easily manage multiple active Node.js versions on a single Linux system. So how to installing NVM on CentOS 7 it RHEL system. NVM provides a simple bash script for the installation on Linux systems. Open a terminal on your system or connect a remote system using SSH. Make sure your system have curl installed. sudo yum install curl -y Then execute the installer script like the following command: curl | bash Basically, NVM keeps all files under the $HOME/.nvm directory. Then it sets the environment in the users .bashrc file. You need to load this…

Read time: 2 mins Read more »

Warning: file_get_contents([YOUR SITE URL]): failed to open stream: Connection refused in /var/www/vhosts/ on line 821