Deploying a Containerized Nginx and PHP-FPM Stack on CentOS 7
Host System RequirementsTarget Operating System: CentOS 7.xMinimum Resources: 4GB RAMInstalling the Docker EngineFirst, update the system repositories and remove any obsolete Docker versions:sudo yum update -y
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
...
Posted on Wed, 20 May 2026 16:24:58 +0000 by jrobles
Nginx Location Directive Matching Rules and Web Server Configuration
Event Block Optimization
events {
worker_connections 4096;
use epoll;
accept_mutex on;
multi_accept on;
}
The worker_connections parameter sets the upper limit of simultaneous connections each worker process handles. The theoretical maximum client capacity equals worker_processes × worker_connections, though actual limits depen ...
Posted on Wed, 20 May 2026 04:05:52 +0000 by laserlight
Comprehensive Docker Setup and Usage Guide
Installing Docker on Linux
curl -fsSL https://get.docker.com | sudo bash
If the installation complains about missing dependencies:
sudo apt-get -f install
Granting Non-root Access
sudo usermod -aG docker $USER
newgrp docker
Verify the daemon is reachable:
docker info
Speeding Up Pulls with a Mirror
Create or edit /etc/docker/daemon.json:
{
...
Posted on Mon, 18 May 2026 08:00:41 +0000 by sellfisch
Installing Zabbix from Source Code
1. Zabbix Server Installation
First, install the required dependencies for compiling Zabbix from source:
yum install libxml2-devel net-snmp-devel libevent-devel curl-devel pcre* mariadb-devel php-fpm
Configure and compile Zabbix with the necessary options:
./configure --prefix=/usr/local/zabbix --enable-server --enable-agent \
--enable-pro ...
Posted on Sun, 17 May 2026 23:54:46 +0000 by paul_so40
Building an Nginx Docker Image Using AlmaLinux
Creating the Base Image
This process builds an Nginx imagee from AlmaLinux:latest that automatically starts Nginx when containers launch.
Setting Up Files
mkdir ~/docker-nginx
cd ~/docker-nginx
echo 'Nginx operational' > index.html
Dockerfile Configuration
FROM almalinux:latest
RUN yum clean all && \
yum -y install epel-release ...
Posted on Sun, 17 May 2026 22:53:27 +0000 by stephaneey
Installing and Configuring NGINX with SSL on Red Hat Enterprise Linux
Prerequisites
Ensure you have root or sudo privileges on a Red Hat Enterprise Linux 9 or CentOS Stream system.
Configuring the NGINX Repository
Install the yum utilities package to manage repositories:
sudo dnf install -y yum-utils
Create the official NGINX repository configuration file:
sudo tee /etc/yum.repos.d/nginx.repo <<'EOF'
[ngin ...
Posted on Sun, 17 May 2026 11:32:36 +0000 by bodzan
Optimization Strategies and I/O Models for Apache and Nginx Web Servers
Understending I/O Models
In high-performance networking, the interaction between the application (A) and the system kernel (B) is defined by two primary dimensions: Synchronicity and Blocking behavior.
1. Synchronous vs. Asynchronous
Synchronous: The requesting program must actively query the status of a task. It remains responsible for checki ...
Posted on Sun, 17 May 2026 01:14:28 +0000 by slava_php
Keepalived High Availability Configuration and Testing
Virtual IP Configuration
virtual_ipaddress {
10.0.0.3/24 dev eth0 label eth0:1
}
track_script {
health_check
}
Failover Testing
[root@lb01 ~]# systemctl is-active nginx
active
[root@lb01 ~]# ip a | grep 0.3
inet 10.0.0.3/24 scope global secondary eth0:1
[root@lb01 ~]# systemctl stop nginx
[root@lb01 ~]# ip a | grep 0.3
# VIP migrated after ...
Posted on Sat, 16 May 2026 22:21:57 +0000 by BrianG
Deploying a Laravel Stack with Docker Compose
To establish a robust development environment for Laravel, we can orchestrate Nginx, PHP-FPM, MySQL, and Redis containers using Docker Compose. This approach ensures environment consistency and easy dependency management.
1. Project Structure and Configuration
Create a root directory for your project, such as /opt/laravel-app. Inside this direc ...
Posted on Fri, 15 May 2026 19:53:43 +0000 by rajivv
Live Streaming System Architecture for Academic Project
This document outlines the architecture and implementation details of a live streaming platform developed as an undergraduate graduation project.
1: Development Environment
Linux server configuration: debian10, gcc 10.2.1, php7.4.3, mysql 5.7.26, nginx1.15.11
Windows development environment: nginx1.15.11, php7.4.3, mysql 5.7.26 via XAMPP or sim ...
Posted on Thu, 14 May 2026 15:16:08 +0000 by fredcool