Category: Linux

Do not put SSH port to above 1024

Many of us might think about changing the SSH port is a must-have item for enhancing security. However, the fact is that if we do not fully understand how does …

How to read Linux top command output

When using Linux, the top command might be the most used command for system administrators. This provides a quick look on how your server / VPS is performing and we …

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 …