How To Install Centmin Mod on CentOS

Install Centmin Mod on CentOS

In this tutorial, we will show you how to install Centmin Mod on CentOS. For those of you who didn’t know, Centmin Mod is a shell script that provides a menu-based installer that allows you to install and manage the latest versions of the Nginx web server, MariaDB/MySQL, PHP, and a DNS server on a CentOS VPS, without using a control panel. Centmin Mod is an excellent option for those looking to set up a fast and reliable web server with minimal effort. It is a popular choice among web developers, system administrators, and small businesses who need a robust and easy-to-use web stack that can be deployed quickly and easily.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of Centmin Mod on CentOS.


  • A server running one of the following operating systems: CentOS or RHEL-based.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for Centmin Mod.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Centmin Mod on CentOS

Step 1. First, let’s start by ensuring your system is up-to-date.

sudo yum clean all
sudo yum update
sudo yum install wget unzip nano

Step 2. Installing Centmin Mod on CentOS.

By default, the Centmin Mod package doesn’t come in the default repository of CentOS. Now run the following command below to download the Centmin Mod installation script by running the following command:

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

Once installation completes, you’ll have some basic info including MySQL root password, Memcached password, and a post-install checklist of major software installed’s version numbers and also some install time stats.

Total Curl Installer YUM Time: 36.0023 seconds
Total YUM Time: 43.166100082 seconds
Total YUM + Source Download Time: 34.0522
Total Nginx First Time Install Time: 135.9461
Total PHP First Time Install Time: 146.5977
Download Zip From Github Time: 5.1942
Total Time Other eg. source compiles: 215.9800
Total Centmin Mod Install Time: 453.4450
Total Install Time (curl yum + cm install + zip download): 666.6999 seconds

Step 3. Centmin Mod on CentOS.

Log out of SSH and log back into SSH and run centmin.sh command to invoke the menu options:

     Centmin Mod Menu 124.00stable 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).  XCache Re-install
7).  APC Cache Re-install
8).  XCache Install
9).  APC Cache Install
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 Transfer (TBA)
22). Add WordPress Nginx vhost + Cache Plugin
23). Update Centmin Mod Code Base
24). Exit
Enter option [ 1 - 24 ]

Congratulations! You have successfully installed Centmin Mod. Thanks for using this tutorial for installing Centmin Mod on the CentOS system. For additional help or useful information, we recommend you check the official Centmin Mod website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button