February 27, 2021

Category: node

node, node.js, Nodejs, nvm, TecAdmin

How To Install NVM on CentOS/RHEL 7

NVM stands for Node Version Manager is a command-line utility for managing Node versions. Sometimes you required to deploy multiple node application with different-2 versions. Managing the multiple Node.js versions for differnt-2 projects are a pain for the developers. But NVM helped to easily manage multiple active Node.js versions on a single system. This tutorial […]

Read More
General Articles, node, node.js, nvm, TecAdmin

How To Install NVM on Debian 9

NVM is a command-line version manager for the Node.js programming language. With the help of nvm utility, you can install multiple node.js versions on a single machine. You can also choose specific Node version for applications. You can also create an .nvmrc configuration file to auto select Node version. This tutorial help you to install […]

Read More
node, Nodejs, nvm, TecAdmin

How To Install NVM on CentOS/RHEL 8

NVM stands for Node Version Manager is a command-line utility for managing Node versions. Sometimes you required to deploy multiple node application with different-2 versions. Nvm will help you here. Why NVM ? Node Version Manager has multiple benefits, Like: Use nvm to install multiple node versions on single system. Also switch node version any […]

Read More
centos count directory inodes, cPanel, file count, file system, how to check inodes error linux, inode, inodes, Linux, node

How to check inode usage on linux for a specific cpanel user account or directory

If you’re a linux system administrator you’re probably already familiar with the term “inode”.  For those of you who are not, an inode is basically a way to measure the amount of files a user has.  This includes every email, cache file, image, and so on.  If it has a filename it is considered an […]

Read More
cPanel, Development, GIT, Github, hosting, Install Git, Linux, node, Open Source, Perl Dependencies, Perl Errors, Scripts, shell, Shell Scripts, Software, Tutorials

How to install Git under CentOS running cPanel

Recently when working on creating a new bash script to calculate inode usage I attempted to install Git on a CentOS 5 cPanel server and got a lot of Perl errors. After running the install command from Yum as you can see in the output below it was complaining about dependencies. Here’s a few of […]

Read More
Generate an inode report (file count) for Debian, CentOS, cPanel, RHEL, with INODES shell/bash script
bash, CentOS, CloudLinux, count, cPanel, Debian, Development, files, GIT, hosting, inode usage, inodes, Linux, Linux Mint, node, notify, Open Source, OpenVZ, red hat, report, RHEL, Scripts, shell, Shell Scripts, size, Software, Troubleshooting, Tutorials, Ubuntu

Generate an inode report (file count) for Debian, CentOS, cPanel, RHEL, with INODES shell/bash script

If you have every used shared hosting, or are involved with the hosting business in any way, you should already know what an inode is. Each time a file is created, uploaded, and so on, an inode is created. This inode stores information like ownership, permissions, etc … basically all the metadata about the file. […]

Read More
How to use MongoDB date aggregation operators in Node.js with Mongoose ($dayOfMonth, $dayOfYear, $dayOfWeek, etc)
$dayofmonth in mongodb, aggregation, Any, date, date operator, day, dayOfMonth, dayOfWeek, dayOfYear, Development, hour, Javascript, millisecond, minute, MongoDB, Mongoose, month, node, node.js, schema, seconds, Tutorials, week, year

How to use MongoDB date aggregation operators in Node.js with Mongoose ($dayOfMonth, $dayOfYear, $dayOfWeek, etc)

While I was working on creating a tutorial for MongoDB aggregation I came across a few issues while trying to use the built in date aggregation operators.  I was storing the date in the db as the unix epoch timestamp.  I tried multiple variations such as “new Date()”, “new Date().getTime()”, “Date.now()”, etc, but none of […]

Read More
How to count the number of values found for a field in MongoDB using Node.js and Mongoose (using aggregation)
1154, 1188, aggregation, Any, count, Development, Javascript, js, MongoDB, mongodb aggregation node.js, Mongoose, mongoose sum, node, node.js, nosql, sum

How to count the number of values found for a field in MongoDB using Node.js and Mongoose (using aggregation)

This post is part 1 of a series of posts I will make regarding Node.js and MongoDB.  I will be using the Mongoose module for Node.js, but for the most part the MongoDB syntax is about the same.  The ultimate goal with this series is to take data from a MongoDB database, and use that […]

Read More