You can also install node manager using yum on RedHat or CentOS as explained in this section.įor this, we need to use add nodesource distribution to our yum repository. Verify that the mongodb Node.js module is installed successfully. In this example, we are installing MongoDB module to Node.js. To install an module, use npm install command as shown below. Verify that the npm is installed properly.Īs you see below, currently node.js does not have any modules installed. You can install additional packages to Node.js using npm. Verify that the Node.js is successfully installed. Tar -strip-components 1 -xzf /usr/save/node-v4.2.1-linux-圆4.tar.gz ![]() This will untar all Node.js related binaries into the appropriate directories under /usr/local. Next, do the following to install it under /usr/local/bin. Note: If you get “ERROR: certificate common name `*.’ doesn’t match requested host name `’, then use the following to skip the certificate check.
0 Comments
Leave a Reply. |