Docker Engine and Compose Installation on CentOS 7 with Mirror Optimization
Yum Repository Configuration
Update the package manager to utilize accelerated mirrors. Preserve the existing configuration before modifications:
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
Fetch the updated repository definition:
curl -fsSL -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Cen ...
Posted on Fri, 07 Aug 2026 16:21:12 +0000 by ShanesProjects
Setting Up Python 3.7.2 and Related Services on CentOS 7
Install System Dependencies
Update the system and install required development libraries and tools:
yum -y update
yum -y install gcc openssl-devel zlib-devel readline-devel libffi-devel
bzip2-devel mysql-devel python-devel java wget
git redis nginx supervisor
Enable services to start automatically after a reboot:
syst ...
Posted on Sat, 01 Aug 2026 16:54:54 +0000 by charp
Deploying Flask Applications on CentOS 7.9 with uWSGI and Nginx
Server Environment Setup
Host: 4-core 8GB CentOS 7.9 virtual machine (verify with cat /etc/redhat-release)
Dependencies: Anaconda, Python 3.8, uWSGI, Nginx
Python 3.8 Compilation and Installation
Update Yum Repositories
First back up default CentOS base repo:
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
Replace wi ...
Posted on Sat, 01 Aug 2026 16:36:45 +0000 by carsale
Compiling MySQL 8 from Source on CentOS 7
This guide outlines the process of installing MySQL 8 by compiling its source code on a CentOS 7 system. Source compilation provides maximum control over the installation and optimization.
1. System Environment Overview
Before beginning, verify the operating system details. The instructions are tailored for CentOS 7.
[root@host ~]# cat /etc/red ...
Posted on Fri, 31 Jul 2026 16:43:22 +0000 by KevinMG
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
Setting Up a Three-Node MongoDB Replica Set on CentOS 7
Installl MongoDB
Create a custom YUM repository:
sudo tee /etc/yum.repos.d/mongodb.repo <<EOF
[mongodb-org]
name=MongoDB Repository
baseurl=https://mirrors.aliyun.com/mongodb/yum/redhat/7/mongodb-org/4.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc
EOF
Install the MongoDB package:
sudo yum install ...
Posted on Sun, 26 Jul 2026 16:04:57 +0000 by mherr170
Upgrading OpenSSH to Version 9.8 on CentOS 7 with Security Patching
Prerequisites and System Preparation
Before proceeding, ensure the system has essential build tools and libraries installed:
yum install -y vim gcc gcc-c++ glibc make autoconf openssl openssl-devel pcre-devel pam-devel zlib-devel tcp_wrappers-devel libedit-devel perl-IPC-Cmd wget tar lrzsz
Update zlib Library
Download and compile the latest zl ...
Posted on Tue, 21 Jul 2026 16:04:49 +0000 by wafflestomper
How to Fix CentOS Yum Error "Could not resolve host: mirrorlist.centos.org; Unknown error" (2024 Working Solution)
When attempting to install yum auxiliary packages on a CentOS 7 virtual machine environmetn prepared for Docker runtime deployment:
sudo yum install -y yum-utils
The following host resollution error is returend:
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org?arch=x86_64& ...
Posted on Fri, 03 Jul 2026 16:02:41 +0000 by ingchun
Deploying a Kubernetes Cluster on CentOS 7
A Kubernetes cluster requires atleast three CentOS 7 servers.
One master node (hostname: master-k8s).
Two worker nodes (hostnames: worker-k8s-01, worker-k8s-02).
All steps in the Environment Preparation and Docker Installation sections must be executed on all three nodes: master-k8s, worker-k8s-01, and worker-k8s-02.
Environment Preparation
C ...
Posted on Thu, 25 Jun 2026 17:32:48 +0000 by solaris77
Securing Nginx with Let's Encrypt SSL on CentOS 7
Let's Encrypt is a free, automated, and open Certificate Authority (CA) provided by the Internet Security Reseacrh Group (ISRG). It allows website owners to obtain trusted SSL certificates that are recognized by all major modern browsers. This guide demonstrates how to use the Certbot tool to generate and manage SSL certificates for Nginx on a ...
Posted on Mon, 22 Jun 2026 16:23:32 +0000 by pixelsoul