This blog is running over hexo blog framework which is powered by NodeJS.
The first thing, I did is to make hexo run at the boot of Ubuntu server or after hexo crashes somehow. There are multiple ways to do this, but here I will describe the latest practice over Ubuntu server.
I will describe for Ubuntu 16.04.2 LTS. To learn your ubuntu distribution version use command below;
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS