How to Upgrade Node.js via NPM Rumi, August 23, 2017 Steps to Upgrade Node.Js Use the following steps to install or upgrade node.js to latest available version. Current NodeJs Version – First check current nodejs version on your system using following command. In my case it is v0.10.37.rahul@tecadmin:~$ node -v v0.10.37 Clean Cache Forcefully – Now clean all npm cache from your system forcefully. rahul@tecadmin:~$ sudo npm cache clean -f npm WARN using –force I sure hope you know what you are doing. Install n Module – After cleaning all cache from your system, now install n modules using npm command. rahul@tecadmin:~$ sudo npm install -g n /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n n@2.0.2 /usr/local/lib/node_modules/n Install Nodejs – Let’s install or update latest nodejs version on your system using n module. rahul@tecadmin:~$ sudo n stable install : node-v6.0.0 mkdir : /usr/local/n/versions/node/6.0.0 fetch : https://nodejs.org/dist/v6.0.0/node-v6.0.0-linux-x64.tar.gz ############################################################ 100.0% installed : v6.0.0 Setup Binary Link – Now link your node binary with latest nodejs installed binary file using following command. rahul@tecadmin:~$ sudo ln -sf /usr/local/n/versions/node/6.0.0/bin/node /usr/bin/node Check Nodejs Version – Finally recheck your nodejs version. You will find that it showing latest version on your system. rahul@tecadmin:~$ node -v v6.0.0 Src: https://tecadmin.net/upgrade-nodejs-via-npm/ Related Administrations Configurations (Linux) Node.js
PHP 7.0 on CentOS/RHEL 6.9 and 7.4 using Yum October 9, 2017October 9, 2017 Before beginning this, it is assumed that you already have installed LAMP on your server. To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum: CentOS/RHEL 7.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm CentOS/RHEL 6.x: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm… Read More
Powerdns: rec_control command September 4, 2011 The rec_control get command can be used to query the following statistics, either single keys or multiple statistics at once: all-outqueries counts the number of outgoing UDP queries since starting answers0-1 counts the number of queries answered within 1 milisecond answers100-1000 counts the number of queries answered within 1 second… Read More
Upgrade Python 2.7 to 3.6 and installing pip on CentOS 7 April 2, 2021 Installing Development Tools Development tools are required for building Python modules. To install the necessary tools and libraries type: sudo yum groupinstall ‘Development Tools’ Enable Software Collections (SCL) Software Collections , also known as SCL is a community project that allows you to build, install, and use multiple versions of… Read More