How to install LEMP stack (nginx, MariaDB/MySQL and php) on CentOS

The LEMP stack is an increasingly popular web service stack, powering mission-critical web services in many production environments. As the name implies, the LEMP stack is composed of Linux, nginx, MariaDB/MySQL and PHP. nginx is a high performance and lightweight replacement of slow and hard-to-scale Apache HTTP server used in the traditional LAMP stack. MariaDB […]
Continue reading…

 

How to monitor Nginx web server from the command line in real time

Once Nginx web server is up and running in a production environment, you will want to monitor its activity in real time. In fact, general network monitoring software such as Nagios, Zabbix, Munin provide support for real-time Nginx monitoring. However, if you do not need comprehensive reporting capabilities or long-term statistics offered by such tools, […]
Continue reading…

 

How to set up a lightweight web server on Raspberry Pi

There are a variety of web server software available for Linux-based platforms including Raspbian. Using one of those available web server software, we can turn Raspberry Pi into a 24/7 available portable web server. In this case, however, we must understand that Raspberry Pi has hardware limitations in terms of CPU clock speed, memory, etc. […]
Continue reading…

 

How to monitor a Linux server and desktop remotely from web browser

When it comes to monitoring a Linux box, there are more than enough options to choose from. While there are many production-quality monitoring solutions (e.g., Nagios, Zabbix, Zenoss), boasting of fancy UI, monitoring scalability, comprehensive reporting capabilities, etc., these solutions are probably an overkill for most of us end users. If all you need is […]
Continue reading…

 

How to compile and install Nginx web server from source on Linux

As of today, Nginx is reportedly the most popular web server that powers the top-1000 websites on the Internet, and that is for a good reason. Built under the event-driven architecture, Nginx was designed with scalability in mind from day one. With its ability to sustain 10K concurrent connections with limited hardware, it’s no wonder […]
Continue reading…