Download

If English isn't your first language, you can use Bing Translator to translate this page into your preferred language. Click translate button. Then click the down arrow and select your preferred language.



Starting from Centmin Mod 1.2.3-eva2000.08 release, the Centmin Mod code and downloads will be from Centmin Mod Github Repository. Centmin Mod 1.2.3-eva2000.08 release will be the Github 123.08stable branch. You can check out What's New page for more information.


How to install?

Minimum system requirements are 256MB memory (128MB with variable tweak) for CentOS 6.x and 1GB memory for CentOS 7.x and 12GB disk space for OpenVZ VPS virtualization & 20GB for KVM and Xen virtualisation. Recommended memory requirements are double the mininum for CentOS 6/7 respectively. There's several ways to install Centmin Mod LEMP stack on CentOS 6/7. Fastest install method is method 3.

  1. centmin.sh shell menu option 1. Full details below.
  2. centmin.sh via Git. Full details below.
  3. one liner curl bash install. Full details below. [Youtube video]

After install, check out the next steps in the Getting Started Guide.


If you're looking for cheap VPS hosting for Centmin Mod, the following are highly recommended & proven to work with Centmin Mod LEMP web stack - RamNode, Linode, DigitalOcean, TheSkySpace and Vultr. If using OVH or SoYouStart servers, make sure to use CentOS OS template with distro kernels and not OVH/SYS provided custom kernels.

Check out Centmin Mod VPS hosting & Centmin Mod Dedicated server hosting forums for VPS and dedicated hosting reviews, benchmarks and discussions with other Centmin Mod users.

Method 1: centmin.sh shell menu option 1

Step 1. Select the branch you want to install from list at https://github.com/centminmod/centminmod/branches and define it in the variable named branchname typed on SSH command line as follows.

branchname=123.08stable                                    

Step2. Actual install, type as root user in SSH these commands, Centmin Mod will have it's install setup at /usr/local/src/centminmod

yum -y install wget nano bc unzip
branchname=123.08stable
wget -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip
cd /usr/local/src
unzip ${branchname}.zip
mv centminmod-${branchname} centminmod
cd centminmod                                    

Then to install either type

for menu mode run centmin.sh and select menu option 1 to install

./centmin.sh                                   

./centmin.sh install                                

Method 2: centmin.sh via Git

Type as root user in SSH these commands, Centmin Mod will have it's install setup at /usr/local/src/centminmod

yum -y install git wget nano bc unzip
cd /usr/local/src
git clone https://github.com/centminmod/centminmod.git centminmod
cd centminmod                           

Then to install either type

for menu mode run centmin.sh and select menu option 1 to install

./centmin.sh                                   

./centmin.sh install                                

Method 3: one liner curl bash install

This method was added from Centmin Mod 1.2.3-eva2000.08+ onwards and is the easiest way to install Centmin Mod which allows for fully unattended installs. It's just one line you type in SSH session as root user on a fresh virgin CentOS 6 or CentOS 7 OS environment. Resource video also has an example install at Centmin Mod .08 beta SSH one liner install on CentOS 6 + CentOS 7 simultaneously.

curl -sL http://centminmod.com/installer.sh | bash

Once install completes, you'll have some basic info including mysql root password, memcached password and a post-install check list of major software installed's version numbers and also some install time stats.

---------------------------------------------------------------------------
Total Curl Installer YUM Time: 92.0033 seconds
Total YUM Time: 43.166100082 seconds
Total YUM + Source Download Time: 58.0522
Total Nginx First Time Install Time: 135.9561
Total PHP First Time Install Time: 130.5067
Download Zip From Github Time: 4.1942
Total Time Other eg. source compiles: 206.9870
Total Centmin Mod Install Time: 531.5020
---------------------------------------------------------------------------
Total Install Time (curl yum + cm install + zip download): 627.6995 seconds
---------------------------------------------------------------------------
                                

You can also find this info later on in Centmin Mod logs directory at /root/centminlogs. Every centmin.sh menu run has a log created and is time stamped for easier reference. For example listing in reverse time ascending order (most recent last).

ls -lAhrt /root/centminlogs/
total 4.0M
-rw-r--r-- 1 root root  19K Jun 16 05:31 centminmod_1.2.3-eva2000.08_160615-012722_yuminstall_centos6.log
-rw-r--r-- 1 root root  71K Jun 16 05:32 centminmod_yumtimes_160615-012722.log
-rw-r--r-- 1 root root   38 Jun 16 05:32 centminmod_profiletimes_160615-012722.log
-rw-r--r-- 1 root root 251K Jun 16 05:32 centminmod_downloadtimes_160615-012722.log
-rw-r--r-- 1 root root  199 Jun 16 05:32 securedtmp.log
-rw-r--r-- 1 root root   44 Jun 16 05:34 centminmod_libresslinstalltime_160615-012722.log
-rw-r--r-- 1 root root 1.2K Jun 16 05:34 gcc_native.log
-rw-r--r-- 1 root root 959K Jun 16 05:35 centminmod_ngxinstalltime_160615-012722.log
-rw-r--r-- 1 root root   58 Jun 16 05:38 centminmod_phpinstalltime_160615-012722.log
-rw-r--r-- 1 root root  21K Jun 16 05:41 centminmod_1.2.3-eva2000.08_160615-012722_yum-log.log
-rw-r--r-- 1 root root   20 Jun 16 05:41 install.utc.time.log
-rw-r--r-- 1 root root 2.7M Jun 16 05:41 centminmod_1.2.3-eva2000.08_160615-012722_install.log
                                

Read, bookmark and regularly check back the Getting Started Guide and accompanying forum thread. Also the troubleshooting guide How to troubleshoot Centmin Mod initial install issues. Reading Getting Started Guide is the most important thing you can do after Centmin Mod install as it gives you a good understanding and starting point to everything else - including adding Nginx vhost/domains (centmin.sh option 2), upgrade/downgrade/recompiling Nginx (centmin.sh menu option 4), PHP (menu option 5) etc.

Log out of SSH and log back into SSH and run centmin.sh command to invoke the menu options. You can find the resource video for finding centmin.sh at How to find and run centmin.sh menu options for Centmin Mod LEMP stack based servers

--------------------------------------------------------
Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com
--------------------------------------------------------
                   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, 10.1 Upgrade Sub-Menu
12). Zend OpCache Install/Re-install
13). Install ioping.sh vbtechsupport.com/1239/
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). Add Wordpress Nginx vhost + WP Super Cache
23). Update Centmin Mod Code Base
24). Exit
--------------------------------------------------------
Enter option [ 1 - 24 ]
                                

Check out how to setup centmin.sh menu option 23 submenu option 1 so you can setup git environment for easier Centmin Mod LEMP script code updates Beta Branch - New .08 beta menu option - updating Centmin Mod via git. You can also setup a cronjob to auto update too see Beta Branch - Cronjob Auto Updating Centmin Mod .08 beta03 How To Guide

centmin.sh option 23 submenu options

--------------------------------------------------------
        Centmin Mod Updater Sub-Menu      
--------------------------------------------------------
1). Setup Centmin Mod Github Environment
2). Update Centmin Mod Current Branch
3). Update Centmin Mod Newer Branch
4). Back to Main menu
--------------------------------------------------------
Enter option [ 1 - 4 ]
                                

Once git environment setup, hit submenu option 4 to go back to main menu, hit menu option 24 to exit centmin.sh. Then log out of SSH and back in to complete setup.