node version manager

n is node version manager. To install, run

To list versions of node.js available, run

To install latest stable node.js


Install Microsoft Azure CLI on Ubuntu

To install Microsoft Azure CLI on Ubuntu, run

Now run

You will be able to use az command now.

Autenticate with Azure


See az

Install PHP 7.2 on CentOS from yum

First you need to install Remi repository

Enable epel repo with

On CentOS 7

On CentOS 6

Enable PHP 7.2

To install PHP, run

Downgrading PHP version

if you ever want to change PHP version, lets say PHP 7.0, do the following. Remove current PHP

Disable PHP 7.2 repo.

Enable PHP 7.0 repo

Now install PHP as above.

PHp Binary

PHP cli will be installed in /usr/bin/php72, you can create a symlink if you want.


To install php-fpm module, run

To start php-fpm, run

See CentOS, php

Nginx upstream timed out

Edit nginx.conf

Inside http {} block, add

See nginx