Change Log

For latest Centmin Mod news be sure to sign up and check out the official community forums

As of July 1, 2024:

Centmin Mod 131.00stable and 140.00beta01 have been released with full support for AlmaLinux and Rocky Linux operating systems. Check out the official community forum announcement here.

As of December 20, 2023:

Centmin Mod 130.00beta01 regular public beta installers have been updated to support AlmaLinux 8 and Rocky Linux 8 Linux operating systems. Note: every Centmin Mod commit can be found on the official Centmin Mod Github repo as well as via individual commit forum posts at

As of November 1, 2023:

Centmin Mod 130.00beta01 has entered public beta testing for AlmaLinux 8 and Rocky Linux 8 support. Check out the now public AlmaLinux 8 & Rocky Linux 8 Beta Testing forums.

As of May 8, 2022:

Centmin Mod has new stable and beta version branch released now.

As of May 8th, 2022, Centmin Mod versions are undergoing a transition version branch wise:

  1. The previous 123.08stable is now moving to 124.00stable. 124.00stable is essentially based on the well-tested 123.09beta01 branch. All development and changes made in 123.09beta01 are now in 124.00stable.
  2. Previous 123.09beta01 code is now in 124.00stable
  3. A new 130.00beta01 branch has started and this is also based on the 123.09beta01 branch but with additional development and code to eventually support EL8+ operating systems like CentOS 8, AlmaLinux 8 and Rocky Linux 8. This branch will take over from 123.09beta01 as the development beta branch. EL8+ operating system support isn't fully complete as at May 8th, 2022. So installation on CentOS 7.x is recommended.

124.00stable [top]

130.00beta01 [top]

Past Beta Releases

v1.2.3-eva2000.09 (aka 123.09beta01 github branch) - on going development [top]

Change log for v1.2.3-eva2000.09 (aka 123.09beta01 github branch) as at June 29, 2019:

Stable Releases

v1.2.3-eva2000.08 (aka 123.08stable github branch) -31/07/2015 [top]

