Installation Guide

Deploy Centmin Mod on a fresh server with a single command.

Prerequisites

System Requirements

Minimum

  • 2 GB RAM + 4 GB swap
  • 40 GB disk space

Recommended

  • 4 GB+ RAM + 4 GB swap
  • 60 GB disk, SSD preferred

Supported Operating Systems

CentOS 7 AlmaLinux 8 AlmaLinux 9 AlmaLinux 10 Rocky Linux 8 Rocky Linux 9 Rocky Linux 10

AlmaLinux 10 and Rocky Linux 10 require 141.00beta01 (beta channel).

Important Notes

  • Root user required — do not use sudo
  • SELinux must be disabled before installation
  • x86_64 architecture only — ARM is not supported
  • Single root / partition recommended — avoid separate /tmp, /var partitions
  • KVM, Xen, or VMware virtualization — OpenVZ and LXD/LXC containers are not supported
  • Fresh server only — do not install on servers with existing LAMP/LEMP stacks

Quick Install — Stable

Recommended

Branch 132.00stable — production-tested for CentOS 7, AlmaLinux 8/9, Rocky Linux 8/9. Choose your PHP version and run the one-liner as root on a fresh server.

yum -y update; curl -O https://centminmod.com/installer83.sh && chmod 0700 installer83.sh && bash installer83.sh

Quick Install — Beta

Latest Features

Branch 141.00beta01 — latest features including EL10 support (AlmaLinux 10, Rocky Linux 10). Supports CentOS 7, AlmaLinux 8/9/10, Rocky Linux 8/9/10.

PHP 8.5 and 8.4 are available exclusively on the 141.00beta01 branch.

yum -y update; curl -O https://centminmod.com/betainstaller85.sh && chmod 0700 betainstaller85.sh && bash betainstaller85.sh

Post-Install Output

Once installation completes, you will see a summary with MySQL root password, memcached password, version numbers, and install timing statistics.

Install Summary
---------------------------------------------------------------------------
Total Curl Installer YUM or DNF Time: 97.0663 seconds
Total YUM Time: 40.502569401 seconds
Total YUM or DNF + Source Download Time: 60.8252
Total Nginx First Time Install Time: 36.5120
Total PHP First Time Install Time: 180.5461
Download From Github Time: 1.8135
Total Time Other eg. source compiles: 197.6303
Total Centmin Mod Install Time: 475.5136
---------------------------------------------------------------------------
Total Install Time for curl yum + cm install + zip download: 574.3934 seconds
---------------------------------------------------------------------------
AlmaLinux 8.10 Cerulean Leopard  4.18.0-553.5.1.el8_10.x86_64
16 AMD EPYC-Milan Processor
PHP VERSION: 8.0.30
---------------------------------------------------------------------------
Centmin Mod Version: 131.00stable.b000
Install Summary Logs: /root/centminlogs/installer_summary_links.log
---------------------------------------------------------------------------

All installation logs are saved to /root/centminlogs/. Every centmin.sh menu run creates a timestamped log for easier troubleshooting.

root@server ~ $
$ ls -lAhrt /root/centminlogs/
total 16M
-rw-r--r-- 1 root root  928 Jul  1 14:10 centminmod_swapsetup_installer.log
-rw-r--r-- 1 root root   19 Jul  1 14:13 getcmtime_installtime.log
-rw-r--r-- 1 root root  12K Jul  1 14:14 centminmod_yuminstall_centos8.log
-rw-r--r-- 1 root root  34K Jul  1 14:14 centminmod_yumtimes.log
-rw-r--r-- 1 root root  65K Jul  1 14:14 centminmod_downloadtimes.log
-rw-r--r-- 1 root root  320 Jul  1 14:14 securedtmp.log
-rw-r--r-- 1 root root  50K Jul  1 14:14 nginx-install-zlib.log
-rw-r--r-- 1 root root  29K Jul  1 14:14 pcre-nginx_install.log
-rw-r--r-- 1 root root 8.9K Jul  1 14:15 nginx-configure.log
-rw-r--r-- 1 root root 480K Jul  1 14:15 centminmod_ngxinstalltime.log
-rw-r--r-- 1 root root  74K Jul  1 14:18 php-compile-config.log.gz
-rw-r--r-- 1 root root 2.7K Jul  1 14:20 redis-server-install.log
-rw-r--r-- 1 root root 2.9M Jul  1 14:21 centminmod_install.log
-rw-r--r-- 1 root root 3.2M Jul  1 14:21 installer.log
-rw-r--r-- 1 root root 1.3M Jul  1 14:21 installer_minimal.log
-rw-r--r-- 1 root root  564 Jul  1 14:21 installer_summary_links.log

Next Steps

Getting Started Guide

After installation, follow the step-by-step guide to configure your hostname, add domains, set up firewalls, and optimize your server.

Read the Getting Started Guide

The centmin.sh Menu

Log out and back into SSH, then run centmin.sh to access the interactive menu.

root@server ~ $
--------------------------------------------------------
     Centmin Mod Menu 141.00beta01 centminmod.com
--------------------------------------------------------
 1).  Centmin Install
 2).  Add Nginx vhost domain
 3).  NSD setup domain name DNS
 4).  Nginx Upgrade / Downgrade
 5).  PHP Upgrade / Downgrade
 6).  MySQL User Database Management
 7).  Nginx Vhost Traffic Stats
 8).  Nginx .htpasswd Username/Password
 9).  Nginx Vhost Log Rotation
10).  Memcached Server Re-install
11).  MariaDB MySQL Upgrade & Management
12).  Zend OpCache Install/Re-install
13).  Install/Reinstall Redis PHP Extension
14).  SELinux disable
15).  Install/Reinstall ImagicK PHP Extension
16).  Change SSHD Port Number
17).  Multi-thread compression: zstd,pigz,pbzip2,lbzip2
18).  Suhosin PHP Extension install
19).  Install FFMPEG and FFMPEG PHP Extension
20).  NSD Install/Re-Install
21).  Data Management
22).  Add Wordpress Nginx vhost + Cache Plugin
23).  Update Centmin Mod Code Base
24).  Exit
--------------------------------------------------------
Enter option [ 1 - 24 ] _