Centmin Mod v1.2.3-eva2000.07 BETA testing. 

I think I just created a new obsessive addiction - can't stop benchmarking Centmin Mod CLI install mode to shave more time off the install process :o The next (12th) .07 beta I have gotten install time down from original 1900 seconds to 731 seconds right now !

Total Centmin Mod Install Time: 731.704707779 seconds

You can find the 12th .07 beta with timestamped naming at  http://centminmod.com/centminmod_beta/centmin-v1.2.3-eva2000.07_submenu_090414.zip

11th .07 beta broke an all time record for fastest ever install time at 950 seconds. Did it by switching libmemcached from source install to enabling CentALT repo's YUM package for libmemached 1.0.18.

Total Centmin Mod Install Time: 950.793005823 seconds

10th .07 beta out with minor fixes + installation speed improvements. Now instead of auto reinstalling all previously detected PHP extensions on PHP upgrades (menu #5), it will only auto reinstall on major PHP version changes i.e. moving between PHP 5.3, 5.4 and 5.5. For minor PHP version changes within same branch i.e. PHP 5.3.xx, 5.4.xx and 5.5.xx it will leave existing PHP extensions alone without reinstalling. This should speed up PHP recompiles for same branch upgrade/downgrades but ensure major PHP version changes work well with auto reinstall.

Also if you install via the new CLI command line mode you will get 2 shortcut alias added (since the download location is 100% known). 

cmdir = change to centmin mod directory
centmin = invoke and run centmin.sh

CLI install mode command

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

9th .07 beta is out with the return of an optional cli command line install method as well for folks wanting quick unattended deployments. So if you run


will give you the usual menu options

if you run

./centmin.sh install

will automatically just install Centmin Mod and bypass the menu completely and is same equivalent as running menu option #1 on menu mode.

8th .07 beta released today. I finally did away with the question prompts for memcached admin user/pass and MySQL security setup near the end of initial Centmin Mod install. This means menu #1 for Centmin Mod is now fully unattended as you can see in attached image the revised setup now sets memcached admin user/pass and MySQL root password automatically and outputs the auto created details for you to write down.

Seventh .07 beta out fixes a few PHP/Opcache change bugs. 

The sixth .07 beta now supports manually making PHP 5.5 + Zend Opcache the default via editing centmin.sh before initial install. For folks wanting PHP 5.5 + Zend OpCache installed by default, they need to edit 2 centmin.sh variables BEFORE centmin.sh run/install

set PHP_VERSION to 5.5.xx specific version


and set a newly added .07 variable called


This should override everything, so centmin.sh #1 install run will install PHP 5.5.10 with Zend OpCache by default.

If you set in centmin.sh


then PHP 5.4.26 will be installed with Zend OpCache by default.

If you leave the defaults in centmin.sh


then PHP 5.4.26 + APC Cache will be installed by default

The fifth .07 beta and in light of MariaDB 10.0.10 near GA stable release, I decided to revise menu options #11 and #12 into sub-menus for MariaDB upgrade and for a dedicated #12 menu option to install Zend OpCache instead of APC Cache or Xcache. Currently, menu option #11 sub menu option #3 for MariaDB 10 doesn't do anything right now. I will add that in subsequent beta .07 releases.

For beta testing you will need a spare VPS or locate test CentOS 6.x server and willing to test the next .07 Beta release ? You will need to be willing to reload your operating a system to do several tests etc.

Tests include

1. Fresh .07 install

2. Fresh .07 install followed by installing addons/passenger.sh, addons/python27_install.sh, addons/geoip.sh. If you frequently use nginx passenger, python 2.6 and 2.7, ruby or node.js based apps, here's a chance to test and make sure Centmin Mod optional addons install everything you need to make use of them

3. Fresh .07 install + PHP upgrade menu option #5 which now should auto detect previously installed PHP extensions like APC + igbinary, memcache/memcached, ImagemagicK and auto reinstall them during option #5 PHP recompile/upgrades. No longer will you need to run separate menu options #7,#10 and #15 after PHP recompile :)

4. Fresh .06 previous install + Upgrade to .07 beta release and then followed by installing addons/passenger.sh, addons/python27_install.sh, addons/geoip.sh + PHP upgrade menu option #5

5. Fresh .07 install but prior to running centmin.sh, edit and set these 4 options PHP_DISABLED=y, MYSQLSERVICE_DISABLED=y, NSD_DISABLED=y and MEMCACHED_DISABLED=y which will install the respective software, but at end of Centmin Mod install will disable the services, so php-fpm, memcached server, nsd service and mysql service will all be disabled and not running. This is for folks who do not need a particular service and as a compromise I have made available option to disable them but still install them, so if they ever need re-enabling they can be.

6. Running menu options #11 and #12 and testing out sub-menu options.

7. Test PHP_VERSION=5.5.10 and ZOCACHEDFT='y' edit in centmin.sh prior to initial centmin.sh install

8. Test the optional cli command line install method as well for folks wanting quick unattended deployments. 

So if you run


will give you the usual menu options

if you run

./centmin.sh install

This is a preview of the current .07 beta release change log.

- Improvements to speed up install process
- Added back the return of an optional cli install method which bypasses the menu option #1 install method. If you run ./centmin.sh install, you can bypass the shel based menu for fully unattended installation.
- 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. http://centminmod.com/screenshots/centminmod/v123_07/centminmod07_new_memcacheadmin_mysqlsecurity_setup_fullunattended.png.
- Added ZOPCACHEDFT='n' variable to centmin.sh. 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 <5.5. For PHP 5.5 + Zend OpCache you only need to run menu #5 to specify PHP version 5.5.xx to be prompted for native Zend OpCache in PHP 5.5
- Updated PHP default version out of the box from 5.3.28 to 5.4.26
- Moved all downloads links themselves out of the download functions at inc/downloads.inc to their own file at inc/downloadlinks.inc for easier management
- Changed PHP's default config scan directory variable path (CONFIGSCANDIR) from /root/centminmod/php.d to /etc/centmimod/php.d. centmin.sh 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 https://blog.centminmod.com/194 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 ImagicK. 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 http://www.php.net/manual/en/ldap.installation.php. If you don't currently have PHP LDAP extension support, just run yum -y install openldap-clients and then run centmin.sh menu option #5 to recompile PHP.
- Updated Nginx from v1.5.8 to v1.5.13 release http://nginx.org/en/CHANGES
- Updated Nginx WebDav module from 0.0.2 to 0.0.3 https://github.com/arut/nginx-dav-ext-module
- Updated multi-threaded compression menu with updated versions for pbzip2, lbzip2, plzip, lzip
- Updated libmemcached from 1.0.16 to 1.0.18 https://launchpad.net/libmemcached/+download
- Updated Memcache PHP extension to 3.0.8 http://pecl.php.net/package-changelog.php?package=memcache
- Updated Siege v3.0.5 to v3.0.6 http://www.joedog.org/pub/siege/ChangeLog
- 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 centmin.sh 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 centmin.sh 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 centmin.sh 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 https://groups.google.com/d/topic/ngx-pagespeed-discuss/Yb0mt3ApciU/discussion. Change log https://developers.google.com/speed/pagespeed/module/release_notes
- Added inc/entropy.inc functions to increase default Entropy pool availability on non-OpenVZ systems i.e. KVM, Xen, dedicated using haveged entropy daemon http://www.issihosts.com/haveged/. More info at https://www.digitalocean.com/community/articles/how-to-setup-additional-entropy-for-cloud-servers-using-haveged
- Added standalone Python 2.7 install Addon at /addons/python27_install.sh 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 http://nginx.org/en/docs/http/ngx_http_image_filter_module.html)
- Added to Nginx configuration headers-more module (http://wiki.nginx.org/HttpHeadersMoreModule and https://github.com/agentzh/headers-more-nginx-module)
- Added support for Phusion Passenger https://github.com/phusion/passenger for Nginx support for Ruby, Rails and RubyGem and Python to centmin.sh and nginx_upgrade.inc. In centmin.sh 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/passenger.sh 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 centmin.sh with NGINX_GEOIP=n option for Nginx GeoIP module support http://wiki.nginx.org/HttpGeoipModule. 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/geoip.sh which will install the GeoIP database and library. After installed, then set NGINX_GEOIP=y in centmin.sh 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

Be sure to specifically visit and post to the correct Community categories on left menu for easier tracking and following of community discussions ;)

Join Centmin Mod Google+ http://centminmod.com/gpage and/or Google+ Community http://centminmod.com/gcom to be able to add comments, suggestions or feedback to this post. Don't forget to +1 and share this news.
Shared publiclyView activity