Fading Coder

One Final Commit for the Last Sprint

Configuring Nginx for Load Balancing

Setting Up the Nginx Environment This setup uses CentOS 7 with properly configured yum repositories. For those needing repository configuration, the Alibaba Cloud mirror site provides necessary resources. Begin by creating and navigating to the Nginx directory: mkdir -p /soft/nginx cd /soft/nginx Do...

Quick Setup Guide for Nginx on CentOS 7

Installing and Starting Nginx Install the Nginx package using yum: sudo yum install nginx -y Start the Nginx service: sudo systemctl start nginx Enable Nginx to start on system boot: sudo systemctl enable nginx Verifying Service Status Check the current status of the Nginx service: sudo systemctl st...

Firewall Rule Management Across CentOS and Ubuntu Environments

Network traffic filtering on RHEL-based distributions is handled by firewalld, which organizes rules into zones and requires explicit synchronization between permanent and runtime configurations. Verify the daemon's current state: systemctl is-active firewalld Initialize the service and configure it...

Installing Consul 1.11.1 on CentOS 8.2 for Service Discovery

Consul Installation on CentOS To install Consul on CentOS 8.2, first add the HashiCorp repository: yum install -y yum-utils yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo yum -y install consul Service Cofniguration Create or modify the systemd service file at /e...

Configuring Alternative YUM Repositories on CentOS

In many productoin environments, the default CentOS repositories may be slow or inaccessible due to geographical locations. Switching to local mirrors such as Alibaba Cloud or NetEase (163) can significantly improve package download speeds and update reliability. This guide outlines the process of b...

Configuring CentOS 7 Virtual Machines on VMware Workstation

Prerequisites and Initial Setup To begin, ensure you have VMware Workstation installed and a CentOS 7 ISO image available. When creating a new virtual machine, follow the standard wizard prompts. If the installation fails due to an Intel VT-x error, access your computer's BIOS/UEFI setings, locate t...

Upgrading the Linux Kernel on CentOS 7 and CentOS 8

Overview The default kernel shipped with CentOS 7 and CentOS 8 is often older then what modern applications require. This guide covers two methods for upgrading the Linux kernel: using the ELRepo repository package manager, or manually installing RPM packages. Warning: Kernel upgrades require carefu...

Troubleshooting and Fixing 100% CPU Utilization for Apache on CentOS

Apache Initial Configuration Navigate to /usr/local/apache/conf/extra/httpd-default.conf and ensure KeepAlive is toggled to On to reduce repeated TCP handshakes for persistent connections. Linux Kernel Network and Resource Tuning Append the following entries to /etc/sysctl.conf to adjust TCP handlin...

MySQL 5.6 Binary Installation and Service Configuration on CentOS 7

System Preparation Execute the following on a CentOS 7 host. First eliminate conflicts with the distribution’s default database packages: yum -y remove mariadb* Install the supporting libraries and build utilities required by the generic Linux binary: yum -y install autoconf bison ncurses-devel liba...

Deploying GitLab CE on CentOS 8 with Self-Signed SSL Certificates

sudo yum install -y curl openssh-server openssh-clients postfix Import the GitLab package repository and install the Community Edition: curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo dnf install -y gitlab-ce Create a dedicated directory for T...