Installing and Setting Up Nginx on CentOS 7
Prerequisites
Log in to your CentOS 7 server using an account that has sudo privileges. Ensure that no other service (such as Apache) is occupying port 80 or 443, as this would prevent Nginx from starting.
Installing Nginx
Nginx is available from the EPEL (Extra Packages for Enterprise Linux) repository. Follow these steps to install it:
Inst ...
Posted on Fri, 31 Jul 2026 16:43:08 +0000 by dougmcc1
Comprehensive Guide to Nginx Web Service Architecture
HTTP Protocol Request and Response Process
Perform a simple HTTP request to observe the process:
curl -v www.baidu.com
HTTP Request Message
Request Line
Request Method: GET (read/retrieve) or POST (write/submit)
Request Resource: e.g., index.html, oldboy.jpg
Protocol Version: HTTP/1.0 (short-lived TCP connections), HTTP/1.1 (persistent TCP ...
Posted on Fri, 24 Jul 2026 16:54:56 +0000 by rakuci
Resolving Apache Startup Error: make_sock Could Not Bind to Address
When restarting Apache after cleaning log directories, the service fails with the following error:
[root@localhost apache]# /etc/init.d/*_apache restart
Stopping *_apache: [FAILED]
Starting *_apache: (98)Address already in use: make_sock: could not bind to address [::]:99
(98)Address already in use: make_s ...
Posted on Fri, 10 Jul 2026 17:40:37 +0000 by rockobop
Essential Nginx Configuration Parameters Explained
The worker_processes directive determines the number of worker processes Nginx should spawn. A typical Nginx instance runs one master process that manages multiple worker processes based on this setting. The default value is 'auto', which automatically creates a number of worker processes equal to the available CPU cores. When using SSL certifi ...
Posted on Tue, 23 Jun 2026 17:54:17 +0000 by Gish
Nginx Installation and Reverse Proxy Configuration
Nginx Overview
Nginx is a high-performance HTTP server and reverse proxy known for low memory usage and strong concurrency support. It serves static content efficiently and handles dynamic content via CGI protocols like Perl and PHP, but requires Tomcat for Java applications. Optimized for high-load environments, Nginx supports up to 50,000 con ...
Posted on Mon, 22 Jun 2026 17:47:34 +0000 by dscapuano
Apache Tomcat Architecture and Performance Optimization Guide
Tomcat Architecture OverviewApache Tomcat operates as a robust Servlet container, managing the lifecycle of web applications and handling client requests. Its architecture is fundamentally divided into two core modules: the Connector (Coyote) and the Container (Catalina). This separation of concerns allows Tomcat to decouple network communicati ...
Posted on Mon, 18 May 2026 06:37:06 +0000 by exa_bit
Tomcat Server and HTTP Protocol Essentials
Java Enterprise Context
The Java Enterprise Edition (JavaEE) specification, former known as J2EE, defines standards for enterprise application development. Managed by the Java Community Process (JCP), it includes technologies like Servlets, JSP, JDBC, and JPA. The current version is JavaEE 8.
Web Fundamentals
The World Wide Web (WWW) provides a ...
Posted on Sat, 16 May 2026 20:03:25 +0000 by ali_mac1
Understanding the Relationship Between Web Servers, WSGI, and Flask
Previously, there was some confusion about the relationship between Nginx, WSGI (or uWSGI, uwsgi), and Flask (or Django). After consulting some materials, the relationships have been clarified. In summary, from the moment a client sends an HTTP request to when Flask processes it, the request passes through three layers: the web server layer, th ...
Posted on Wed, 13 May 2026 09:43:01 +0000 by vinodkalpaka
Installing Nginx on CentOS 7: Complete Step-by-Step Guide
Prerequisites Setup
Before installing Nginx, create a dedicated directory for the installation.
cd /usr/local/
mkdir nginx
cd nginx
Downloading Nginx
Navigate to the official Nginx website and download the desired version. Its recommended to use the stable release for production environments.
Uploading and Extracting
Transfer the Nginx archive ...
Posted on Wed, 13 May 2026 01:50:40 +0000 by nicholaspaul
Compiling and Installing Nginx from Source on Linux
Compiling Nginx from source provides greater control over the binary features and optimization for specific server environments. This process involves setting up the build enviroment, installing necessary libraries, and executing the compilation workflow.
1. Preparation of Installation Directories
Create a dedicated workspace to store the sourc ...
Posted on Fri, 08 May 2026 06:21:05 +0000 by maest