v1.2.3-eva2000.07 -30/06/2014 [top]

  • Improvements to speed up install process - up to 40-60% faster install time than previous versions.
  • Added back the return of an optional cli install method which bypasses the menu option #1 install method. If you run ./ install, you can bypass the shell based menu for fully unattended installation.
  • Added SELINUX check
  • Added new menu option #21 update - it upgrades Nginx, PHP-FPM and Siege benchmark versions based on versions defined in Useful for Centmin Mod version updates as defined in FAQ #4 at
  • Added routine to inc/ to allow for OpenSSL source code patching for Nginx OpenSSL recompiles. Includes OpenSSL 1.0.1g CVE-2010-5298 Release Buffer patch.
  • Added Axivo YUM repository for access to packages such as mydumper, elasticsearch etc
  • Removed the memcache admin stats page user/password prompt and initial MariaDB MySQL root user setting/security prompts in favour of auto generating the user/passwords which will be shown at end of initial install i.e. screenshot.
  • Added ZOPCACHEDFT='n' variable to This variable if enabled ZOPCACHEDFT='y' can override the defaults and install Zend OpCache by default instead of APC Cache defaults.
  • Revised menu options - changing menu options #11 and #12. Number #11 is now a MariaDB 5.2, 5.5 and 10 upgrade sub menu option. #12 is now a dedicated menu option to install and reinstall Zend OpCache PHP opcode caching for PHP versions
  • Updated OPENSSL_VER to 1.0.1h 1.0.2c
  • Updated PHP default version out of the box from 5.3.28 to 5.4.30 5.4.42 and included additional PHP extensions (--with-snmp --with-gmp --with-pspell --with-tidy --with-enchant)
  • Moved all downloads links themselves out of the download functions at inc/ to their own file at inc/ for easier management
  • Changed PHP's default config scan directory variable path (CONFIGSCANDIR) from /root/centminmod/php.d to /etc/centmimod/php.d. will auto detect this and create the necessary directory and copy over any existing PHP extension .ini files from the old path. This is preparation for when chrooted user SSH/SFTP/SCP user account support comes to allow chrooted users PHP binary access to PHP extensions.
  • Updated PHP upgrade routine to auto reinstall previously installed PHP extensions such as APC Cache, Xcache, Memcache/Memcached, igbinary and ImagemagicK. No longer will users need to manually reinstall these PHP extensions after each PHP upgrade. The script will detect what .ini files are in /root/centminmod/php.d (.07 release will be /etc/centminmod/php.d) when PHP upgrade is ran. Then at end of PHP upgrade will auto reinstall each PHP extension that was detected before PHP upgrade completed.
  • Updated PHP configuration to autodetect if openldap-clients package is installed and if installed auto add --with-ldap --with-ldap-sasl configuration options to PHP configuration for PHP LDAP extension support If you don't currently have PHP LDAP extension support, just run yum -y install openldap-clients and then run menu option #5 to recompile PHP.
  • Updated PCRE version compiled for Nginx 8.33 to 8.35 8.37
  • Updated PHP memcached extension from 2.1.0 to 2.2.0
  • Updated Xcache from 2.0.1 to 3.1.0
  • Updated NSD v3.2.15 to v3.2.17
  • Updated Nginx from v1.5.8 to v1.7.2 1.9.1 release
  • Added some TCP tuned options for non-OpenVZ based servers with increased open file descriptor limits from 65536 to 262144.
  • Updated Nginx WebDav module from 0.0.2 to 0.0.3
  • Updated multi-threaded compression menu with updated versions for pbzip2, lbzip2, plzip, lzip
  • Updated libmemcached from 1.0.16 to 1.0.18
  • Updated Memcached server from 1.4.17 to 1.4.20 and added --enable-sasl --enable-sasl-pwdb support and
  • Updated Memcache PHP extension to 3.0.8
  • Updated Siege v3.0.5 to v3.0.6 v3.1.0
  • Updated memcache admin php file and randomised the file name unique to each install - same as APC Cache admin page. So changed location from /usr/local/nginx/html/memcache.php to /usr/local/nginx/html/memcache_${N}.php where ${N} is randomised.
  • Updated with 4 options PHP_DISABLED=n, MYSQLSERVICE_DISABLED=n, NSD_DISABLED=n and MEMCACHED_DISABLED=n. By default they are set to NO, so that PHP-FPM, MariaDB MySQL, NSD and Memcached server are installed and enabled (running). Some users have no use for NSD for DNS hosted locally on server and/or have no use for Memcached server or want to have an Nginx only server without running PHP-FPM and MySQL services, so you can set PHP_DISABLED=y, MYSQLSERVICE_DISABLED=y, NSD_DISABLED=y and/or MEMCACHED_DISABLED=y in prior to initial Centmin Mod install, so that PHP-FPM, MariaDB MySQL, NSD and Memcached are disabled but installed. This allows for you to re-enable them if needed in future. To re-enable NSD via commands service nsd start and chkconfig nsd on and for Memcached via service memcached start and chkconfig memcached on.
  • Updated ngx_pagespeed module version number in from beta to beta. Only version number changed as Centmin Mod is still currently using the work around using Github master branch to work around a bug with ngx_pagespeed_message log discussion. Change log
  • Added inc/ functions to increase default Entropy pool availability on non-OpenVZ systems i.e. KVM, Xen, dedicated using haveged entropy daemon More info at
  • Added standalone Python 2.7 install Addon at /addons/ to install Python 2.7 along side default Python 2.6 default CentOS versions
  • Added to Nginx configuration http_image_filter_module module (--with-http_image_filter_module
  • Added to Nginx configuration headers-more module ( and
  • Added support for Phusion Passenger for Nginx support for Ruby, Rails and RubyGem and Python to and In default is disabled NGINX_PASSENGER='n', to enable, you need to set to NGINX_PASSENGER='y' and before reinstalling Nginx, you need to run Addon script at /addons/ to install Ruby, RubyGems, RubyRails and Nginx Passenger depedencies and then run menu option #4 to reinstall Nginx server.
  • Added support for Nginx GEOIP module by updating with NGINX_GEOIP=n option for Nginx GeoIP module support NGINX_GEOIP=y will only enable and work if GeoIP database and library have been installed. You can find in Centmin Mod Addons directory a shell script at /addons/ which will install the GeoIP database and library. After installed, then set NGINX_GEOIP=y in and run menu option #4 to recompile Nginx with --with-http_geoip_module support. If you do not install GeoIP database and library before recompiling Nginx with GeoIP module, you will get the following error when restarting Nginx server.
    nginx: [emerg] unknown directive "geoip_country" in /usr/local/nginx/conf/geoip.conf:2
    nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed

v1.2.3-eva2000.06 -27/12/2013 [top]

v1.2.3-eva2000.05 -04/12/2013 [top]

  • Updated Nginx from v1.5.5 to v1.5.7 release
  • Updated to support CentOS 6.5 OS
  • Updated ImageMagicK from 3.1.0RC2 to 3.1.2 stable
  • Updated Siege v3.0.3 to v3.0.5
  • Fixed Percona YUM repository broken download routine for 32bit CentOS 6.x OSes
  • Fixed Varnish Cache YUM repository changed download url
  • Fixed SENDMAIL_INSTALL install routine and PHP sendmail_path definition if Postfix is detected. If Postfix is detected, Sendmail install routine is aborted leaving Postfix in place. Sendmail only installs if Postfix is not installed/detected

v1.2.3-eva2000.04 -19/09/2013 [top]

  • Updated Nginx from v1.4.2 to v1.5.5 release
  • Updated PCRE version compiled for Nginx 8.32 to 8.33
  • Updated CSF tweaks to enable CSF 6.26 Outgoing UDP Flood Protection (UDPFLOOD = 1). This option limits outbound UDP packet floods. These typically originate from exploit scripts uploaded through vulnerable web scripts
  • Updated PHP download url as is no longer in use switched to
  • Updated PHP upgrade routine for PHP 5.5 and Zend OPCode cache ini file check
  • Updated php-fpm conf at /usr/local/etc/php-fpm.conf and added proper error log definition to default pool php_admin_value[error_log] = /var/log/php-fpm/www-php.error.log.
  • Updated php.ini default settings
  • Updated default ngx_pagespeed module from beta to beta. How to upgrade ngx_pagespeed module
  • Updated Nginx mime.types file for proper eot, ttf, ott, woff webfont support
  • Updated Nginx add vhost function
  • Updated NSD v3.2.15 to v3.2.16
  • Updated Siege v3.0.1 to v3.0.3
  • Updated yum.conf excludes function
  • Updated /etc/init.d/memcached start/stop script with optional logging via LOGGING='n' which defaults to being turned off as it's very verbose and only intended for troubleshooting.
  • Added dynamic cpu worker_processes allocation based on cpu thread count
  • Fixed Centmin Mod release and version tracking files /etc/centminmod-release and /etc/centminmod-versionlog
  • Added default /etc/motd SSH log in message on install
  • Added additional sshd_config tweaks to prevent SSH session timeouts for long sessions
  • Add yum-plugin-downloadonly and yum-downloadonly support for CentOS 6 and 5 respectively
  • Added only for fresh Centmin Mod v1.2.3-eva2000.04+ and higher installs, Percona YUM repository in disabled state (enable = 0) and priority = 11 and exclude all Percona Server prefix packages for now. To install new YUM repository for existing installs, you will need to either run menu option to recompile/upgrade Nginx or PHP and when prompted to run YUM check first, answer YES. This ensures YUM changes are synced with any new Centmin Mod version's YUM changes. Initial ground work for Centmin Mod support for Percona YUM packages. Note: MariaDB will always be default MySQL server version though. So to specifically install a Percona package you need to enable repo first i.e.
      yum -q list percona-xtrabackup                     
    Error: No matching Packages to list
      yum -q list --enablerepo=percona percona-xtrabackup
    Available Packages
    percona-xtrabackup.x86_64   2.1.4-656.rhel6 percona
  • Added only for fresh Centmin Mod v1.2.3-eva2000.04+ and higher installs, Varnish Cache YUM repository in disabled state (enable = 0) and priority = 2 above EPEL YUM repository's Varnish 2.1.5.x. This will make Varnish Cache available to folks who know how to install and configure Varnish for their specific web app. To install new YUM repository for existing installs, you will need to either run menu option to recompile/upgrade Nginx or PHP and when prompted to run YUM check first, answer YES. This ensures YUM changes are synced with any new Centmin Mod version's YUM changes. For example:
      yum -q list varnish
    Error: No matching Packages to list
      yum -q list varnish --disableexcludes=epel --disableplugin=priorities
    Available Packages
    varnish.x86_64  2.1.5-1.el6 epel
      yum -q list varnish --disableexcludes=epel --enablerepo=varnish-3.0
    Available Packages
    varnish.x86_64  3.0.4-1.el6 varnish-3.0
      yum -q list varnish --enablerepo=varnish-3.0
    varnish.x86_64  3.0.4-1.el6 varnish-3.0

v1.2.3-eva2000.03 -19/07/2013 [top]

v1.2.3-eva2000.02 -15/07/2013 [top]

  • Updated PHP from v5.3.26 to v5.3.27
  • Updated rpmforge repo download RPM
  • Updated MariaDB 5.5 my.cnf templates with optional MySQL variable to switch from default character set and collation latin1 to utf8 which you can enable following guide at
  • Added preliminary support for PHP 5.5 and Zend OPCache (Zend Optimizer+ opcode cache) for PHP upgrades only via menu option #5. Not fully tested yet.
  • AVG Anti-Virus Add On included at /addons/ (

v1.2.3-eva2000.01 -26/06/2013 [top]

  • Updated menu option #17 for multi threaded compression tools (see for examples of their benefits for faster file compression)
  • Fixed potential low memory issue for PHP compile by raising ISLOWMEMPHP variable threshold to 530000 bytes. So if physically installed memory is less than 530000 bytes, PHP configure will opt for a lower memory configuration by using --disable-fileinfo.
  • Fix php configuration as mysqlnd native driver ignores mysql.sock path if not specifically defined.
  • MariaDB my.cnf templates added default mysql.sock to settings for some servers i.e. Amazon EC2
  • Lower the minimum memory requirements for install on CentOS server from 256MB min to 128MB min. Full details on my test Wordpress blog at Google SPDY enabled https version at
  • Add Google SPDY module support
  • Add ngx_pagespeed module support
  • Add Nginx custom server string = nginx centminmod. Can be disabled in
  • Updated Nginx from v1.2.4 to v1.4.1 stable release
  • Switched default install from MariaDB 5.2.12 115 RPM install to MariaDB official YUM repo for MariaDB 5.5.x branch with MariaDB 5.5.30
  • Added MariaDB 5.2.x to MariaDB 5.5.x upgrade menu option
  • Updated menu option #16 for 'Change SSHD Port Number' function
  • Updated Siege v2.72 to v3.0.1
  • Updated PHP from v5.3.17 to v5.3.26
  • Updated PHP-FPM configure options to change mysqli extension to using the MySQL Native Driver as PHP-FPM 5.3.21 source compile against MariaDB 5.5.29-1 test install failed configure stage.
  • Updated PHP-FPM configure options and added --with-config-file-scan-dir=${CONFIGSCANDIR} defined by 2 variables in CONFIGSCANBASE='/root/centminmod' and CONFIGSCANDIR="${CONFIGSCANBASE}/php.d" to allow separate PHP extension config files for APC Cache, Xcache, Memcached and Memcache.
  • Updated APC Cache from v3.1.12 beta to v3.1.13 beta
  • Updated Python from 2.7.2 to 2.7.3
  • Updated NSD v3.2.13 to v3.2.15
  • Updated libevent from v2.0.20 stable to v2.0.21 stable
  • Fixed YUM repo priorities
  • Add CentALT YUM repository set at priority=9 You can use --enablerepo=CentALT and --disablerepo= to select more updated package versions i.e. redis 2.4.10 in epel vs redis 2.6.7 in centalt i.e. epel repo has priority=3, so to select redis 2.6.7, yum install gperftools-devel; yum install redis --disablerepo=epel
  • Add optional libatomic support to Nginx via set option NGINX_LIBATOMIC=y. Setting it to NGINX_LIBATOMIC=n disables libatomic support when you install or re-install, upgrade or downgrade Nginx via menu option #4.
  • Add option PCRE-JIT support for Nginx via set options NGINX_PCREJIT=y and NGINX_PCREVER='8.32. Setting NGINX_PCREJIT=n will disable PCRE-JIT support for Nginx when you install or re-install, upgrade or downgrade Nginx via menu option #4.
  • Add optional --with-http_dav_module and nginx-dav-ext-module-XXX module support to Nginx. Controlled by set options for NGINX_WEBDAV=y and NGINX_EXTWEBDAVVER='0.0.2'. Setting NGINX_WEBDAV=y enables Nginx to be installed with WebDAV support. Setting NGINX_WEBDAV=n disables WebDAV support when you install or re-install, upgrade or downgrade Nginx via menu option #4.
  • Add nginx-http-concat module to Nginx
  • Add libmemcached
  • Add imagick PHP extension
  • Add memcached PHP extension
  • Add twemperf - twitter memcached benchmarking tool
  • Added ccache - compiler caching support to speed up source recompiles by as much as 60% for recompiling Nginx or PHP i.e. when upgrading or downgrading a previously installed Nginx (from 170 seconds reduced to 67 seconds) or PHP version (from 350 seconds reduced to 158 seconds). By default cache directory is located at /home/.ccache and with a 2 Gigabyte disk cache size set. Automated logging of Centmin Mod menu options now also includes ccache stats output for each menu option run as well as run time stats outlining how many seconds the option took to complete. For example, if you run menu option to upgrade PHP, the automated log saved at /root/centminlogs/ will include how many seconds it took to run PHP upgrade and the ccache statistics.
  • Added /etc/centminmod-release & /etc/centminmod-versionlog files. From v1.2.3-eva2000.01 onwards, each install and upgrade will have it's version numbers written to these files so as to be able to keep track of installed versions. This will make future major feature additions easier to handle for compatibility with older Centmin Mod versions. For example, when MariaDB 5.5 support is added.
  • Faster Centmin Mod installation - up to 40% faster than v1.2.2. Migrating code almost to fully unattented install mode.
  • Rewritten source download file functions. Moving majority of the download process to the top of the script before actual Centmin Mod Install routine. This allows for broken download links to be detected and compressed tarball downloads to be validated before installation proceeds. Failed downloads or invalid compressed tarball downloads (incomplete downloads) will abort the the script allowing you to correct the download links before re-running install. When failed download or invalid compressed tarball package errors occur, you can check Centmin Mod log for specific details at /root/centminlogs/. Download routines have been moved to inc/ file.

v1.2.2-eva2000.22 -08/05/2013 [top]

v1.2.2-eva2000.21 -23/02/2013 [top]

v1.2.2-eva2000.20 -11/10/2012 [top]

  • Updated Nginx from v1.2.3 to v1.2.4 stable release
  • Updated PHP from v5.3.16 to v5.3.17
  • Updated APC Cache from v3.1.12 beta to v3.1.13 beta
  • Updated igbinary from 1.1.1 to 1.1.2 dev build
  • Updated Memcached server from v1.4.14 to v1.4.15
  • Updated libevent from v2.0.19 stable to v2.0.20 stable
  • Updated wget command options
  • Update staticfiles.conf adding mime types font support for eot, svg, ttf and woff
  • Updated PHP download mirror URL, folks changed the format of the URL breaking PHP downloads. Corrected PHP download mirror URL.
  • Updated Nginx upgrade function to prompt for skipping OpenSSL recompile to speed up Nginx upgrades.

v1.2.2-eva2000.19 -25/08/2012 [top]

v1.2.2-eva2000.18 -15/07/2012 [top]

  • Updated Nginx from v1.1.20 to v1.2.2 stable release
  • Updated PHP from v5.3.13 to v5.3.14
  • Updated NSD config file with hide-version: yes option to prevent NSD from replying with the version string on CHAOS class queries
  • Updated Xcache from v2.0.0. to v2.0.1
  • Updated pigz, lzip, plzip, lbzip2 and lzib versions
  • Updated CentOS 6.x YUM EPEL Repo version download url from epel-release-6-6 to epel-release-6-7
  • Added detection support during installation for CentOS 6.x updated /switched to Oracle Unbreakable Enterprise Kernel R2 - 2.6.32-300.25.1 and 2.6.39-100.7.1 (based on 3.0.16 Kernel). Full details here.
[root@]# uname -r

[root@]# uname -r       

v1.2.2-eva2000.17 -19/05/2012 [top]

  • Updated PHP from v5.3.11 to v5.3.13
  • Updated libevent from v2.0.18 stable to v2.0.19 stable
  • Updated Xcache re-install routine to detect from 1.3.2 to 2.0.0 upgrade to update xcache admin directory. Manual instructions are provided during upgrade to properly update xcache admin directory
  • Updated MariaDB 5.2 Upgrade menu option to detect for MariaDB 5.3 being the existing version on server and to abort when MariaDB 5.3 server already detected. The MariaDB 5.2 Upgrade menu option is for MariaDB 5.2.x based upgrades only. Centmin Mod will have an official MariaDB 5.3 Upgrade menu option added separately in future Centmin Mod versions.
  • Updated EPEL release YUM install
  • Updated Nginx and PHP upgrade routines to to allow skipping YUM checks, end user will be prompted if they want to skip YUM checks prior to upgrading Nginx or PHP to speed up upgrade times
  • Updated CSF tweaks to raise both DENY_IP_LIMIT & DENY_TEMP_IP_LIMIT from 100 to 1000 entries in /etc/csf/csf.conf
  • Updated MariaDB 5.2 upgrade routine's download mirror to main MariaDB download mirror as it's quickest to get new MariaDB MySQL updated versions uploaded to
  • Added MariaDB 5.3 upgrade routine (not active right now), currently doing internal tests for probable release for Centmin Mod v1.2.3 series
  • Added server memory installed check, to make sure you have at least 256MB of memory to run installation successfully
Do you want to run YUM install checks ?  [y/n]

This will increase your upgrade duration time wise.
Check the change log
to see if any Nginx or PHP related new additions
which require checking YUM prequisites are met.
If no new additions made, you can skip the 
YUM install check to speed up upgrade time.

 [y/n]: n
PHP Upgrade - Would you like to continue? [y/n] 
ls -lhrt /root/centminlogs/
total 9.1M
-rw-r--r-- 1 root root 4.3M May 19 22:24 centminmod_1.2.2-eva2000.17_190512-213407_install.log
-rw-r--r-- 1 root root 1.2M May 19 22:37 centminmod_1.2.2-eva2000.17_190512-223132_nginx_upgrade.log
-rw-r--r-- 1 root root 1.7M May 19 22:45 centminmod_1.2.2-eva2000.17_190512-223132_php_upgrade.log
-rw-r--r-- 1 root root  32K May 19 22:46 centminmod_1.2.2-eva2000.17_190512-223132_apc_reinstall.log
-rw-r--r-- 1 root root  91K May 19 22:47 centminmod_1.2.2-eva2000.17_190512-223132_memcached_reinstall.log
-rw-r--r-- 1 root root 1.6M May 19 22:57 centminmod_1.2.2-eva2000.17_190512-225211_php_upgrade.log
-rw-r--r-- 1 root root  30K May 19 22:58 centminmod_1.2.2-eva2000.17_190512-225211_apc_reinstall.log
-rw-r--r-- 1 root root  89K May 19 22:59 centminmod_1.2.2-eva2000.17_190512-225211_memcached_reinstall.log
-rw-r--r-- 1 root root  24K May 19 23:00 centminmod_1.2.2-eva2000.17_190512-225211_suhosin_install.log
-rw-r--r-- 1 root root  17K May 19 23:13 centminmod_1.2.2-eva2000.17_190512-225211_ffmpeg_install.log

v1.2.2-eva2000.16 -29/04/2012 [top]

  • Updated PHP from v5.3.10 to v5.3.11
  • Updated Nginx from v1.1.19 to v1.2.0 stable release
  • Updated Xcache from v1.3.2 to v2.0.0 for PHP 5.4 support
  • Updated APC Cache from v3.1.9 to v3.1.10 beta for PHP 5.4 support (Note: v3.1.10 beta retains v3.1.9 version name in PHPINFO so I modified the APC files to correct version number to v3.1.10 etc)
  • Updated APC configuration template files with additional settings you will need to manually add these to your /usr/local/lib/php.ini. You can compare using download zip's copy at config/apc/apc-min.ini or apc.ini
  • Updated staticfiles.conf nginx includes file. You can find updated file in zip dowload config/nginx/staticfiles.conf which you can replace and overwrite the one on server at /usr/local/nginx/conf/staticfiles.conf
  • Updated nginx.conf and vhost template to add a 32K buffer to access_log logging. Changes aren't updated automatically, you will need to update the /usr/local/nginx/conf/nginx.conf manually to remove line log_format bytes_log "$msec $bytes_sent ."; and add the line access_log logs/access.log combined buffer=32k;. You can compare using download zip's copy at config/nginx/nginx.conf to compare against your live servers copy
  • Added optional Nginx modules from Agentzh's Openresty bundle, memc-nginx-module and srcache-nginx-module. These modules are disabled by default but can be enabled by setting 'y' for new variable named NGINX_OPENRESTY=n. For more details read and No support is provided by me, optional modules are provided as is

v1.2.2-eva2000.15 -14/04/2012 [top]

  • Updated Nginx from v1.1.18 to v1.1.19
  • Updated MariaDB 5.2.11-115 MySQL to MariaDB 5.2.12-115 MySQL
  • Updated APC Cache install and re-install routine including setting up password protected file using tool
  • Updated YUM Install routine to be smarter in checking each package whether it's already installed and needs updating or whether it's not installed and needs installing
  • Updated php-fpm.conf files and vhost virtual.conf with pm.status and ping settings. PHP-FPM status/ping is disabled by default, uncomment setting #include /usr/local/nginx/conf/phpstatus.conf; in vhost virtual.conf and restart nginx and php-fpm services to enable. For folks upgrading Centmin Mod, ensure /usr/local/nginx/conf/phpstatus.conf exists, you can find a copy of it in v1.2.2-eva2000.15 zip file's config/nginx/phpstatus.conf location.
  • Fixed CentOS 6.x EPEL Repo link
  • Fixed NSD v3.2.10 install/reinstall issue by moving NSD install routine further down the order for installation, seems v3.2.10 complains it can't find the SSL libraries for some reason and fails to compile, so no /etc/nsd directory is created.
  • Add logging support to menu options. Log directory defined by variable CENTMINLOGDIR='/root/centminlogs' in inc/ When run menu option, the entire process will be logged to a time stamped text log file named ${CENTMINLOGDIR}/centminmod_${SCRIPT_VERSION}_${DT}_*.log so you can review the logs for error messages etc.
ls -lhrt /root/centminlogs/

total 7.3M
-rw-r--r-- 1 root root 4.3M Apr 14 17:14 centminmod_1.2.2-eva2000.15_140412-151749_install.log
-rw-r--r-- 1 root root 1.7M Apr 14 17:44 centminmod_1.2.2-eva2000.15_140412-173219_php_upgrade.log
-rw-r--r-- 1 root root  30K Apr 14 17:44 centminmod_1.2.2-eva2000.15_140412-173219_apc_reinstall.log
-rw-r--r-- 1 root root  89K Apr 14 17:45 centminmod_1.2.2-eva2000.15_140412-173219_memcached_reinstall.log
-rw-r--r-- 1 root root  24K Apr 14 17:46 centminmod_1.2.2-eva2000.15_140412-173219_suhosin_install.log
-rw-r--r-- 1 root root  17K Apr 14 17:49 centminmod_1.2.2-eva2000.15_140412-173219_ffmpeg_install.log
-rw-r--r-- 1 root root 1.3M Apr 14 18:02 centminmod_1.2.2-eva2000.15_140412-173219_nginx_upgrade.log
-rw-r--r-- 1 root root  23K Apr 14 18:31 centminmod_1.2.2-eva2000.15_140412-183136_nsd_reinstall.log
lynx --dump
pool:                 www
process manager:      ondemand
start time:           14/Apr/2012:17:49:06 +1000
start since:          974
accepted conn:        1
listen queue:         0
max listen queue:     0
listen queue len:     0
idle processes:       0
active processes:     1
total processes:      1
max active processes: 1
max children reached: 0

v1.2.2-eva2000.14 - 3/04/2012 [top]

  • Updated memcached init.d stop/start files with $SERVERIP variable
  • Updated Nginx from v1.1.17 to v1.1.18
  • Updated libevent from v2.0.17 stable to v2.0.18 stable
  • Updated MariaDB 5.2.10-107 MySQL to MariaDB 5.2.11-115 MySQL
  • Updated php-fpm upgrade routine to prompt for php-fpm.conf overwrite with latest version and backup existing php-fpm.conf
  • Updated php-fpm.conf templates with additional settings and changing from dynamic to ondemand PHP process manager with pm.process_idle_timeout defaulting to 10 seconds
  • Updated YUM install/checks for CentOS 5.8 detection
  • Updated MariaDB 5.2.x upgrade routine

v1.2.2-eva2000.13 - 16/03/2012 [top]

  • Updated Nginx from v1.1.16 to v1.1.17
  • Updated Nginx upgrade routine, it automatically backs up CONF/ directory before running upgrade and is controlled via 3 variables in NGINXBACKUP='y', NGINXCONFDIR='/usr/local/nginx/conf', NGINXBACKUPDIR='/usr/local/nginxbackup'

v1.2.2-eva2000.12 - 12/03/2012 [top]

v1.2.2-eva2000.11 - 06/02/2012 [top]

  • Updated PHP from v5.3.9 to v5.3.10
  • Updated Nginx from v1.1.11 to v1.1.14
  • Updated Memcached server from v1.4.10 to v1.4.13
  • Updated MariaDB my.cnf templates adding skip-pbxt_statistics & skip-archive
  • Updated Pigz v2.2.2 to v2.2.3
  • Updated Nginx upgrade routine with NGINXUPGRADESLEEP='20' variable to customise how long between Nginx stop command and when source upgrade's make command is run. On some systems Nginx service shutdown doesn't immediately or cleanly shutdown Nginx processes, causing Nginx upgrade to fail. The upgrade routine for Nginx will now have a NGINXUPGRADESLEEP =20 second initial delay after Nginx service is shutdown before make is run. The upgrade routine then will check if Nginx processes are still running and if so, trigger a 2nd NGINXUPGRADESLEEP = 20 second delay before running make. You can adjust the delay via NGINXUPGRADESLEEP='20'.
  • Fixed plzip download url
  • Fixed lzip download url
  • Fixed autoconf/autoconf-2.1.3 PHP-FPM compile on CentOS 5.7
  • Increased nginx.conf gzip level from default 1 to 7
  • Added ImageMagicK via YUM install
  • Added Suhosin PHP Extension Menu Install option for php-fpm
  • Added FFMPEG via YUM install + FFMPEG PHP extension for php-fpm

v1.2.2-eva2000.10 - 15/01/2012 [top]

  • Added check for wget which maybe missing on CentOS 6.x minimal install ISO CD images (read)
  • Added more checks for yum install prerequisites prior to Nginx and PHP upgrades to make sure updated changes to Nginx and PHP upgrade routines have the required dependencies etc
  • Fixed command shortcuts to detect if memcached and CSF are actually installed before installing their respective command shortcuts

v1.2.2-eva2000.09 - 12/01/2012 [top]

  • Updated PHP from 5.3.8 to 5.3.9 for security and bug fixes, including DoS hash fix
  • Tuned CSF firewall settings
  • Fixed Sproxy install - missing perl-ExtUtils-MakeMaker
  • Added via yum install iotop, iftop and mytop
  • Added script to cron.daily cronjob to alert when system partitions reach >90% full. Default email alerts sent to root unless you edit EMAIL='' variable in /etc/cron.daily/diskalert
  • Added alternative download option for CentOS versions greater than >6.x to use Axel download accelerator instead of wget to download apps. Axel download accelerator uses multiple connections to speed up downloads

v1.2.2-eva2000.08 - 20/12/2011 [top]

  • Checks for latest working & tested CentOS version

v1.2.2-eva2000.07 - 13/12/2011 [top]

  • Updated Nginx from v1.1.8 to v1.1.11
  • Updated MariaDB MySQL from 5.2.9-102 to 5.2.10-107
  • Fix ngx_cache_purge-1.4.tar.gz download
  • Fix PHP upgrade configure error for older pre-menu Centmin Mod releases: 'configure: error: utf8_mime2text() has new signature'

v1.2.2-eva2000.06 - 27/11/2011 [top]

  • Updated Nginx from v1.1.7 to v1.1.8
  • Updated Memcached server from v1.4.9 to v1.4.10
  • Updated libevent from v2.0.15 stable to v2.0.16 stable
  • Updated nginx.conf for Nginx v1.1.8 changes from limit_zone to limit_conn_zone syntax
  • Added new menu option to install multi-threaded compression tools, pigz, pbzip2, lbzip2, p7zip etc. Choose between better compression ratios (smaller file sizes) vs faster compression speed.
  • Added control panel checks for incompatible control panels ie. WHM/Cpanel, Plesk and DirectAdmin
  • Added Nginx upgrade check for older Centmin mod releases to ensure nginx.conf client_body_in_file_only option is disabled
  • Fixed libevent download

v1.2.2-eva2000.05 - 05/11/2011 [top]

  • Updated Nginx from v1.1.6 to v1.1.7
  • Updated Memcached server from v1.4.8 to v1.4.9
  • Updated Nginx virtual.conf settings
  • Updated nginx.conf turn off client_body_in_file_only
  • Updated php-fpm.conf, php-fpm-2pools.conf, php-fpm-min-2pools.conf and php-fpm-min.conf settings
  • Fixed for missing zone: entry when adding domain zone to /etc/nsd/nsd.conf
  • Added inc/ to configure sendmail when detected/installed

v1.2.2-eva2000.04 - 18/10/2011 [top]

  • Updated Nginx from v1.1.5 to v1.1.6
  • Updated libevent from v2.0.14 stable to v2.0.15 stable
  • Updated Nginx vhost and template with SSI option you can enable via uncommenting
  • Updated checks for CentOS 5.7 for php configuration and mcrypt support
  • Fixed possible openssl update conflict with previous version of openssl

v1.2.2-eva2000.03 - 09/10/2011 [top]

  • Switched default MariaDB MySQL install back to RPM manual install method due to MariaDB YUM REPO issues. Complaints of MariaDB-server-5.2.9-102.el5 public key issues causing MariaDB server install failure.

v1.2.2-eva2000.02 - 08/10/2011 [top]

  • Centmin Mod project gets own domain name: (runs on 3x load balanced Centmin Mod Nginx based web servers :) )
  • Included Centmin Mod logo (I used the same Denmark font type :) )
  • Updated Nginx from v1.1.4 to v1.1.5
  • Updated Memcached server from v1.4.7 to v1.4.8
  • Updated ngx_cache_purge nginx module from v1.3 to v1.4. Change log
  • Updated drop.conf setting favicon.ico expires header
  • Added optional custom 404/50x html pages via #include /usr/local/nginx/conf/errorpage.conf; uncomment in vhost file & restart nginx to enable.

v1.2.2-eva2000.01 - 03/10/2011 [top]

  • Updated Nginx from v1.0.6 to v1.1.4 for default installs
  • Updated libevent from v2.0.13 stable to v2.0.14 stable
  • Updated libevent download url from${LIBEVENT_VERSION}-stable.tar.gz to${LIBEVENT_VERSION}-stable.tar.gz
  • Add to nginx.conf & vhost template commented out option for rate limiting connections per IP
  • Added Change SSHD Port number menu option to change from default SSHD Port 22
  • Added for correct service init.d start up scripts stack size on OpenVZ systems
  • Streamlined php-fpm.conf and php-fpm-min.conf settings.
  • Split Nginx add vhost and MariaDB upgrade functions from to own includes files "inc/" & "inc/"
  • Fixed missing escape on $TTL for domain zone template

v1.2.1-eva2000.14 - 24/09/2011 [top]

  • renamed to for public release
  • Tune - reduce memcached server default memory allocation rom 16MB to 8MB per instance
  • Add to a nginx & php-fpm logrotate functions
  • Updated OpenSSL to v1.0.0e
  • Updated MariaDB 5.2.9 if you manual RPM install (set MDB_INSTALL=y and MDB_YUMREPOINSTALL=n). If you use default YUM REPO install (set MDB_INSTALL=n and MDB_YUMREPOINSTALL=y), then you're at mercy of frequency of REPO's updates, but currently YUM REPO is still on MariaDB 5.2.7.

v1.2.1-eva2000.13 PRIVATE BETA - 14/09/2011 [top]

  • Tune Nginx networking settings
  • Tuned init.d for memcached, nginx, php-fpm to reduce stack size when OpenVZ systems detected
  • Added MariaDB mysql my-mdb-min.cnf and my-mdb-4gb.conf for <256MB and 4GB memory systems
  • Added php-fpm-min.conf for <256MB memory systems
  • Added apc-min.ini for <256MB memory systems
  • Added xcache-min.ini for <256MB memory systems

v1.2.1-eva2000.12 PRIVATE BETA - 08/09/2011 [top]

  • Hide script cleanup/deletion routine when is in Menu Mode (ENABLE_MENU=y)
  • Add to NSD domain/ip/nameserver setup menu
  • Add to sendmail YUM install routine a check for Postfix existence. If Postfix exists, sendmail YUM install aborts
  • Add to Nginx and PHP upgrade menus, error check logging at configure, make and make install stages. Will abort if errors occur at each of the 3 stages.
  • Revised Memcached server install to prompt for 1 or 2 memcached server instances to be installed. Previous releases had defaulted to 2x 16MB memcached server instances.
  • Revised install routines with added check if custom conf, or file or install already exist or have already been run before. Prevents duplicate config settings from existing if folks accidentally re-run the main install routine again.

v1.2.1-eva2000.11 PRIVATE BETA - 06/09/2011 [top]

  • Extended script menu with Nginx add vhost & support
  • Updated to Google Perf Tools v1.8.3

v1.2.1-eva2000.10 PRIVATE BETA - 04/09/2011 [top]

  • Added script menu support via experimental script

v1.2.1-eva2000.09 - 01/09/2011 [top]

  • Updated Extras/nginx-vhost domain setup tool
  • Updated Nginx from v1.0.5 to v1.0.6
  • Updated Libevent from v2.0.12 to v2.0.13
  • Optimised default MariaDB 5.2 MySQL my.cnf for lower memory usage for low memory based VPS (note: you'll need more memory for better performance)

v1.2.1-eva2000.08 - 26/08/2011 [top]

  • Updated to Google Perf Tools v1.8.2
  • Updated PHP compile options added --with-xpm-dir=${LIBDIR} and IMAP support --with-imap --with-imap-ssl --with-kerberos
  • Added yum install mlocate to CentOS 6.0 detection rountine as slocate doesn't work

v1.2.1-eva2000.07 - 24/08/2011 [top]

v1.2.1-eva2000.06 - 22/08/2011 [top]

v1.2.1-eva2000.05 - 19/08/2011 [top]

  • Updated to PHP 5.3.7
  • Updated PHP compile options with libjpeg/libpng/freetype & PDO support
  • Added option for MariaDB 5.2.x CentOS YUM REPO installation via MDB_YUMREPOINSTALL=y option enabled by default, with MDB_INSTALL=n & MYSQL_INSTALL=n by default. So you will use yum update MariaDB-* to update MariaDB 5.2.x mysql server.
    [root@localhost ~]# yum list MariaDB-*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base:
     * extras:
     * updates:
    Excluding Packages in global exclude list
    Installed Packages
    MariaDB-client.x86_64  5.2.7-101.el5  installed         
    MariaDB-devel.x86_64   5.2.7-101.el5  installed         
    MariaDB-server.x86_64  5.2.7-101.el5  installed         
    MariaDB-shared.x86_64  5.2.7-101.el5  installed         
    MariaDB-test.x86_64  5.2.7-101.el5  installed         
    Available Packages
    MariaDB-debuginfo.x86_64  5.2.7-101.el5  ourdelta-mariadb52

v1.2.1-eva2000.04 - 10/08/2011 [top]

  • Update for CentOS 6.0 if detected will install EPEL 6 repo for missing libmycrypt related rpms
  • Updated Python from v2.7.1 to v2.7.2 but still leaving default CentOS 5/6 python versions intact
  • Fix MariaDB 5.2.x server unable to start

v1.2.1-eva2000.03 - 2/08/2011 [top]

  • Updated Nginx compile config and script
  • Added --with-mcrypt if CentOS 5.6/6.0 is detected. Error with CentOS 5.5 hasn't been resolved so mcrypt not compiled with CentOS 5.5 version.
  • Temporarily removed Nginx v1.0.5 compile option --with-ld-opt='-ltcmalloc_minimal' as seem to get an error if compiled via script but manually compiling is fine. Haven't figured it out yet but only started occuring with Nginx v1.0.5. If compiled via script get error 
    checking for --with-ld-opt="-ltcmalloc_minimal" ... not found
    ./configure: error: the invalid value in --with-ld-opt="-ltcmalloc_minimal"
    If compiled manually it detects fine
    checking for --with-ld-opt="-ltcmalloc_minimal" ... found

v1.2.1-eva2000.02 - 31/07/2011 [top]

v1.2.1-eva2000.01 - 18/06/2011 [top]

  • Synced changes with official Centmin v1.2.1 i.e. add --tries=3 to wget downloads
  • Added Centmin v1.2.1 official release setup script
  • Fixed broken Seige benchmark and SPROXY download links

  • Updated MariaDB MySQL from 5.2.6-101 to 5.2.7-101. MariaDB 5.2.7 Release Notes.
  • Fixed MariaDB download links by adding ${MDB_VERONLY} and ${MDB_BUILD} variables and changing MDB_VERSION variable to "${MDB_VERONLY}-${MDB_BUILD}"
  • Updated Libevent from v2.0.10 to v2.0.12
  • Added config/htpasswdgen/ python based htpasswd encoding generator to create passwords for systems without Apache. Original author of, Eli Carter.  To encode a password for htpasswd protection run command: python /usr/local/nginx/conf/ -b /usr/local/nginx/conf/htpasswd yourusername yourpassword. Or if you have htpasswd from apache, set password up with command: htpasswd -s /usr/local/nginx/conf/htpasswd yourusername

v1.2.0-eva2000.04 - 13/06/2011 [top]

  • Additional php-fpm optimisations
  • Fixed command shortcuts for mysqlstop, mysqlstart, mysqlrestart to take into account MySQL community versions chosen during install instead of MariaDB MySQL
  • Updated MySQL Community default server & MariaDB MySQL my.cnf settings

v1.2.0-eva2000.03 - 11/06/2011 [top]

  • Added yum.conf check routine after MariaDB and PHP installs to add mysql* and php* exclusion for default mysql and php during yum updates
  • Updated apc.ini
  • Fixed APC autoconf errors
  • Add version which adds additional routines to be able to: centmin install, php upgrade, xcache upgrade, apc upgrade, nginx upgrade, standalone xcache or apc installations. Not fully tested yet. So do not use on live production servers.

v1.2.0-eva2000.02 - 10/06/2011 [top]

  • Improved various Nginx and php-fpm config settings i.e. for correctly working $_SERVER['PATH_INFO'], $_PATH['PATH_TRANSLATED'] and $_SERVER['PHP_SELF'] php environment variables

v1.2.0-eva2000.01 - 09/06/2011 [top]

  • Set MariaDB 5.2.x as default MySQL server installation
  • Updated download link
  • Added Memcached server, libevent
  • Added Memcache PHP extension - please leave at v3.0.5, v3.0.6 doesn't seem to work
  • Added Python 2.7.1 installed /opt/python2.7.1 leaving CentOS Python 2.4.3-43 intact
  • Updated Nginx FancyIndex module download link to Gitorious archive tarball
  • Changed APC Cache from YUM based install to compiled from source
  • Added APC cache myapc.php admin page at /usr/local/nginx/html/myapc.phpAdded config/apc/apc.ini APC cache settings file
  • Added xcache admin directory to /usr/local/nginx/html/myxcacheadmin/ you need to read config/xcache/xcache_admin_setup_instructions.txt for xcache admin user/pass changes procedure
  • Added xcache admin password setup routine
  • Added memcache.php admin login setup routine
  • Fixed PHP configure error: Cannot find OpenSSL's libraries
  • Fixed Xcache compile error: Cannot find autoconf
  • Fixed Extras/ nginx version read variable ${ngver}

Install Centmin Mod LEMP Stack Today Download