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 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 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 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).

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

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

Step 3. Run the script.

You will have the following options:

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 to 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!