I can't wait to get lua module on my server now, however is this CentOS 7+ only, not 6?
Ok, just referering to the tag you made here. If i were to re-install the server with the latest Centmin version. What would you suggest me to choose, in matter of OS? I have 2GB Ram & 8 Cores.
This is still beta for .08 beta 03 so for peace of mine CentOS 6.6 is a safer bet. CentOS 7.1 if you're adventerous and don't mind troubleshooting issues more often and more updates for centmin mod. But yes CentOS 7.1 performs better than CentOS 6.6 Simple fact is CentOS 7.1 and Centmin Mod stability is tied into how much testing and feedback folks give during this beta testing phase
I'm more of a user, and hate when errors appears (panic attack). In other words, CentOS 6 should be more stable with Centminmod? When do you think centmin lua modules etc will be out of BETA? or is it ok to use them for a live site now
yes CentOS 6 more stable as CentOS 7.x has too many drastic system changes under the hood so only time will tell what else comes up. Everything in .08 beta03 is beta so treat it as such - point of beta is to test and report bugs So whether you use it on live site is up to you
@Steve Tozer reported first .08 beta 03 bug on php 5.6 upgrade with zend opcache which i committed a fix Beta Branch - update inc/zendopcache_upgrade.inc for .08 beta03 | Centmin Mod Community
Added tools/gitsetup.sh which just automates the steps outlined at Upgrade - Working with git command line for updating Centmin Mod local copies to switch centmin mod locally installed code base to one that is maintained via git command line example of output Code: cd /usr/local/src/centminmod-123.08beta03/tools chmod +x gitsetup.sh ./gitsetup.sh setup Centmin Mod git sourced install... download github.com centmin mod 123.08beta03 branch repo Cloning into 'centminmod-123.08beta03'... remote: Counting objects: 3811, done. remote: Compressing objects: 100% (83/83), done. remote: Total 3811 (delta 43), reused 0 (delta 0), pack-reused 3726 Receiving objects: 100% (3811/3811), 959.69 KiB | 273.00 KiB/s, done. Resolving deltas: 100% (2672/2672), done. Branch 123.08beta03 set up to track remote branch 123.08beta03 from origin. Switched to a new branch '123.08beta03' list all available local branches git branch -a * 123.08beta03 master remotes/origin/123.06stable remotes/origin/123.07stable remotes/origin/123.08beta03 remotes/origin/123.08centos7beta01 remotes/origin/123.08centos7beta02 remotes/origin/123.08livestats remotes/origin/123.08lua remotes/origin/123.08zerodown remotes/origin/HEAD -> origin/master remotes/origin/master list git log last commit git log -a commit 2d41a72a7de261ba0b792bf19eb526a382ea1b57 Author: George Liu <EMAIL> Date: Sun May 31 14:19:14 2015 +1000 switch cmdir command shortcut back to using alias cmd to update centmin mod 123.08beta03 branch repo via git cd /usr/local/src/centminmod-123.08beta03 git stash git pull chmod +x centmin.sh
coming soon I hope - centmin.sh menu option 23 = Update Centmin Mod Code Base (via git) Code: -------------------------------------------------------- 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 ] 23 -------------------------------------------------------- -------------------------------------------------------- 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 ] submenu option 1 setup github local environment Code: -------------------------------------------------------- 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 ] 1 -------------------------------------------------------- setup Centmin Mod git sourced install... download github.com centmin mod 123.08beta03 branch repo Cloning into 'centminmod-123.08beta03'... Switched to a new branch '123.08beta03' Branch 123.08beta03 set up to track remote branch 123.08beta03 from origin. list all available local branches git branch -a * 123.08beta03 master remotes/origin/123.06stable remotes/origin/123.07stable remotes/origin/123.08beta03 remotes/origin/123.08centos7beta01 remotes/origin/123.08centos7beta02 remotes/origin/123.08livestats remotes/origin/123.08lua remotes/origin/123.08zerodown remotes/origin/HEAD -> origin/master remotes/origin/master list git log last commit git log -a commit 0a14b23ee0ec2c7787bdfc6befd58d5fb13475dd Author: George Liu <EMAIL> Date: Sun May 31 14:40:29 2015 +1000 add tools/gitsetup.sh to automate steps to switch to git updated code base https://community.centminmod.com/threads/working-with-git-command-line-for-updating-centmin-mod-local-copies.2150/ to update centmin mod 123.08beta03 branch repo via git cd /usr/local/src/centminmod-123.08beta03 git stash git pull chmod +x centmin.sh if you try submenu option 2 and you haven't done submenu option 1 yet Code: -------------------------------------------------------- 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 ] 2 -------------------------------------------------------- Error: you do not have git environment setup for github based updates run submenu option 1 to setup github environment first switching to a new github branch via submenu option 3 Code: -------------------------------------------------------- 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 ] 3 -------------------------------------------------------- Update Centmin Mod to newer branch via git You need to input the name of the branch List of current remote branches by descending date order 2015-05-31 16:54:41 +1000 4 minutes ago 123.08beta03updater 2015-05-31 14:40:29 +1000 2 hours ago 123.08beta03 2015-05-29 20:22:39 +1000 2 days ago master 2015-05-29 20:22:39 +1000 2 days ago master 2015-05-28 21:20:39 +1000 3 days ago 123.08livestats 2015-05-28 15:29:07 +1000 3 days ago 123.08lua 2015-05-27 15:54:13 +1000 4 days ago 123.08centos7beta02 2015-05-17 19:25:36 +1000 2 weeks ago 123.07stable 2015-05-12 00:44:49 +1000 3 weeks ago 123.08centos7mongodb 2015-05-08 03:36:57 +1000 3 weeks ago 123.08centos7setmisc 2015-04-13 12:00:17 +1000 7 weeks ago 123.08centos7beta02wp 2015-04-07 12:33:43 +1000 8 weeks ago 123.08centos6beta02redis 2015-04-04 05:50:25 +1000 8 weeks ago 123.07stable-fixes 2015-03-25 03:45:39 +1000 10 weeks ago 123.08zerodown 2015-03-10 16:52:48 +1000 3 months ago 123.08geoip 2015-03-10 16:52:37 +1000 3 months ago 123.08centos7beta01 2015-02-24 22:19:38 +1000 3 months ago 123.07stable_intel 2015-02-02 00:51:34 +1000 4 months ago 123.08slowfs 2014-06-23 17:08:44 +1000 11 months ago 123.06stable -> Code: Enter the branch name you want to switch to i.e. 123.08beta03 : 123.08beta03 download github.com centmin mod 123.08beta03 branch repo Cloning into 'centminmod-123.08beta03'... dedicated discussion thread at CentOS 7.x - New .08 beta menu option - updating Centmin Mod via git | Centmin Mod Community
Greaaaaaaaaaaaaaaaaaaaat , You are my Master George , thanks its a amazing option and i really need this , thanks
yeah figured it's best to get this in during the beta phase so when .08 goes stable more folks update dedicated thread to discuss the updater menu option 23 Beta Branch - New .08 beta menu option - updating Centmin Mod via git | Centmin Mod Community
Updated .08 beta 03 with some June 1 commits including adding additional time recordings for source downloads and first time initial nginx installation. This is so I can benchmark and improve install times Commits · centminmod/centminmod · GitHub Code: cd /root/centminlogs tail -1 centminmod_ngxinstalltime_010615-085814.log Total Nginx First Time Install Time: 323.873886952 seconds tail -1 centminmod_downloadtimes_010615-085814.log Total Source Download Time: 314.803762889 seconds tail -1 centminmod_yumtimes_010615-085814.log Total YUM Time: 303.042528310 seconds tail -1 centminmod_1.2.3-eva2000.08_010615-085814_install.log Total Centmin Mod Install Time: 911.139768268 seconds might have messed something up, so might want to hold off for 24hrs before trying .08 beta03 install as getting some errors on post install check Code: -------------------------------------------------------- Check Memcached Server Version: -------------------------------------------------------- inc/centminfinish.inc: line 45: /usr/local/bin/memcached: No such file or directory -------------------------------------------------------- Check CSF Firewall Version: -------------------------------------------------------- inc/centminfinish.inc: line 51: csf: command not found -------------------------------------------------------- Check Siege Benchmark Version: -------------------------------------------------------- inc/centminfinish.inc: line 58: siege: command not found weird something is causing centmin.sh to skip the install progress for only memcached, csf and siege !
okay fixed csf, memcached and siege installs note sure why download source times so long though as i have now bundled in downloads/svr-setup.zip most of the source required packages (ok ccache yum install is included in those source download times so could be it) these times only show up with method 2 or 3 installs outlined in 1st post. Code: Total YUM Time: 303.990078889 seconds Total Source Download Time: 314.983260884 seconds Total Centmin Mod Install Time: 966.573120914 seconds Code: tail -1 centminlogs/centminmod_ngxinstalltime_010615-104356.log Total Nginx First Time Install Time: 318.100219997 seconds Code: ************************************************* * Post-Install Check List.... ************************************************* -------------------------------------------------------- Check ccache Version: -------------------------------------------------------- ccache version 3.1.6 Copyright (C) 2002-2007 Andrew Tridgell Copyright (C) 2009-2011 Joel Rosdahl This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. -------------------------------------------------------- Check Nginx Version: -------------------------------------------------------- nginx version: nginx/1.9.1 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) built with OpenSSL 1.0.2a 19 Mar 2015 TLS SNI support enabled configure arguments: --with-ld-opt=-Wl,-rpath,/usr/local/lib --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.28 --add-module=../echo-nginx-module-0.57 --add-module=../lua-nginx-module-0.9.16rc1 --add-module=../lua-upstream-nginx-module-0.02 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../nginx-module-vts --with-openssl=../openssl-1.0.2a --with-libatomic --with-threads --with-stream --with-stream_ssl_module --with-pcre=../pcre-8.37 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.3-beta -------------------------------------------------------- Check PHP-FPM Version: -------------------------------------------------------- PHP 5.4.41 (cli) (built: Jun 1 2015 14:57:05) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies -------------------------------------------------------- Check MariaDB installed RPM Versions: -------------------------------------------------------- MariaDB-compat-10.0.19-1.el6.x86_64 MariaDB-shared-10.0.19-1.el6.x86_64 MariaDB-common-10.0.19-1.el6.x86_64 MariaDB-client-10.0.19-1.el6.x86_64 MariaDB-server-10.0.19-1.el6.x86_64 MariaDB-devel-10.0.19-1.el6.x86_64 -------------------------------------------------------- Check Memcached Server Version: -------------------------------------------------------- memcached 1.4.24 -------------------------------------------------------- Check CSF Firewall Version: -------------------------------------------------------- csf: v7.69 (generic) -------------------------------------------------------- Check Siege Benchmark Version: -------------------------------------------------------- SIEGE 3.0.9 Copyright (C) 2014 by Jeffrey Fulmer, et al. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -------------------------------------------------------- Check ngx_pagespeed Control Script: http://centminmod.com/nginx_ngx_pagespeed.html -------------------------------------------------------- pscontrol admin pscontrol handler pscontrol edit pscontrol on pscontrol off pscontrol statson pscontrol statsoff -------------------------------------------------------- Check mysqlreport version: -------------------------------------------------------- mysqlreport v3.5-maria11 Jul 4 2013 -------------------------------------------------------- Check NSD Bind Version: -------------------------------------------------------- NSD version 3.2.18 Written by NLnet Labs. Copyright (C) 2001-2011 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -------------------------------------------------------- Check pure-ftpd Version: -------------------------------------------------------- pure-ftpd v1.0.30 -------------------------------------------------------- Check YUM Repo List -------------------------------------------------------- Loaded plugins: downloadonly, fastestmirror, priorities, security Loading mirror speeds from cached hostfile * base: centos.mirror.ndchost.com * epel: mirror.hmc.edu * extras: mirror.hmc.edu * rpmforge: mirror.webnx.com * updates: mirror.hostduplex.com 1605 packages excluded due to repository priority protections repo id repo name status base CentOS-6 - Base 4,952+1,566 epel Extra Packages for Enterprise Linux 6 - x86_64 8,740+2,833 extras CentOS-6 - Extras 38 mariadb MariaDB 12+5 rpmforge RHEL 6 - RPMforge.net - dag 3,199+1,519 updates CentOS-6 - Updates 875+272 vz-base vz-base 3 vz-updates vz-updates 2+6 repolist: 17,821 edit: hmm spoke too soon Code: service memcached status memcached: unrecognized service edit fixed memcached init.d setup at update inc/memcached_install.inc · centminmod/centminmod@3a36ea0 · GitHub another side affect of downloads profile timing and some variables being skipped
on a roll with centmin mod .08 beta03 updates for June 2, 2015 Commits · centminmod/centminmod · GitHub times don't seem to add up though > 956s i think the system timezone changes later in centmin mod install might have some affect ? Code: Total YUM Time: 296.284933915 seconds Total Source Download Time: 311.721833809 seconds Total Nginx First Time Install Time: 326.078525220 seconds Total PHP First Time Install Time: 121.114101306 seconds Total Centmin Mod Install Time: 956.416774540 seconds verifying nginx is now using jemalloc for memory management Code: lsof -n | grep jemalloc nginx 5896 root mem REG 182,565105 210024 535012 /usr/lib64/libjemalloc.so.1 nginx 5897 nginx mem REG 182,565105 210024 535012 /usr/lib64/libjemalloc.so.1 nginx 5898 nginx mem REG 182,565105 210024 535012 /usr/lib64/libjemalloc.so.1 Wordpress 7 site is first site to switch to .08 beta03's latest Nginx configuration and working vhost traffic stats
Heads up experimental .08 beta03 branch with LibreSSL instead of OpenSSL has been posted at SSL - Nginx and LibreSSL alternative to OpenSSL | Centmin Mod Community
Do we have to do any changes if we use a key file created by Puttygen to authenticate as if i am not wrong the creation is related to Openssh?
June 9th commit bugs Just heads up seem somewhere in my commits today (June 9th) Commits · centminmod/centminmod · GitHub I might have introduced a bug for when using curl one liner Centmin Mod installs.. the $CUR_DIR variable in centmin.sh which determines where the downloaded Centmin Mod zip file's extracted path seems to get overridden so some files don't end up where they're suppose to me i.e. /etc/init.d/nginx start/stop script ends up missing. Looking into it now Background for June 9th Commits It all started when i added clang compiler support as an alternative to gcc clang support · centminmod/centminmod@13cb474 · GitHub as it potentially is faster for compiling via source i.e. nginx can be up to 120 seconds faster. However, needed to update ccache 3.2.2 (from 3.1.9) for clang so that's where the bug was introduced as ccache was previously installed via YUM EPEL repo but 3.2.2 is only available via source compile so switched to ccache 3.2.2 via source compile Fixed I believe I found a permanent fix to the introduced bug above update centmin.sh for .08 beta03 · centminmod/centminmod@abdaa39 · GitHub