Category: General

Bash script to check if a service is running

In production sites, we normally need to ensure that everything must go fine. However, in many cases, some server services are terminated which causes your website broken/died. For example, sometimes …

Setting up Nginx, HHVM, and Percona for Laravel

HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides. This tutorial …

Optimizing Nginx for Video sites

Nginx is commonly used for static content, and in many cases, it is used for video streaming. This article metions how to optimize nginx for video sites. Weeks ago I …

Using PHP 5.4 5.5 with VirtualMin

VirtualMin is one of the most well-known free website control panel for *Nix users. However, their related software is quite out-dated. One of the most complaints when using Webmin is …