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.

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 through the step-by-step installation of Centmin Mod on a CentOS.


  • Fresh CentOS 6.x based 32bit or 64bit installation (CentOS minimal ISO recommended)
  • Minimum 256MB memory is available. With some tweaks outlined here, you can install it on 128MB memory-based VPS. But recommend at least 256MB memory.
  • 25 – 60 minutes of your time depending on the speed of your server, network speed (for downloads/yum, etc).

Install Centmin Mod on CentOS

Step 1. Install dependencies and download the latest version of Centmin Mod’s zip file.

yum -y install bc wget unzip nano yum-plugin-fastestmirror
cd /usr/local/src

Step 2. Extract files and change to centmin-v1.2.3 the mod directory and chmod +x bash script.

cd centmin-v1.2.3mod
chmod +x

Step 3. Run the script.


You will have the following options:

Centmin Mod 1.2.3-eva2000.07 -
                   Centmin Mod Menu                   
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 5.2, 5.5, 10 Upgrade Sub-Menu
12). Zend OpCache Install/Re-install
13). Install
14). SELinux disable
15). Install/Re-install ImageMagick PHP Extension
16). Change SSHD Port Number
17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
18). Suhosin PHP Extension install
19). Install FFMPEG and FFMPEG PHP Extension
20). NSD Re-install
21). Update - Nginx + PHP-FPM + Siege
22). Exit
Enter option [ 1 - 22 ]

With this step, the Centmin Mod installation is completed. If you want to create an Nginx vhost directive, run the script again, and select the second option.

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!