This guide walks through preparing a Linux server and client, adjusting kernel and user limits, configuring multiple IP addresses, and running PHP scripts to create and monitor up to one million concurrent TCP connections for performance testing.
This article explains how to enable and fine‑tune Nginx’s Gzip compression, detailing the benefits for CSS, JS, XML and HTML delivery, providing configuration directives, recommended parameter values, and example snippets for both local and production environments.
This guide explains how to configure the vsftpd FTP server on Linux, covering port settings, disabling anonymous and real user logins, active and passive mode configuration, firewall rules, and step‑by‑step creation of virtual users with PAM authentication and per‑user configuration files.
This guide walks through preparing four servers, installing and configuring Nginx as a load balancer, setting up Keepalived for virtual IP failover, and verifying that traffic seamlessly switches between the master and backup nodes.
This article provides a detailed overview of Nginx, covering its high‑performance architecture, reverse‑proxy concepts, load‑balancing strategies, static‑dynamic separation techniques, common command‑line operations, configuration file structure, practical reverse‑proxy and load‑balancing examples, and a high‑availability solution using Keepalived.
This guide walks you through customizing Nginx 404 error pages, enabling the stub_status module to monitor server metrics, increasing worker processes and connections, adjusting header buffers, and configuring client-side caching for static assets to boost web server performance.
This guide shows how to add HTTPS to an internal web service by either routing traffic through Nginx as a reverse proxy or configuring FRP itself with SSL certificates, including detailed server (frps) and client (frpc) settings, firewall tips, and verification steps.
This guide explains why Nginx may not support ThinkPHP's PathInfo mode, and provides two detailed solutions—enabling PathInfo in the fastcgi configuration and using rewrite rules to hide index.php—along with the exact code snippets needed to apply them.
This article explains why HTTPS is required for secure data transmission, describes symmetric and asymmetric encryption, outlines the role of CA certificates, and provides step‑by‑step commands to generate keys, create certificates, and configure Nginx to serve HTTPS traffic.
This comprehensive guide explains Nginx's core concepts—including reverse proxy, load balancing, static‑dynamic separation, common commands, configuration blocks, and high‑availability setup with Keepalived—providing practical examples, diagrams, and code snippets for reliable server deployment.
This guide explains Nginx fundamentals, including its reverse‑proxy and load‑balancing capabilities, static‑dynamic separation, common command‑line usage, configuration file structure, and step‑by‑step high‑availability deployment with Keepalived, providing practical examples and diagrams for each feature.
High AvailabilityServer configurationload balancing
This article provides a comprehensive walkthrough of Nginx configuration directives, explains key parameters such as worker processes, logging, gzip, and demonstrates how to set up multi‑node load balancing with various upstream algorithms using Docker containers and host file adjustments.
This article explains the Nginx location directive, covering its syntax, various matching parameters, the order in which locations are evaluated, and practical examples that demonstrate how to configure precise and flexible URL handling for web servers.
This guide explains what Nginx is and how reverse proxy works, details its load‑balancing algorithms, provides step‑by‑step commands to download, compile and install Nginx and Tomcat on CentOS 7, shows how to configure Nginx upstreams for Tomcat servers, and lists common pitfalls such as firewall blocks.
This guide explains why and how to copy production traffic to a pre‑release environment, walks through installing Nginx, configuring the ngx_http_mirror_module, building Nginx from source with the module, and provides useful commands and documentation links.
This article explains the Nginx location directive syntax, the four optional modifiers (=, ~, ~*, ^~), their matching behavior, the overall location matching order, and provides practical configuration examples to help beginners correctly configure Nginx routing.
This guide explains the syntax and four optional modifiers of Nginx's location directive, provides concrete examples for exact, case‑sensitive, case‑insensitive, and prefix matching, and details the matching order with a practical rule‑based case study.
This guide explains the fundamentals of the Network Time Protocol, the hierarchy of NTP strata, three synchronization modes, and provides step‑by‑step Linux commands to install, configure, start, and verify an NTP server as well as client setup.
This guide walks through installing and compiling Nginx and its Alibaba‑derived fork Tengine, adding the echo‑nginx module, configuring health‑check directives, testing the setup with sample URLs, and explains Nginx upstream fault‑tolerance mechanisms for production environments.
This article explains how to configure Nginx as a reverse proxy, implement load‑balancing strategies, separate static and dynamic content, set up proxy caching with various directives, purge caches, and enable gzip compression, providing complete code examples and practical testing results.
This guide explains HTTPS and SSL fundamentals, shows how to generate certificates with OpenSSL, configures Nginx for secure HTTPS, details the rewrite module including break, if, return, and set directives, demonstrates read‑write separation using WebDAV, and provides anti‑hotlinking techniques with valid_referers.
This tutorial walks through setting up Nginx on Debian to serve static files, reverse‑proxy dynamic requests to Tomcat, configure load‑balancing upstreams, enable gzip compression, implement on‑disk and memory caching, and secure the server with SSL, providing full configuration examples and practical tips.
This guide explains the purpose of DNS, the role of the /etc/hosts file, the different DNS record types, and provides step‑by‑step instructions for installing BIND on Linux, configuring master, slave and cache servers, and managing zones and records.
This article explains DNS fundamentals, the impact of incorrect local DNS on user experience, outlines recursive and authoritative DNS roles, describes domain hierarchy, and provides a practical overview of BIND server setup, its configuration files, and sample zone definitions with dig query results.
This article provides a comprehensive guide to Nginx, covering its purpose as a lightweight web and reverse‑proxy server, step‑by‑step installation on Linux and Windows, essential command‑line controls, and detailed configuration examples for HTTP reverse proxy, load balancing, multiple webapps, HTTPS, static sites, and CORS handling.
Learn how to obtain a free one‑year Tencent SSL certificate, download and extract the appropriate IIS files, import the certificate via IIS Manager, and bind it to your website to enable HTTPS, all with step‑by‑step screenshots.
This article presents ten classic MySQL error scenarios—from connection limits and replication conflicts to permission issues and timeout settings—explaining their causes, illustrating them with screenshots, and offering concrete configuration tweaks and procedural steps to resolve each problem efficiently.
This tutorial walks through designing a network topology, configuring static and DHCP IPs, disabling the default firewall, installing and initializing iptables and DHCP services, setting up NAT and port forwarding, and persisting the configuration on a Linux server.
This guide explains the fundamentals of DNS, walks through installing and configuring a BIND DNS server on Linux (both Red Hat and Debian based), details zone definitions, record types, and essential commands for testing and troubleshooting the server.
This article explains Nginx's various load balancing algorithms—including round‑robin, weighted, ip_hash, fair, and url_hash—their scheduling states such as down, backup, max_fails, and fail_timeout, and provides example configuration steps with real server IPs, highlighting differences from LVS.
This guide explains the fundamentals of DNS, how hostnames map to IP addresses, and provides step‑by‑step instructions for installing BIND on Linux, configuring master, slave, and cache servers, defining zones, and managing common DNS record types.
This guide explains how to package a JavaWeb application into a WAR file, describes Tomcat’s architecture and connectors, introduces symmetric and asymmetric encryption concepts, and shows how to generate a self‑signed certificate and configure an HTTPS connector in Tomcat.
This tutorial explains how to modify Tomcat's server port, map virtual directories using various methods, configure virtual hosts, register domain names on Windows, and outlines the browser‑server interaction process and the standard structure of a JavaWeb application.
This guide walks you through installing Nginx on CentOS, compiling from source, configuring core settings, managing workers, setting up virtual hosts, and using common directives such as gzip, proxy, and access control to optimize performance and security.
This comprehensive guide explains how DNS translates hostnames to IP addresses, covers the role of /etc/hosts, details domain name components, describes the three DNS server types, and provides step‑by‑step instructions for installing BIND, configuring master, slave, and cache zones, as well as managing records, TTL, and common troubleshooting commands on Linux.
This article shares practical experiences and step‑by‑step guidance on tuning Redis server settings, choosing appropriate eviction policies, limiting client output buffers, disabling risky commands, handling Sentinel‑based master‑slave failover, and selecting the right persistence strategy for reliable and high‑performance deployments.
This article explains why HTTPS is essential, compares third‑party and self‑managed TLS options, and provides a complete Go implementation using Let’s Encrypt’s autocert library, including code for certificate handling, HTTP‑to‑HTTPS redirection, DNS requirements, and caching strategies.
This article walks you through the fundamentals of DNS, explains the role of /etc/hosts, describes the three types of DNS servers, shows how to install BIND on Red Hat or Debian systems, and provides detailed configuration examples for master, slave, and cache zones along with essential record types and troubleshooting commands.
This article explains how to upgrade an existing HTTP backend to HTTPS by using Nginx as a reverse proxy, covering certificate generation with OpenSSL, Nginx configuration, host file adjustments, and testing steps, allowing secure communication without altering the original application code.
This guide explains the fundamentals of DNS, walks through editing the /etc/hosts file, describes domain name components, details the three types of DNS servers, and provides complete installation, configuration, zone definition, record creation, and troubleshooting steps for a Linux BIND DNS server.
This article provides a comprehensive overview of Zabbix monitoring, comparing it with Cacti and Nagios, detailing its features, architecture, and step‑by‑step instructions for installing and configuring the server, database, web interface, and agent components on a Linux environment.
This guide explains how SSH secures data transfer, details OpenSSH installation on Linux, walks through client and server configuration, demonstrates file transfer with scp and sftp, and lists essential hardening practices for a robust SSH deployment.
This guide details a complete high‑availability architecture that separates static and dynamic DiscuzX traffic using HAProxy, adds Varnish caching, configures Nginx with NFS shares, sets up keepalived for HA, and provides all necessary installation commands, configuration snippets, and testing results.
This guide walks you through obtaining a trusted SSL certificate, generating keys and CSR with OpenSSL, configuring HTTPS in Nginx, and applying performance and security enhancements such as keep‑alive, session caching, HSTS, strong cipher suites, and name‑based virtual host solutions.
When a website suffers from saturated outbound bandwidth due to large image requests, you can quickly mitigate the issue by configuring Nginx to limit the transfer rate of images exceeding 100 KB, ensuring normal traffic remains responsive.
This guide shows how to configure Nginx's limit_conn directives to restrict the number of simultaneous requests from a single IP, test the settings with ApacheBench, and verify that the limits effectively block excess traffic, helping mitigate CC attacks.
This guide outlines the five primary Nginx load‑balancing methods—Round Robin, Least Connections, Least Time (header or last_byte), IP Hash, and generic Hash—explaining how each algorithm works and showing the corresponding upstream configuration syntax for assigning server weights and parameters.
This article explains what virtual hosts are, how to configure them in Nginx using server blocks, the syntax for listen, server_name, location, index, and root directives, and provides practical examples with wildcard and regex hostnames, auto‑index settings, and access controls.
This guide explains how to configure Nginx to automatically detect user devices and redirect them to distinct PC or mobile websites, using both server‑side User‑Agent checks and client‑side JavaScript with cookies for manual switching and 24‑hour preference storage.
This guide walks you through using Ansible—an agent‑less, SSH‑based automation tool—to create reusable roles and deploy a complete LAMP platform across multiple servers, covering installation, inventory setup, SSH key authentication, directory structure, playbooks, tasks, handlers, and verification steps.
This tutorial walks you through preparing the build environment, compiling APR, APR‑util and Apache httpd 2.4.9 on CentOS 6.6, configuring modules, adding environment variables, setting up CGI, compression and status pages, and verifying the installation with practical tests.
This article explains the principles of reverse proxy, introduces Nginx’s core features, and provides a step‑by‑step guide to set up a Windows‑based Nginx reverse‑proxy server that load‑balances two IIS‑hosted ASP.NET sites, including configuration, service registration, caching, and testing.
This guide explains how rsync synchronizes files and directories on Linux, details its most useful options, shows how to configure an rsync daemon with the required configuration files, and outlines the various command syntaxes for local and remote operations.