-
-
Save tongdaitructuyen/53c8932d95b6b8274c0bd3f560b23512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin | |
+ EMAIL= | |
+ PUSHOVER_EMAIL= | |
+ ZONEINFO=Etc/UTC | |
+ NGINX_IPV=n | |
+ USEEDITOR=nano | |
+ CUSTOMSERVERNAME=y | |
+ CUSTOMSERVERSTRING='nginx centminmod' | |
+ PHPFPMCONFDIR=/usr/local/nginx/conf/phpfpmd | |
+ UNATTENDED=y | |
+ CMVERSION_CHECK=n | |
++ date +%d%m%y-%H%M%S | |
+ DT=060318-181625 | |
+ branchname=123.09beta01 | |
+ SCRIPT_MAJORVER=1.2.3 | |
+ SCRIPT_MINORVER=09 | |
+ SCRIPT_INCREMENTVER=016 | |
+ SCRIPT_VERSIONSHORT=123.09beta01 | |
+ SCRIPT_VERSION=123.09beta01.b016 | |
+ SCRIPT_DATE=31/03/2018 | |
+ SCRIPT_AUTHOR='eva2000 (centminmod.com)' | |
+ SCRIPT_MODIFICATION_AUTHOR='eva2000 (centminmod.com)' | |
+ SCRIPT_URL=https://centminmod.com | |
+ COPYRIGHT='Copyright 2011-2018 CentminMod.com' | |
+ DISCLAIMER='This software is provided "as is" in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.' | |
+ shopt -s expand_aliases | |
+ for g in '""' e f | |
+ alias 'grep=LC_ALL=C grep' | |
+ for g in '""' e f | |
+ alias 'egrep=LC_ALL=C egrep' | |
+ for g in '""' e f | |
+ alias 'fgrep=LC_ALL=C fgrep' | |
++ uname -n | |
+ HN=hostname | |
+ DIR_TMP=/svr-setup | |
+++ dirname centmin.sh | |
++ readlink -f . | |
+ SCRIPT_DIR=/usr/local/src/centminmod | |
+ source inc/memcheck.inc | |
++ ABORTINSTALL=y | |
+++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
++ TOTALMEM=1016440 | |
++ ISLOWMEM=262144 | |
+++ bc | |
+++ echo 'scale=0;1016440/1024' | |
++ TOTALMEMMB=992 | |
+++ bc | |
+++ echo 'scale=0;262144/1024' | |
++ ISLOWMEMMB=256 | |
+++ expr 1016440 '<' 262144 | |
++ CHECKLOWMEM=0 | |
+ TMPFSLIMIT=2900000 | |
+ '[' '!' -d /svr-setup ']' | |
++ cat /etc/resolv.conf | |
+ [[ -z # Automatically generated by OnApp (4.1.0) | |
domain com | |
nameserver 8.8.8.8 ]] | |
+ '[' '!' -f /usr/bin/wget ']' | |
+ '[' '!' -f /usr/bin/lynx ']' | |
+ '[' '!' -f /usr/bin/unzip ']' | |
+ '[' '!' -f /usr/bin/bc ']' | |
+ '[' '!' -f /usr/bin/tee ']' | |
+ '[' -f /var/cpanel/cpanel.config ']' | |
+ '[' -f /etc/psa/.psa.shadow ']' | |
+ '[' -f /etc/init.d/directadmin ']' | |
+ TESTEDCENTOSVER=7.9 | |
++ awk '{ print $3 }' /etc/redhat-release | |
+ CENTOSVER=6.7 | |
+ '[' 6.7 == release ']' | |
++ cut -d . -f1 | |
++ awk '{ print $3 }' | |
++ cat /etc/redhat-release | |
+ [[ 6 = \6 ]] | |
+ CENTOS_SIX=6 | |
+ '[' 6.7 == Enterprise ']' | |
+ [[ -f /etc/system-release ]] | |
++ awk '{print $1,$2,$3}' /etc/system-release | |
+ [[ CentOS release 6.7 = \A\m\a\z\o\n\ \L\i\n\u\x\ \A\M\I ]] | |
+ source inc/centos_seven.inc | |
+ seven_function | |
+ CMSDEBUG=n | |
+ [[ n = [yY] ]] | |
+ '[' -f /proc/user_beancounters ']' | |
++ LC_ALL=C | |
++ grep -c processor /proc/cpuinfo | |
+ CPUS=1 | |
+ [[ 1 -gt 8 ]] | |
+ [[ 1 -eq 8 ]] | |
++ echo 2 | |
+ CPUS=2 | |
+ MAKETHREADS=' -j2' | |
+ CONFIGSCANBASE=/etc/centminmod | |
+ CONFIGSCANDIR=/etc/centminmod/php.d | |
+ '[' '!' -d /etc/centminmod ']' | |
+ '[' '!' -d /etc/centminmod/php.d ']' | |
+ '[' '!' -d /home/mysqltmp ']' | |
+ CMGIT=https://github.com/centminmod/centminmod.git | |
+ AUTO_GITUPDATE=n | |
+ LOCALCENTMINMOD_MIRROR=https://centminmod.com | |
+ TS_INSTALL=y | |
+ TIME_NGINX=n | |
+ TIME_PHPCONFIGURE=n | |
+ TIME_MEMCACHED=n | |
+ TIME_IMAGEMAGICK=n | |
+ TIME_REDIS=n | |
+ ENABLE_MENU=y | |
+ FIREWALLD_DISABLE=y | |
+ DNF_ENABLE=n | |
+ DNF_COPR=y | |
+ MARIADB_JEMALLOC=n | |
+ CCACHEINSTALL=y | |
+ CCACHE_VER=3.4.1 | |
+ CCACHESIZE=2.5G | |
+ DISABLE_IPVSIX=n | |
+ PARALLEL_MODE=y | |
+ MARCH_TARGETNATIVE=y | |
+ CLANG=n | |
+ CLANG_FOUR=n | |
+ CLANG_FIVE=n | |
+ CLANG_SIX=n | |
+ CLANG_PHP=n | |
+ CLANG_APC=n | |
+ CLANG_MEMCACHED=n | |
+ GCCINTEL_PHP=y | |
+ PHP_PGO=n | |
+ PHP_PGO_CENTOSSIX=n | |
+ DEVTOOLSETSIX=n | |
+ DEVTOOLSETSEVEN=y | |
+ DEVTOOLSETEIGHT=n | |
+ NGINX_DEVTOOLSETGCC=y | |
+ GENERAL_DEVTOOLSETGCC=n | |
+ CRYPTO_DEVTOOLSETGCC=n | |
+ NGX_GSPLITDWARF=y | |
+ PHP_GSPLITDWARF=y | |
+ PHP_LTO=n | |
+ NGX_LDGOLD=y | |
+ NGINXCOMPILE_FORMATSEC=y | |
+ NSD_DISABLED=n | |
+ MEMCACHED_DISABLED=n | |
+ PHP_DISABLED=n | |
+ MYSQLSERVICE_DISABLED=n | |
+ PUREFTPD_DISABLED=n | |
+ NGXDYNAMIC_MANUALOVERRIDE=n | |
+ NGXDYNAMIC_NJS=n | |
+ NGXDYNAMIC_XSLT=n | |
+ NGXDYNAMIC_PERL=n | |
+ NGXDYNAMIC_IMAGEFILTER=y | |
+ NGXDYNAMIC_GEOIP=n | |
+ NGXDYNAMIC_STREAM=y | |
+ NGXDYNAMIC_STREAMGEOIP=n | |
+ NGXDYNAMIC_STREAMREALIP=n | |
+ NGXDYNAMIC_HEADERSMORE=y | |
+ NGXDYNAMIC_SETMISC=y | |
+ NGXDYNAMIC_ECHO=y | |
+ NGXDYNAMIC_LUA=n | |
+ NGXDYNAMIC_SRCCACHE=n | |
+ NGXDYNAMIC_DEVELKIT=n | |
+ NGXDYNAMIC_MEMC=n | |
+ NGXDYNAMIC_REDISTWO=n | |
+ NGXDYNAMIC_NGXPAGESPEED=n | |
+ NGXDYNAMIC_BROTLI=y | |
+ NGXDYNAMIC_FANCYINDEX=y | |
+ NGXDYNAMIC_HIDELENGTH=y | |
+ NGXDYNAMIC_TESTCOOKIE=n | |
+ NGXDYNAMIC_VHOSTSTATS=n | |
+ NGINX_UPDATEMAINTENANCE=n | |
+ PHP_UPDATEMAINTENANCE=n | |
+ MARIADB_UPDATEMAINTENANCE=n | |
+ NGINXUPGRADESLEEP=3 | |
+ AUTOTUNE_CLIENTMAXBODY=y | |
+ USE_NGINXMAINEXTLOGFORMAT=n | |
+ NGINX_ALLOWOVERRIDE=y | |
+ NSD_INSTALL=n | |
+ NSD_VERSION=3.2.18 | |
+ NTP_INSTALL=y | |
+ NGINXPATCH=y | |
+ NGINXPATCH_DELAY=1 | |
+ STRIPNGINX=y | |
+ NGXMODULE_ALTORDER=y | |
+ NGINX_ZERODT=n | |
+ NGINX_MAXERRBYTELIMIT=2048 | |
+ NGINX_INSTALL=y | |
+ NGINX_DEBUG=n | |
+ NGINX_HTTP2=y | |
+ NGINX_HTTPPUSH=n | |
+ NGINX_ZLIBNG=n | |
+ NGINX_MODSECURITY=n | |
+ MODSECURITY_OWASPVER=3.0.2 | |
+ NGINX_REALIP=y | |
+ NGINX_RDNS=n | |
+ NGINX_NJS=n | |
+ NGINX_GEOIP=y | |
+ NGINX_GEOIPMEM=y | |
+ NGINX_SPDY=n | |
+ NGINX_SPDYPATCHED=n | |
+ NGINX_STUBSTATUS=y | |
+ NGINX_SUB=y | |
+ NGINX_ADDITION=y | |
+ NGINX_IMAGEFILTER=y | |
+ NGINX_PERL=n | |
+ NGINX_XSLT=n | |
+ NGINX_LENGTHHIDE=n | |
+ NGINX_LENGTHHIDEGIT=y | |
+ NGINX_TESTCOOKIE=n | |
+ NGINX_TESTCOOKIEGIT=n | |
+ NGINX_CACHEPURGE=y | |
+ NGINX_ACCESSKEY=n | |
+ NGINX_HTTPCONCAT=n | |
+ NGINX_THREADS=y | |
+ NGINX_STREAM=y | |
+ NGINX_STREAMGEOIP=y | |
+ NGINX_STREAMREALIP=y | |
+ NGINX_STREAMSSLPREREAD=y | |
+ NGINX_RTMP=n | |
+ NGINX_FLV=n | |
+ NGINX_MP4=n | |
+ NGINX_AUTHREQ=n | |
+ NGINX_SECURELINK=y | |
+ NGINX_FANCYINDEX=y | |
+ NGINX_FANCYINDEXVER=0.4.2 | |
+ NGINX_VHOSTSTATS=n | |
+ NGINX_LIBBROTLI=n | |
+ NGINX_LIBBROTLISTATIC=n | |
+ NGINX_PAGESPEED=n | |
+ NGINX_PAGESPEEDGITMASTER=n | |
+ NGXPGSPEED_VER=1.13.35.2-stable | |
+ NGINX_PAGESPEEDPSOL_VER=1.13.35.2 | |
+ NGINX_PASSENGER=n | |
+ NGINX_WEBDAV=n | |
+ NGINX_EXTWEBDAVVER=0.0.3 | |
+ NGINX_LIBATOMIC=y | |
+ NGINX_HTTPREDIS=y | |
+ NGINX_HTTPREDISVER=0.3.7 | |
+ NGINX_PCREJIT=y | |
+ NGINX_PCREVER=8.41 | |
+ NGINX_ZLIBCUSTOM=y | |
+ NGINX_ZLIBVER=1.2.11 | |
+ ORESTY_HEADERSMORE=y | |
+ ORESTY_HEADERSMOREGIT=n | |
+ NGINX_HEADERSMORE=0.33 | |
+ NGINX_CACHEPURGEVER=2.4.2 | |
+ NGINX_STICKY=n | |
+ NGINX_STICKYVER=master | |
+ NGINX_UPSTREAMCHECK=n | |
+ NGINX_UPSTREAMCHECKVER=0.3.0 | |
+ NGINX_OPENRESTY=y | |
+ ORESTY_MEMCVER=0.18 | |
+ ORESTY_SRCCACHEVER=0.31 | |
+ ORESTY_DEVELKITVER=0.3.0 | |
+ ORESTY_SETMISCGIT=n | |
+ ORESTY_SETMISCVER=0.31 | |
+ ORESTY_ECHOGIT=n | |
+ ORESTY_ECHOVER=0.61 | |
+ ORESTY_REDISVER=0.14 | |
+ LUAJIT_GITINSTALL=y | |
+ LUAJIT_GITINSTALLVER=2.1 | |
+ ORESTY_LUANGINX=n | |
+ ORESTY_LUANGINXVER=0.10.11 | |
+ ORESTY_LUAGITVER=2.0.5 | |
+ ORESTY_LUAMEMCACHEDVER=0.14 | |
+ ORESTY_LUAMYSQLVER=0.20 | |
+ ORESTY_LUAREDISVER=0.26 | |
+ ORESTY_LUADNSVER=0.20 | |
+ ORESTY_LUAUPLOADVER=0.10 | |
+ ORESTY_LUAWEBSOCKETVER=0.05 | |
+ ORESTY_LUALOCKVER=0.07 | |
+ ORESTY_LUASTRINGVER=0.10 | |
+ ORESTY_LUAREDISPARSERVER=0.13 | |
+ ORESTY_LUAUPSTREAMCHECKVER=0.04 | |
+ ORESTY_LUALRUCACHEVER=0.07 | |
+ ORESTY_LUARESTYCOREVER=0.1.13 | |
+ ORESTY_LUAUPSTREAMVER=0.06 | |
+ NGX_LUAUPSTREAM=n | |
+ ORESTY_LUALOGGERSOCKETVER=0.1 | |
+ ORESTY_LUACOOKIEVER=master | |
+ ORESTY_LUAUPSTREAMCACHEVER=0.1.1 | |
+ NGX_LUAUPSTREAMCACHE=n | |
+ LUACJSONVER=2.1.0.5 | |
+ STRIPPHP=y | |
+ PHP_INSTALL=y | |
+ PHP_TUNING=n | |
+ PHP_CUSTOMSSL=n | |
+ PHPMAKETEST=n | |
+ AUTODETECPHP_OVERRIDE=n | |
+ PHPGEOIP_ALWAYS=y | |
+ PHPIMAGICK_ALWAYS=y | |
+ PHPDEBUGMODE=n | |
+ PHPIMAP=y | |
+ PHPFINFO=n | |
+ PHPPCNTL=y | |
+ PHPINTL=y | |
+ PHPRECODE=n | |
+ PHPSNMP=y | |
+ PHPIMAGICK=y | |
+ PHPMAILPARSE=y | |
+ PHPIONCUBE=n | |
+ PHPMSSQL=n | |
+ PHPMSSQL_ALWAYS=n | |
+ PHPEMBED=y | |
+ SHORTCUTS=y | |
+ POSTGRESQL=n | |
+ MDB_INSTALL=n | |
+ MDB_YUMREPOINSTALL=y | |
+ MDB_VERONLY=5.2.14 | |
+ MDB_BUILD=122 | |
+ MDB_VERSION=5.2.14-122 | |
+ MDB_PREVERONLY=5.2.12 | |
+ MDB_PREBUILD=115 | |
+ MDB_PREVERSION=5.2.12-115 | |
+ MYSQL_INSTALL=n | |
+ SENDMAIL_INSTALL=n | |
+ POSTFIX_INSTALL=y | |
+ NGINX_VERSION=1.13.9 | |
+ NGINX_VHOSTSSL=y | |
+ NGINXBACKUP=y | |
+ VHOST_PRESTATICINC=y | |
+ NGINXDIR=/usr/local/nginx | |
+ NGINXCONFDIR=/usr/local/nginx/conf | |
+ NGINXBACKUPDIR=/usr/local/nginxbackup | |
+ NOSOURCEOPENSSL=y | |
+ OPENSSL_VERSION=1.1.0g | |
+ OPENSSL_VERSIONFALLBACK=1.0.2n | |
+ OPENSSL_THREADS=y | |
+ OPENSSL_CUSTOMPATH=/opt/openssl | |
+ CLOUDFLARE_PATCHSSL=n | |
+ CLOUDFLARE_ZLIB=y | |
+ CLOUDFLARE_ZLIBPHP=n | |
+ CLOUDFLARE_ZLIBDEBUG=n | |
+ CLOUDFLARE_ZLIBVER=1.3.0 | |
+ NGINX_DYNAMICTLS=n | |
+ OPENSSLECDSA_PATCH=n | |
+ OPENSSLECDHX_PATCH=n | |
+ OPENSSLEQUALCIPHER_PATCH=n | |
+ LIBRESSL_SWITCH=n | |
+ LIBRESSL_VERSION=2.6.4 | |
+ BORINGSSL_SWITCH=n | |
+ GPERFTOOLS_SOURCEINSTALL=n | |
+ GPERFTOOLS_TMALLOCLARGEPAGES=y | |
+ LIBUNWIND_VERSION=1.2.1 | |
+ GPERFTOOLS_VERSION=2.6.3 | |
+ PCRE_SOURCEINSTALL=n | |
+ PCRE_VERSION=8.41 | |
+ IMAGICKPHP_VER=3.4.3 | |
+ MAILPARSEPHP_VER=2.1.6 | |
+ MAILPARSEPHP_COMPATVER=3.0.2 | |
+ MEMCACHED_INSTALL=y | |
+ LIBEVENT_VERSION=2.1.8 | |
+ MEMCACHED_VERSION=1.5.6 | |
+ MEMCACHE_VERSION=3.0.8 | |
+ MEMCACHEDPHP_VER=2.2.0 | |
+ MEMCACHEDPHP_SEVENVER=3.0.3 | |
+ LIBMEMCACHED_YUM=y | |
+ LIBMEMCACHED_VER=1.0.18 | |
+ TWEMPERF_VER=0.1.1 | |
+ PHPREDIS=y | |
+ REDISPHP_VER=3.1.6 | |
+ REDISPHPSEVEN_VER=3.1.6 | |
+ REDISPHP_GIT=n | |
+ PHPMONGODB=n | |
+ MONGODBPHP_VER=1.4.0 | |
+ MONGODB_SASL=n | |
+ PDOPGSQL_PHPVER=9.6 | |
+ LIBSODIUM_VER=1.0.15 | |
+ LIBSODIUM_NATIVE=n | |
+ LIBARGON_VER=20161029 | |
+ PHP_MCRYPTPECL=y | |
+ PHP_MCRYPTPECLVER=1.0.1 | |
+ PHP_FTPEXT=y | |
+ PHP_MEMCACHE=y | |
+ PHP_MEMCACHED=y | |
+ FFMPEGVER=0.6.0 | |
+ SUHOSINVER=0.9.38 | |
+ PHP_OVERWRITECONF=y | |
+ PHP_VERSION=5.6.34 | |
+ PHP_MIRRORURL=http://php.net | |
+ PHPUPGRADE_MIRRORURL=http://php.net | |
+ XCACHE_VERSION=3.2.0 | |
+ APCCACHE_VERSION=3.1.13 | |
+ IGBINARY_VERSION=1.2.1 | |
+ IGBINARY_INSTALL=y | |
+ IGBINARYGIT=y | |
+ ZOPCACHEDFT=y | |
+ ZOPCACHECACHE_VERSION=7.0.5 | |
+ ZOPCACHE_OVERRIDE=n | |
+ PYTHON_VERSION=2.7.10 | |
+ SIEGE_VERSION=4.0.4 | |
+ CURL_TIMEOUTS=' --max-time 5 --connect-timeout 5' | |
+ WGETOPT='-cnv --no-dns-cache -4' | |
+ AXEL_VER=2.6 | |
+ INTELOPT=n | |
+ GCC_OPTLEVEL=-O3 | |
+ FPMRPM_LIBEVENT=n | |
+ FPMRPM_MEMCACHED=n | |
+ CENTALTREPO_DISABLE=y | |
+ RPMFORGEREPO_DISABLE=n | |
+ AXIVOREPO_DISABLE=y | |
+ REMIREPO_DISABLE=n | |
+ ATRPMSREPO_DISABLE=y | |
+ CUSTOM_CURLRPM=n | |
+ CUSTOM_CURLRPMVER=7.47.1-2.0 | |
+ CUSTOM_CURLLIBSSHVER=1.6.0-4.0 | |
+ CUSTOM_CURLRPMCARESVER=1.10.0-6.0 | |
+ CUSTOM_CURLRPMSYSURL=http://mirror.city-fan.org/ftp/contrib/sysutils/Mirroring | |
+ CUSTOM_CURLRPMLIBURL=http://mirror.city-fan.org/ftp/contrib/libraries | |
+ WGET_VERSION=1.19.4 | |
+ CLOUDFLARE_AUTHORIGINPULLCERT=https://support.cloudflare.com/hc/en-us/article_attachments/201243967/origin-pull-ca.pem | |
+ VHOST_CFAUTHORIGINPULL=y | |
+ SELFSIGNEDSSL_C=US | |
+ SELFSIGNEDSSL_ST=California | |
+ SELFSIGNEDSSL_L='Los Angeles' | |
+ SELFSIGNEDSSL_O= | |
+ SELFSIGNEDSSL_OU= | |
+ WPPLUGINS_ALL=n | |
+ WPCLI_SUPERCACHEPLUGIN=n | |
+ PHP_MYSQLSOCKPATH=/var/lib/mysql | |
+ LETSENCRYPT_DETECT=n | |
++ uname -m | |
+ MACHINE_TYPE=x86_64 | |
+ '[' '' ']' | |
+ '[' x86_64 == x86_64 ']' | |
+ ARCH=x86_64 | |
+ MDB_ARCH=amd64 | |
+ [[ '' = \7 ]] | |
+ [[ '' = \i\n\s\t\a\l\l ]] | |
+ source inc/fastmirrors.conf | |
+ source inc/tcp.inc | |
+ source inc/customrpms.inc | |
+ source inc/pureftpd.inc | |
+ source inc/htpasswdsh.inc | |
+ source inc/gcc.inc | |
+ source inc/entropy.inc | |
+ source inc/cpucount.inc | |
+ source inc/motd.inc | |
+ source inc/cpcheck.inc | |
+ source inc/lowmem.inc | |
+ source inc/memcheck.inc | |
++ ABORTINSTALL=y | |
+++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
++ TOTALMEM=1016440 | |
++ ISLOWMEM=262144 | |
+++ bc | |
+++ echo 'scale=0;1016440/1024' | |
++ TOTALMEMMB=992 | |
+++ bc | |
+++ echo 'scale=0;262144/1024' | |
++ ISLOWMEMMB=256 | |
+++ expr 1016440 '<' 262144 | |
++ CHECKLOWMEM=0 | |
+ source inc/ccache.inc | |
+ source inc/bookmark.inc | |
+ source inc/centminlogs.inc | |
+ source inc/yumskip.inc | |
+ source inc/questions.inc | |
+ source inc/downloads_centosfive.inc | |
+ source inc/downloads_centossix.inc | |
+ source inc/downloads_centosseven.inc | |
+ source inc/downloadlinks.inc | |
++ '[' x86_64 == x86_64 ']' | |
++ ARCH=x86_64 | |
++ RPMFARCH=x86_64 | |
++ '[' -f /inc/custom_config.inc ']' | |
++ '[' -f /etc/centminmod/custom_config.inc ']' | |
++ source /etc/centminmod/custom_config.inc | |
+++ NGXDYNAMIC_NJS=$'n\r' | |
+++ NGXDYNAMIC_XSLT=$'y\r' | |
+++ NGXDYNAMIC_PERL=$'n\r' | |
+++ NGXDYNAMIC_IMAGEFILTER=$'y\r' | |
+++ NGXDYNAMIC_GEOIP=$'n\r' | |
+++ NGXDYNAMIC_STREAM=$'y\r' | |
+++ NGXDYNAMIC_STREAMGEOIP=y | |
+++ NGXDYNAMIC_STREAMREALIP=y | |
+++ NGXDYNAMIC_HEADERSMORE=$'y\r' | |
+++ NGXDYNAMIC_SETMISC=$'y\r' | |
+++ NGXDYNAMIC_ECHO=$'y\r' | |
+++ NGXDYNAMIC_LUA=n | |
+++ NGXDYNAMIC_SRCCACHE=$'y\r' | |
+++ NGXDYNAMIC_DEVELKIT=n | |
+++ NGXDYNAMIC_MEMC=$'y\r' | |
+++ NGXDYNAMIC_REDISTWO=$'n\r' | |
+++ NGXDYNAMIC_NGXPAGESPEED=$'n\r' | |
+++ NGXDYNAMIC_BROTLI=$'y\r' | |
+++ NGXDYNAMIC_FANCYINDEX=$'y\r' | |
+++ NGXDYNAMIC_HIDELENGTH=$'y\r' | |
+++ $'\r' | |
/etc/centminmod/custom_config.inc: line 22: | |
: command not found | |
+++ NGINX_LIBBROTLI=$'n\r' | |
+++ NGINX_PAGESPEED=n | |
++ '[' -f /inc/z_custom.inc ']' | |
++ VARNISH_REPOFILE=/etc/yum.repos.d/varnishcache_varnish41.repo | |
++ CURL_CACERTURL=https://curl.haxx.se/ca/cacert.pem | |
++ CCACHEFILE=ccache-3.4.1.tar.gz | |
++ CCCACHELINK=https://centminmod.com/centminmodparts/ccache/ccache-3.4.1.tar.gz | |
++ CCCACHELINKLOCAL=https://centminmod.com/centminmodparts/ccache/ccache-3.4.1.tar.gz | |
++ CENTOSFIVEEPELFILE=epel-release-5-4.noarch.rpm | |
++ CENTOSFIVEEPEL=http://mirror.sfo12.us.leaseweb.net/epel/5/x86_64/epel-release-5-4.noarch.rpm | |
++ CENTOSFIVERPMFORGEFILE=rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm | |
++ CENTOSFIVERPMFORGE=http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm | |
++ CENTOSFIVECENTALTFILE=centalt-release-5-3.noarch.rpm | |
++ CENTOSFIVECENTALT=http://centos.alt.ru/repository/centos/5/x86_64/centalt-release-5-3.noarch.rpm | |
++ CENTOSFIVEPERCONARELEASEFILE=percona-release-0.1-4.noarch.rpm | |
++ CENTOSFIVEPERCONARELEASE=http://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm | |
++ CENTOSFIVEVARNISHFILE=varnish-release-3.0-1.el5.centos.noarch.rpm | |
++ CENTOSFIVEVARNISH=http://repo.varnish-cache.org/redhat/varnish-3.0/el5/noarch/varnish-release/varnish-release-3.0-1.el5.centos.noarch.rpm | |
++ CENTOSSIXEPELFILE=epel-release-6-8.noarch.rpm | |
++ CENTOSSIXEPEL=http://mirror.sfo12.us.leaseweb.net/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
++ CENTOSSIXEPELLOCAL=https://centminmod.com/centminmodparts/repos/epel-release-6-8.noarch.rpm | |
++ CENTOSSIXRPMFORGEFILE=rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm | |
++ CENTOSSIXRPMFORGE=http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm | |
++ CENTOSSIXCENTALTFILE=centalt-release-6-1.noarch.rpm | |
++ CENTOSSIXCENTALT=http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm | |
++ CENTOSSIXCENTALTLOCAL=https://centminmod.com/centminmodparts/repos/centalt-release-6-1.noarch.rpm | |
++ CENTOSSIXPERCONALRELEASEFILE=percona-release-0.1-4.noarch.rpm | |
++ CENTOSSIXPERCONALRELEASE=http://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm | |
++ CENTOSSIXVARNISHFILE=varnish-4.1.el6.rpm | |
++ CENTOSSIXVARNISH=https://repo.varnish-cache.org/redhat/varnish-4.1.el6.rpm | |
++ CENTOSSIXVARNISHLOCAL='https://centminmod.com/centminmodparts/repos/${CENTOSSIXVARNISHFILE}' | |
++ CENTOSSIXAXIVOFILE=axivo-release-6-1.noarch.rpm | |
++ CENTOSSIXAXIVO=http://rpm.axivo.com/axivo-release-6-1.noarch.rpm | |
++ CENTOSSIXAXIVOLOCAL=https://centminmod.com/centminmodparts/repos/axivo-release-6-1.noarch.rpm | |
++ CENTOSSIXREMIFILE=remi-release-6.rpm | |
++ CENTOSSIXREMI=http://rpms.remirepo.net/enterprise/remi-release-6.rpm | |
++ CENTOSSIXREMILOCAL=https://centminmod.com/centminmodparts/repos/remi-release-6.rpm | |
++ CENTOSSIXATRPMSFILE=atrpms-repo-6-7.el6.x86_64.rpm | |
++ CENTOSSIXATRPMS=http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm | |
++ CENTOSSIXATRPMSLOCAL=https://centminmod.com/centminmodparts/repos/atrpms-repo-6-7.el6.x86_64.rpm | |
++ CENTOSSEVENEPELFILE=epel-release-7-10.noarch.rpm | |
++ CENTOSSEVENEPEL=http://mirror.sfo12.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-10.noarch.rpm | |
++ CENTOSSEVENEPEL_B=http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-10.noarch.rpm | |
++ CENTOSSEVENEPELLOCAL=https://centminmod.com/centminmodparts/repos/epel-release-7-10.noarch.rpm | |
++ '[' '!' -f /etc/yum.repos.d/epel.repo ']' | |
++ CENTOSSEVENRPMFORGEFILE=rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm | |
++ CENTOSSEVENRPMFORGE=http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm | |
++ CENTOSSEVENCENTALTFILE=centalt-release-6-1.noarch.rpm | |
++ CENTOSSEVENCENTALT=http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm | |
++ CENTOSSEVENCENTALTLOCAL=https://centminmod.com/centminmodparts/repos/centalt-release-6-1.noarch.rpm | |
++ CENTOSSEVENPERCONALRELEASEFILE=percona-release-0.1-4.noarch.rpm | |
++ CENTOSSEVENPERCONALRELEASE=http://www.percona.com/redir/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm | |
++ CENTOSSEVENVARNISHFILE=varnish-4.1.el7.rpm | |
++ CENTOSSEVENVARNISH=https://repo.varnish-cache.org/redhat/varnish-4.1.el7.rpm | |
++ CENTOSSEVENVARNISHLOCAL='https://centminmod.com/centminmodparts/repos/${CENTOSSEVENVARNISHFILE}' | |
++ CENTOSSEVENAXIVOFILE=axivo-release-7-1.noarch.rpm | |
++ CENTOSSEVENAXIVO=http://rpm.axivo.com/axivo-release-7-1.noarch.rpm | |
++ CENTOSSEVENAXIVOLOCAL=https://centminmod.com/centminmodparts/repos/axivo-release-7-1.noarch.rpm | |
++ CENTOSSEVENREMIFILE=remi-release-7.rpm | |
++ CENTOSSEVENREMI=http://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
++ CENTOSSEVENREMILOCAL=https://centminmod.com/centminmodparts/repos/remi-release-7.rpm | |
++ CENTOSSEVENATRPMSFILE=atrpms-repo-6-7.el6.x86_64.rpm | |
++ CENTOSSEVENATRPMS=http://dl.atrpms.net/all/atrpms-repo-6-7.el6.x86_64.rpm | |
++ CENTOSSEVENATRPMSLOCAL=https://centminmod.com/centminmodparts/repos/atrpms-repo-6-7.el6.x86_64.rpm | |
++ PCRELINKFILE=pcre-8.41.tar.gz | |
++ PCRELINK=https://centminmod.com/centminmodparts/pcre/pcre-8.41.tar.gz | |
++ PCRELINKLOCAL=https://centminmod.com/centminmodparts/pcre/pcre-8.41.tar.gz | |
++ PCRE_SOURCELINKFILE=pcre-8.41.tar.gz | |
++ PCRE_SOURCELINK=https://centminmod.com/centminmodparts/pcre/pcre-8.41.tar.gz | |
++ PCRE_SOURCELINKLOCAL=https://centminmod.com/centminmodparts/pcre/pcre-8.41.tar.gz | |
++ NGX_ZLIBLINKFILE=zlib-1.2.11.tar.gz | |
++ NGX_ZLIBLINK=http://zlib.net/zlib-1.2.11.tar.gz | |
++ NGX_ZLIBLINKLOCAL=https://centminmod.com/centminmodparts/zlib/zlib-1.2.11.tar.gz | |
++ NGX_WEBDAVLINKFILE=nginx-dav-ext-module-0.0.3.tar.gz | |
++ NGX_WEBDAVLINK=https://github.com/arut/nginx-dav-ext-module/archive/v0.0.3.tar.gz | |
++ NGX_WEBDAVLINKGITLAB='https://gitlab.com/centminmod-github-mirror/nginx-dav-ext-module/repository/archive.tar.gz?ref=v0.0.3' | |
++ NGX_PAGESPEEDGITLINKFILE=release-1.13.35.2-stable.tar.gz | |
++ NGX_PAGESPEEDGITLINK=https://github.com/pagespeed/ngx_pagespeed/archive/master.tar.gz | |
++ NGX_PAGESPEEDGITLINKGITLAB='https://gitlab.com/centminmod-github-mirror/ngx_pagespeed/repository/archive.tar.gz?ref=master' | |
++ NGX_PAGESPEEDLINKFILE=release-1.13.35.2-stable.tar.gz | |
++ NGX_PAGESPEEDLINKREALFILE=v1.13.35.2-stable.tar.gz | |
++ NGX_PAGESPEEDLINK=https://github.com/pagespeed/ngx_pagespeed/archive/v1.13.35.2-stable.tar.gz | |
++ NGX_PAGESPEEDLINKGITLAB='https://gitlab.com/centminmod-github-mirror/ngx_pagespeed/repository/archive.tar.gz?ref=v1.13.35.2-stable' | |
++ NGX_PAGESPEEDPSOLINKLFILE=1.13.35.2.tar.gz | |
++ NGX_PAGESPEEDPSOLINKL=https://dl.google.com/dl/page-speed/psol/1.13.35.2.tar.gz | |
++ NGX_FANCYINDEXLINKFILE=ngx-fancyindex-0.4.2.tar.gz | |
++ NGX_FANCYINDEXLINK=https://github.com/aperezdc/ngx-fancyindex/archive/v0.4.2.tar.gz | |
++ NGX_CACHEPURGEFILE=ngx_cache_purge-2.4.2.tar.gz | |
++ NGX_CACHEPURGE=https://github.com/nginx-modules/ngx_cache_purge/archive/2.4.2.tar.gz | |
++ NGX_ACCESSKEYLINKFILE=Nginx-accesskey-2.0.3.tar.gz | |
++ NGX_ACCESSKEYLINK=https://centminmod.com/centminmodparts/nginx/modules/Nginx-accesskey-2.0.3.tar.gz | |
++ NGX_CONCATLINKFILE=nginx-http-concat-master.tar.gz | |
++ NGX_CONCATLINK=https://github.com/alibaba/nginx-http-concat/archive/master.tar.gz | |
++ NGX_CONCATLINKGITLAB='https://gitlab.com/centminmod-github-mirror/nginx-http-concat/repository/archive.tar.gz?ref=master' | |
++ NGX_HEADERSMORELINKFILE=headers-more-v0.33.tar.gz | |
++ NGX_HEADERSMORELINK=https://github.com/openresty/headers-more-nginx-module/archive/v0.33.tar.gz | |
++ NGX_HEADERSMORELINKGITLAB='https://gitlab.com/centminmod-github-mirror/headers-more-nginx-module/repository/archive.tar.gz?ref=v0.33' | |
++ NGX_STICKYLINKFILE=nginx-sticky-master.tar.gz | |
++ NGX_STICKYLINK=https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng/get/master.tar.gz | |
++ NGX_STICKYLINKGITLAB='https://gitlab.com/centminmod-github-mirror/nginx-sticky-module-ng/repository/archive.tar.gz?ref=master' | |
++ NGX_UPSTREAMCHECKLINKFILE=nginx-upstream-check-0.3.0.tar.gz | |
++ NGX_UPSTREAMCHECKLINK=https://github.com/yaoweibin/nginx_upstream_check_module/archive/v0.3.0.tar.gz | |
++ NGX_UPSTREAMCHECKLINKGITLAB='https://gitlab.com/centminmod-github-mirror/nginx_upstream_check_module/repository/archive.tar.gz?ref=0.3.0' | |
++ NGX_MEMCLINKFILE=memc-nginx-module_v0.18.tar.gz | |
++ NGX_MEMCLINK=https://github.com/openresty/memc-nginx-module/archive/v0.18.tar.gz | |
++ NGX_MEMCLINKGITLAB='https://gitlab.com/centminmod-github-mirror/memc-nginx-module/repository/archive.tar.gz?ref=v0.18' | |
++ NGX_SRCACHELINKFILE=srcache-nginx-module_v0.31.tar.gz | |
++ NGX_SRCACHELINK=https://github.com/openresty/srcache-nginx-module/archive/v0.31.tar.gz | |
++ NGX_SRCACHELINKGITLAB='https://gitlab.com/centminmod-github-mirror/srcache-nginx-module/repository/archive.tar.gz?ref=v0.31' | |
++ NGX_DEVELKITLINKFILE=nginx-develkit_v0.3.0.tar.gz | |
++ NGX_DEVELKITLINK=https://github.com/simpl/ngx_devel_kit/archive/v0.3.0.tar.gz | |
++ NGX_DEVELKITLINKGITLAB='https://gitlab.com/centminmod-github-mirror/ngx_devel_kit/repository/archive.tar.gz?ref=v0.3.0' | |
++ NGX_SETMISCLINKFILE=set-misc-nginx-module_v0.31.tar.gz | |
++ NGX_SETMISCLINK=https://github.com/openresty/set-misc-nginx-module/archive/v0.31.tar.gz | |
++ NGX_SETMISCLINKGITLAB='https://gitlab.com/centminmod-github-mirror/set-misc-nginx-module/repository/archive.tar.gz?ref=v0.31' | |
++ NGX_ECHOLINKFILE=echo-nginx-module_v0.61.tar.gz | |
++ NGX_ECHOLINK=https://github.com/openresty/echo-nginx-module/archive/v0.61.tar.gz | |
++ NGX_ECHOLINKGITLAB='https://gitlab.com/centminmod-github-mirror/echo-nginx-module/repository/archive.tar.gz?ref=v0.61' | |
++ NGX_REDISLINKFILE=redis2-nginx-module_v0.14.tar.gz | |
++ NGX_REDISLINK=https://github.com/openresty/redis2-nginx-module/archive/v0.14.tar.gz | |
++ NGX_REDISLINKGITLAB='https://gitlab.com/centminmod-github-mirror/redis2-nginx-module/repository/archive.tar.gz?ref=v0.14' | |
++ NGX_HTTPREDISLINKFILE=ngx_http_redis-0.3.7.tar.gz | |
++ NGX_HTTPREDISLINK=http://people.freebsd.org/~osa/ngx_http_redis-0.3.7.tar.gz | |
++ NGX_LUANGINXLINKFILE=lua-nginx-module_v0.10.11.tar.gz | |
++ NGX_LUANGINXLINK=https://github.com/openresty/lua-nginx-module/archive/v0.10.11.tar.gz | |
++ NGX_LUANGINXLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-nginx-module/repository/archive.tar.gz?ref=v0.10.11' | |
++ NGX_LUAGITLINKFILE=luagit-2.0.5.tar.gz | |
++ NGX_LUAGITLINK=http://luajit.org/download/LuaJIT-2.0.5.tar.gz | |
++ NGX_LUAMEMCACHEDLINKFILE=lua-resty-memcached_v0.14.tar.gz | |
++ NGX_LUAMEMCACHEDLINK=https://github.com/openresty/lua-resty-memcached/archive/v0.14.tar.gz | |
++ NGX_LUAMEMCACHEDLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-memcached/repository/archive.tar.gz?ref=v0.14' | |
++ NGX_LUAMYSQLLINKFILE=lua-resty-mysql_v0.20.tar.gz | |
++ NGX_LUAMYSQLLINK=https://github.com/openresty/lua-resty-mysql/archive/v0.20.tar.gz | |
++ NGX_LUAMYSQLLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-mysql/repository/archive.tar.gz?ref=v0.20' | |
++ NGX_LUAREDISLINKFILE=lua-resty-redis_v0.26.tar.gz | |
++ NGX_LUAREDISLINK=https://github.com/openresty/lua-resty-redis/archive/v0.26.tar.gz | |
++ NGX_LUAREDISLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-redis/repository/archive.tar.gz?ref=v0.26' | |
++ NGX_LUADNSLINKFILE=lua-resty-dns_v0.20.tar.gz | |
++ NGX_LUADNSLINK=https://github.com/openresty/lua-resty-dns/archive/v0.20.tar.gz | |
++ NGX_LUADNSLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-dns/repository/archive.tar.gz?ref=v0.20' | |
++ NGX_LUAUPLOADLINKFILE=lua-resty-upload_v0.10.tar.gz | |
++ NGX_LUAUPLOADLINK=https://github.com/openresty/lua-resty-upload/archive/v0.10.tar.gz | |
++ NGX_LUAUPLOADLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-upload/repository/archive.tar.gz?ref=v0.10' | |
++ NGX_LUAWEBSOCKETLINKFILE=lua-resty-websocket_v0.05.tar.gz | |
++ NGX_LUAWEBSOCKETLINK=https://github.com/openresty/lua-resty-websocket/archive/v0.05.tar.gz | |
++ NGX_LUAWEBSOCKETLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-websocket/repository/archive.tar.gz?ref=v0.05' | |
++ NGX_LUALOCKLINKFILE=lua-resty-lock_v0.07.tar.gz | |
++ NGX_LUALOCKLINK=https://github.com/openresty/lua-resty-lock/archive/v0.07.tar.gz | |
++ NGX_LUALOCKLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-lock/repository/archive.tar.gz?ref=v0.07' | |
++ NGX_LUASTRINGLINKFILE=lua-resty-string_v0.10.tar.gz | |
++ NGX_LUASTRINGLINK=https://github.com/openresty/lua-resty-string/archive/v0.10.tar.gz | |
++ NGX_LUASTRINGLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-string/repository/archive.tar.gz?ref=v0.10' | |
++ NGX_LUAREDISPARSERLINKFILE=lua-redis-parser_v0.13.tar.gz | |
++ NGX_LUAREDISPARSERLINK=https://github.com/openresty/lua-redis-parser/archive/v0.13.tar.gz | |
++ NGX_LUAREDISPARSERLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-redis-parser/repository/archive.tar.gz?ref=v0.13' | |
++ NGX_LUAUPSTREAMCHECKLINKFILE=lua-resty-upstream-healthcheck_v0.04.tar.gz | |
++ NGX_LUAUPSTREAMCHECKLINK=https://github.com/openresty/lua-resty-upstream-healthcheck/archive/v0.04.tar.gz | |
++ NGX_LUAUPSTREAMCHECKLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-upstream-healthcheck/repository/archive.tar.gz?ref=v0.04' | |
++ NGX_LUALRUCACHELINKFILE=lua-resty-lrucache_v0.07.tar.gz | |
++ NGX_LUALRUCACHELINK=https://github.com/openresty/lua-resty-lrucache/archive/v0.07.tar.gz | |
++ NGX_LUALRUCACHELINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-lrucache/repository/archive.tar.gz?ref=v0.07' | |
++ NGX_LUARESTYCORELINKFILE=lua-resty-core_v0.1.13.tar.gz | |
++ NGX_LUARESTYCORELINK=https://github.com/openresty/lua-resty-core/archive/v0.1.13.tar.gz | |
++ NGX_LUARESTYCORELINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-core/repository/archive.tar.gz?ref=v0.1.13' | |
++ NGX_LUAUPSTREAMLINKFILE=lua-upstream-nginx-module_v0.06.tar.gz | |
++ NGX_LUAUPSTREAMLINK=https://github.com/openresty/lua-upstream-nginx-module/archive/v0.06.tar.gz | |
++ NGX_LUAUPSTREAMLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-upstream-nginx-module/repository/archive.tar.gz?ref=v0.06' | |
++ NGX_LUALOGGERSOCKETLINKFILE=lua-resty-logger-socket_v0.1.tar.gz | |
++ NGX_LUALOGGERSOCKETLINK=https://github.com/cloudflare/lua-resty-logger-socket/archive/v0.1.tar.gz | |
++ NGX_LUALOGGERSOCKETLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-logger-socket/repository/archive.tar.gz?ref=v0.1' | |
++ NGX_LUACOOKIELINKFILE=lua-resty-cookie_vmaster.tar.gz | |
++ NGX_LUACOOKIELINK=https://github.com/cloudflare/lua-resty-cookie/archive/master.tar.gz | |
++ NGX_LUACOOKIELINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-resty-cookie/repository/archive.tar.gz?ref=master' | |
++ NGX_LUAUPSTREAMCACHELINKFILE=lua-upstream-cache-nginx-module_v0.1.1.tar.gz | |
++ NGX_LUAUPSTREAMCACHELINK=https://github.com/cloudflare/lua-upstream-cache-nginx-module/archive/v0.1.1.tar.gz | |
++ NGX_LUAUPSTREAMCACHELINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-upstream-cache-nginx-module/repository/archive.tar.gz?ref=v0.1.1' | |
++ NGX_LUACJSONLINKFILE=lua-cjson_2.1.0.5.tar.gz | |
++ NGX_LUACJSONLINK=https://github.com/openresty/lua-cjson/archive/2.1.0.5.tar.gz | |
++ NGX_LUACJSONLINKGITLAB='https://gitlab.com/centminmod-github-mirror/lua-cjson/repository/archive.tar.gz?ref=2.1.0.5' | |
++ LIBEVENTLINKFILE=release-2.1.8-stable.tar.gz | |
++ LIBEVENTLINKOLD=https://github.com/downloads/libevent/libevent/release-2.1.8-stable.tar.gz | |
++ LIBEVENTLINK=https://github.com/libevent/libevent/archive/release-2.1.8-stable.tar.gz | |
++ LIBEVENTLINKGITLAB='https://gitlab.com/centminmod-github-mirror/libevent/repository/archive.tar.gz?ref=release-2.1.8-stable' | |
++ PHPEXT_MAILPARSELINKFILE=mailparse-2.1.6.tgz | |
++ PHPEXT_MAILPARSELINK=https://pecl.php.net/get/mailparse-2.1.6.tgz | |
++ PHPEXT_MAILPARSELINKLOCAL=https://centminmod.com/centminmodparts/mailparse/mailparse-2.1.6.tgz | |
++ PHPEXT_IMAGICKLINKFILE=imagick-3.4.3.tgz | |
++ PHPEXT_IMAGICKLINK=https://pecl.php.net/get/imagick-3.4.3.tgz | |
++ PHPEXT_IMAGICKLINKLOCAL=https://centminmod.com/centminmodparts/imagick/imagick-3.4.3.tgz | |
++ PHPEXT_MEMCACHELINKFILE=memcache-3.0.8.tgz | |
++ PHPEXT_MEMCACHELINK=https://pecl.php.net/get/memcache-3.0.8.tgz | |
++ PHPEXT_MEMCACHELINKLOCAL=https://centminmod.com/centminmodparts/memcached/memcache-3.0.8.tgz | |
++ PHPEXT_MEMCACHEDLINKFILE=memcached-2.2.0.tgz | |
++ PHPEXT_MEMCACHEDLINK=https://pecl.php.net/get/memcached-2.2.0.tgz | |
++ PHPEXT_MEMCACHEDLINKLOCAL=https://centminmod.com/centminmodparts/memcached/memcached-2.2.0.tgz | |
++ PHPEXT_LIBMEMCACHEDLINKFILE=libmemcached-1.0.18.tar.gz | |
++ PHPEXT_LIBMEMCACHEDLINK=https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz | |
++ PHPEXT_LIBMEMCACHEDLINKLOCAL=https://centminmod.com/centminmodparts/memcached/libmemcached-1.0.18.tar.gz | |
++ PHPEXT_REDISLINKFILE=phpredis-3.1.6.tgz | |
++ PHPEXT_REDISLINK=https://github.com/phpredis/phpredis/archive/3.1.6.tar.gz | |
++ PHPEXT_REDISLINKGITLAB='https://gitlab.com/centminmod-github-mirror/phpredis/repository/archive.tar.gz?ref=3.1.6' | |
++ PHPEXT_REDISLINKLOCAL=https://centminmod.com/centminmodparts/redis/phpredis-3.1.6.tgz | |
++ PHPEXT_MONGODBLINKFILE=mongodb-1.4.0.tgz | |
++ PHPEXT_MONGODBLINK=https://pecl.php.net/get/mongodb-1.4.0.tgz | |
++ PHPEXT_MONGODBLINKLOCAL=https://centminmod.com/centminmodparts/mongodb/mongodb-1.4.0.tgz | |
++ TWEMPERF_LINKFILE=twemperf-0.1.1.tar.gz | |
++ TWEMPERF_LINK=https://github.com/twitter/twemperf/archive/v0.1.1.tar.gz | |
++ TWEMPERF_LINKGITLAB='https://gitlab.com/centminmod-github-mirror/twemperf/repository/archive.tar.gz?ref=v0.1.1' | |
++ MEMCACHEDSERVER_LINKFILE=memcached-1.5.6.tar.gz | |
++ MEMCACHEDSERVER_LINK=http://www.memcached.org/files/memcached-1.5.6.tar.gz | |
++ MEMCACHEDSERVER_LINKLOCAL=https://centminmod.com/centminmodparts/memcached/memcached-1.5.6.tar.gz | |
++ MYSQLREPORT_LINKFILE=mysqlreport | |
++ MYSQLREPORT_LINK=https://centminmod.com/centminmodparts/mysqlreport/mysqlreport | |
++ MYSQLTUNER_LINKFILE=mysqltuner.pl | |
++ MYSQLTUNER_LINK=https://centminmod.com/centminmodparts/mysqltuner/mysqltuner.txt | |
++ NGX_LINKFILE=nginx-1.13.9.tar.gz | |
++ NGX_LINK=http://nginx.org/download/nginx-1.13.9.tar.gz | |
++ NGX_VTSLINK=https://github.com/vozlt/nginx-module-vts.git | |
++ NGX_VTSLINKGITLAB=https://gitlab.com/centminmod-github-mirror/nginx-module-vts.git | |
++ OPENSSL_LINKFILE=openssl-1.1.0g.tar.gz | |
++ OPENSSL_LINK=https://www.openssl.org/source/openssl-1.1.0g.tar.gz | |
++ OPENSSL_LINKLOCAL=https://centminmod.com/centminmodparts/openssl/openssl-1.1.0g.tar.gz | |
++ LIBRESSL_LINKFILE=libressl-2.6.4.tar.gz | |
++ LIBRESSL_LINK=http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.4.tar.gz | |
++ LIBRESSL_LINKLOCAL=https://centminmod.com/centminmodparts/libressl/libressl-2.6.4.tar.gz | |
++ LIBRESSL_LOCALLINKFILE=libressl-2.6.4.tar.gz | |
++ SIEGE_LINKFILE=siege-4.0.4.tar.gz | |
++ SIEGE_LINK=http://download.joedog.org/siege/siege-4.0.4.tar.gz | |
++ SIEGE_LINKLOCAL=https://centminmod.com/centminmodparts/siege/siege-4.0.4.tar.gz | |
++ SPROXY_LINKFILE=sproxy-latest.tar.gz | |
++ SPROXY_LINK=http://www.joedog.org/pub/sproxy/sproxy-latest.tar.gz | |
++ SPROXY_LINKLOCAL=https://centminmod.com/centminmodparts/siege/sproxy-latest.tar.gz | |
++ PYTHON_LINKFILE=Python-2.7.10.tgz | |
++ PYTHON_LINK=http://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz | |
++ PYTHON_SETUPTOOLSLINKFILE=setuptools-0.6c11-py2.7.egg | |
++ PYTHON_SETUPTOOLSLINK=http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg | |
++ XCACHE_LINKFILE=xcache-3.2.0.tar.gz | |
++ XCACHE_LINK=http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz | |
++ APCCACHE_LINKFILE=APC-3.1.13.tgz | |
++ APCCACHE_LINK=https://pecl.php.net/get/APC-3.1.13.tgz | |
++ APCCACHE_LINKLOCAL=https://centminmod.com/centminmodparts/apc/php550/APC-3.1.13.tgz | |
++ ZENDOPCACHE_LINKFILE=zendopcache-7.0.5.tgz | |
++ ZENDOPCACHE_LINK=https://pecl.php.net/get/zendopcache-7.0.5.tgz | |
++ ZENDOPCACHE_LINKLOCAL=https://centminmod.com/centminmodparts/zendopcache/zendopcache-7.0.5.tgz | |
++ NSD_LINKFILE=nsd-3.2.18.tar.gz | |
++ NSD_LINK=https://centminmod.com/centminmodparts/nsd/nsd-3.2.18.tar.gz | |
++ CSF_LINKFILE=csf.tgz | |
++ CSF_LINK=http://download.configserver.com/csf.tgz | |
++ EZSETUPLINKFILE=ez_setup.py | |
++ EZSETUPLINK=https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | |
++ AXEL_LINKFILE=axel-2.6.tar.gz | |
++ AXEL_LINK=https://centminmod.com/centminmodparts/axel/v2.6.tar.gz | |
++ AXEL_LINKGITLAB='https://gitlab.com/centminmod-github-mirror/axel/repository/archive.tar.gz?ref=2.6' | |
++ AXEL_LINKLOCAL=https://github.com/axel-download-accelerator/axel/archive/v2.6.tar.gz | |
++ WGET_FILENAME=wget-1.19.4.tar.gz | |
++ WGET_LINK=https://centminmod.com/centminmodparts/wget/wget-1.19.4.tar.gz | |
++ LIBUNWIND_LINKFILE=libunwind-1.2.1.tar.gz | |
++ LIBUNWIND_LINKDIR=libunwind-1.2.1 | |
++ LIBUNWIND_LINK=http://download.savannah.gnu.org/releases/libunwind/libunwind-1.2.1.tar.gz | |
++ LIBUNWIND_LINKLOCAL=https://centminmod.com/centminmodparts/gperf/libunwind-1.2.1.tar.gz | |
++ GPERFTOOL_LINKFILE=gperftools-2.6.3.tar.gz | |
++ GPERFTOOL_LINKDIR=gperftools-2.6.3 | |
++ GPERFTOOL_LINK=https://github.com/gperftools/gperftools/releases/download/gperftools-2.6.3/gperftools-2.6.3.tar.gz | |
++ GPERFTOOL_LINKLOCAL=https://centminmod.com/centminmodparts/gperf/gperftools-2.6.3.tar.gz | |
+ source inc/downloads.inc | |
+ source inc/yumpriorities.inc | |
+ source inc/yuminstall.inc | |
+ source inc/centoscheck.inc | |
+ source inc/axelsetup.inc | |
+ source inc/phpfpmdir.inc | |
+ source inc/nginx_backup.inc | |
+ source inc/nsd_submenu.inc | |
+ source inc/nsd_install.inc | |
+ source inc/nsdsetup.inc | |
+ source inc/nsd_reinstall.inc | |
+ source inc/nginx_logformat.inc | |
+ source inc/logrotate_nginx.inc | |
+ source inc/logrotate_phpfpm.inc | |
+ source inc/logrotate_mysql.inc | |
+ source inc/nginx_mimetype.inc | |
+ source inc/openssl_install.inc | |
+ source inc/brotli.inc | |
+ source inc/nginx_patch.inc | |
+ source inc/fastopen.inc | |
+ source inc/mod_security.inc | |
+ source inc/nginx_configure.inc | |
+ source inc/geoip.inc | |
+ source inc/luajit.inc | |
+ source inc/phpinfo.inc | |
+ source inc/nginx_install.inc | |
+ source inc/nginx_upgrade.inc | |
+ source inc/mailparse.inc | |
+ source inc/imagick_install.inc | |
+ source inc/memcached_install.inc | |
+ source inc/redis_submenu.inc | |
+ source inc/redis.inc | |
+ source inc/mongodb.inc | |
+ source inc/php_mssql.inc | |
+ source inc/mysql_proclimit.inc | |
+ source inc/mysqltmp.inc | |
+ source inc/setmycnf.inc | |
+ source inc/mariadb_install.inc | |
+ source inc/mysql_install.inc | |
+ source inc/mariadb_submenu.inc | |
++ ENABLE_MARIADBTENUPGRADE=y | |
++ ENABLE_MARIADBTENTWOUPGRADE=n | |
++ SKIP_INNODBFASTSHUTDOWNDISABLE=y | |
+ source inc/postgresql.inc | |
+ source inc/zendopcache_tweaks.inc | |
+ source inc/php_extraopts.inc | |
++ PHP_EXTRAOPTS=' --with-xsl' | |
+ source inc/mysql_legacy.inc | |
+ source inc/imap.inc | |
+ source inc/php_configure.inc | |
+ source inc/phpng_download.inc | |
+ source inc/php_upgrade.inc | |
+ source inc/suhosin_setup.inc | |
+ source inc/nginx_pagespeed.inc | |
+ source inc/nginx_modules.inc | |
+ source inc/nginx_modules_openresty.inc | |
+ source inc/sshd.inc | |
+ source inc/openvz_stack.inc | |
+ source inc/siegeinstall.inc | |
+ source inc/python_install.inc | |
+ source inc/nginx_addvhost.inc | |
+ source inc/wpsetup.inc | |
+ source inc/mariadb_upgrade.inc | |
+ source inc/mariadb_upgrade53.inc | |
+ source inc/mariadb_upgrade55.inc | |
+ source inc/mariadb_upgrade10.inc | |
+ source inc/mariadb_upgrade101.inc | |
+ source inc/mariadb_upgrade102.inc | |
+ source inc/nginx_errorpage.inc | |
+ source inc/sendmail.inc | |
+ source inc/postfix.inc | |
+ source inc/compress.inc | |
++ PIGZ_VER=2.3.3 | |
++ PBZIP_VER=1.1.13 | |
++ LBZIP_VER=2.5 | |
++ LZIP_VER=1.17 | |
++ LZLIB_VER=1.7 | |
++ PLZIP_VER=1.4 | |
++ PZIP_VER=15.14.1 | |
+ source inc/diskalert.inc | |
+ source inc/phpsededit.inc | |
+ source inc/csfinstall.inc | |
+ source inc/csftweaks.inc | |
+ source inc/xcache_installask.inc | |
+ source inc/xcache_install.inc | |
+ source inc/xcache_reinstall.inc | |
+ source inc/igbinary.inc | |
+ source inc/apcprotect.inc | |
+ source inc/apcinstall.inc | |
+ source inc/apcreinstall.inc | |
+ source inc/zendopcache_55ini.inc | |
+ source inc/zendopcache_install.inc | |
+ source inc/zendopcache_upgrade.inc | |
+ source inc/zendopcache_reinstall.inc | |
+ source inc/zendopcache_submenu.inc | |
+ source inc/ffmpeginstall.inc | |
+ source inc/shortcuts_install.inc | |
+ source inc/memcacheadmin.inc | |
+ source inc/mysqlsecure.inc | |
+ source inc/pcre.inc | |
+ source inc/jemalloc.inc | |
+ source inc/zlib.inc | |
+ source inc/google_perftools.inc | |
+ source inc/updater_submenu.inc | |
+ source inc/centminfinish.inc | |
+ checkcentosver | |
+ [[ '' = [yY] ]] | |
+ sshdtweaks | |
++ LC_ALL=C | |
++ grep '#HostKey /etc/ssh/ssh_host_rsa_key' /etc/ssh/sshd_config | |
+ CHECKHOSTKEY= | |
++ LC_ALL=C | |
++ grep '#HostKey /etc/ssh/ssh_host_ecdsa_key' /etc/ssh/sshd_config | |
+ CHECKHOSTKEYB= | |
++ LC_ALL=C | |
++ grep '#PubkeyAuthentication' /etc/ssh/sshd_config | |
+ CHECKHOSTKEYC= | |
++ LC_ALL=C | |
++ grep '#PermitEmptyPasswords' /etc/ssh/sshd_config | |
+ CHECKHOSTKEYD= | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
++ LC_ALL=C | |
++ grep '#TCPKeepAlive yes' /etc/ssh/sshd_config | |
+ CHECKTCPALIVE= | |
+ [[ ! -z '' ]] | |
++ LC_ALL=C | |
++ grep 'ClientAliveInterval 3600' /etc/ssh/sshd_config | |
+ CHECKVALUES='ClientAliveInterval 3600' | |
+ [[ -z ClientAliveInterval 3600 ]] | |
+ '[' '!' -f /etc/ssh/ssh_host_ecdsa_key ']' | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ ! -z '' ]] | |
+ [[ -z ClientAliveInterval 3600 ]] | |
++ head -n1 | |
++ awk '/Swap: / {print $2}' | |
++ free -m | |
+ FINDSWAPSIZE=2047 | |
+ [[ 2047 -eq 0 ]] | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ [[ 1016440 -le 1048576 ]] | |
+ [[ 2047 -le 512 ]] | |
+ '[' '!' -f /etc/ld.so.preload ']' | |
++ uname -m | |
+ MACHINE_TYPE=x86_64 | |
+ '[' x86_64 == x86_64 ']' | |
+ ARCH=x86_64 | |
+ '[' x86_64 == x86_64 ']' | |
+ LIBDIR=lib64 | |
+ '[' -f /usr/lib64/sa/sa2 ']' | |
++ awk -F = '/^HISTORY/ { print $2 }' /usr/lib64/sa/sa2 | |
+ SARDAYCHECK=28 | |
+ '[' 28 == 7 ']' | |
+ [[ -f /root/.bash_profile ]] | |
++ LC_ALL=C | |
++ grep nano /root/.bash_profile | |
+ NANOCHECK='export EDITOR=nano' | |
+ '[' -z 'export EDITOR=nano' ']' | |
+ '[' -f /root/.screenrc ']' | |
++ LC_ALL=C | |
++ grep defscrollback /root/.screenrc | |
+ DEFSCROLLCHECK='defscrollback 200000' | |
+ '[' -z 'defscrollback 200000' ']' | |
+ [[ -f /usr/bin/ccache ]] | |
+ [[ -f /usr/local/bin/ccache ]] | |
+ [[ ! -f /svr-setup/ccache-3.4.1.tar.gz ]] | |
+ [[ -f /usr/local/bin/ccache ]] | |
+ [[ -d /svr-setup/ccache-3.4.1 ]] | |
++ awk '{print $3}' | |
++ head -n 1 | |
++ ccache -V | |
+ [[ 3.4.1 != \3\.\4\.\1 ]] | |
+ '[' -f /etc/centminmod-release ']' | |
++ cat /etc/centminmod-release | |
+ [[ 123.09beta01.b016 != '' ]] | |
+ setupmotd | |
+ ENABLEMOTD=y | |
+ CUR_DIR=/usr/local/src/centminmod | |
+ CM_INSTALLDIR=/usr/local/src/centminmod | |
+ '[' -f /usr/local/src/centminmod/inc/custom_config.inc ']' | |
+ '[' -f /etc/centminmod/custom_config.inc ']' | |
+ source /etc/centminmod/custom_config.inc | |
++ NGXDYNAMIC_NJS=$'n\r' | |
++ NGXDYNAMIC_XSLT=$'y\r' | |
++ NGXDYNAMIC_PERL=$'n\r' | |
++ NGXDYNAMIC_IMAGEFILTER=$'y\r' | |
++ NGXDYNAMIC_GEOIP=$'n\r' | |
++ NGXDYNAMIC_STREAM=$'y\r' | |
++ NGXDYNAMIC_STREAMGEOIP=y | |
++ NGXDYNAMIC_STREAMREALIP=y | |
++ NGXDYNAMIC_HEADERSMORE=$'y\r' | |
++ NGXDYNAMIC_SETMISC=$'y\r' | |
++ NGXDYNAMIC_ECHO=$'y\r' | |
++ NGXDYNAMIC_LUA=n | |
++ NGXDYNAMIC_SRCCACHE=$'y\r' | |
++ NGXDYNAMIC_DEVELKIT=n | |
++ NGXDYNAMIC_MEMC=$'y\r' | |
++ NGXDYNAMIC_REDISTWO=$'n\r' | |
++ NGXDYNAMIC_NGXPAGESPEED=$'n\r' | |
++ NGXDYNAMIC_BROTLI=$'y\r' | |
++ NGXDYNAMIC_FANCYINDEX=$'y\r' | |
++ NGXDYNAMIC_HIDELENGTH=$'y\r' | |
++ $'\r' | |
/etc/centminmod/custom_config.inc: line 22: | |
: command not found | |
++ NGINX_LIBBROTLI=$'n\r' | |
++ NGINX_PAGESPEED=n | |
+ '[' -f /usr/local/src/centminmod/inc/z_custom.inc ']' | |
+ [[ y = [yY] ]] | |
+ '[' -f /usr/local/bin/dmotd ']' | |
+ rm -rf /usr/local/bin/dmotd | |
+ '[' -f /usr/local/src/centminmod/config/motd/dmotd.sh ']' | |
+ ln -s /usr/local/src/centminmod/config/motd/dmotd.sh /usr/local/bin/dmotd | |
+ '[' -f /usr/local/bin/dmotd ']' | |
+ chmod +x /usr/local/bin/dmotd | |
+ checkmotd | |
++ LC_ALL=C | |
++ grep 'PrintMotd no' /etc/ssh/sshd_config | |
+ [[ -z PrintMotd no ]] | |
++ LC_ALL=C | |
++ grep '\/usr\/local\/bin\/dmotd' /etc/profile | |
+ [[ -n '' ]] | |
+ '[' '!' -f /etc/profile.d/dmotd.sh ']' | |
+ sed -i 's|sha1PrintMotd no|sha1\nPrintMotd no|' /etc/ssh/sshd_config | |
+ sed -i 's|UseDNS noPrintMotd no|UseDNS no\nPrintMotd no|' /etc/ssh/sshd_config | |
+ countcpus | |
+ '[' -f /usr/local/nginx/conf/nginx.conf ']' | |
++ wc -l | |
++ LC_ALL=C | |
++ grep processor /proc/cpuinfo | |
+ NOCPUS=1 | |
+ NGINXCONFCPU=/usr/local/nginx/conf/nginx.conf | |
++ LC_ALL=C | |
++ grep 'worker_processes 1;' /usr/local/nginx/conf/nginx.conf | |
+ WORKERCHECKA= | |
++ LC_ALL=C | |
++ grep 'worker_processes 1;' /usr/local/nginx/conf/nginx.conf | |
+ WORKERCHECKB='worker_processes 1;' | |
+ [[ 1 -le 2 ]] | |
+ NOCPUS=1 | |
+ echo | |
+ [[ ! -z '' ]] | |
+ [[ ! -z worker_processes 1; ]] | |
+ sed -i 's/worker_processes .*/worker_processes 1;/g' /usr/local/nginx/conf/nginx.conf | |
+ [[ 1 -le 4 ]] | |
+ [[ 1 -gt 2 ]] | |
+ [[ 1 -le 6 ]] | |
+ [[ 1 -gt 4 ]] | |
+ '[' 1 = 7 ']' | |
+ '[' 1 = 8 ']' | |
+ [[ 1 -le 10 ]] | |
+ [[ 1 -gt 8 ]] | |
+ '[' 1 = 11 ']' | |
+ '[' 1 = 12 ']' | |
+ [[ 1 -le 15 ]] | |
+ [[ 1 -ge 13 ]] | |
+ [[ 1 -le 16 ]] | |
+ [[ 1 -gt 12 ]] | |
+ [[ 1 -le 23 ]] | |
+ [[ 1 -ge 17 ]] | |
+ [[ 1 -le 31 ]] | |
+ [[ 1 -ge 24 ]] | |
+ [[ 1 -le 47 ]] | |
+ [[ 1 -ge 32 ]] | |
+ [[ 1 -le 64 ]] | |
+ [[ 1 -ge 48 ]] | |
+ [[ 1 -le 127 ]] | |
+ [[ 1 -ge 65 ]] | |
+ [[ 1 -le 191 ]] | |
+ [[ 1 -ge 128 ]] | |
+ [[ 1 -le 256 ]] | |
+ [[ 1 -ge 192 ]] | |
+ [[ 1 -ge 257 ]] | |
+ nano_highlight | |
+ '[' -f /etc/nanorc ']' | |
++ LC_ALL=C | |
++ grep '^include' /etc/nanorc | |
+ [[ -z include "/usr/share/nano/nanorc.nanorc" | |
include "/usr/share/nano/c.nanorc" | |
include "/usr/share/nano/html.nanorc" | |
include "/usr/share/nano/tex.nanorc" | |
include "/usr/share/nano/mutt.nanorc" | |
include "/usr/share/nano/patch.nanorc" | |
include "/usr/share/nano/man.nanorc" | |
include "/usr/share/nano/groff.nanorc" | |
include "/usr/share/nano/perl.nanorc" | |
include "/usr/share/nano/python.nanorc" | |
include "/usr/share/nano/ruby.nanorc" | |
include "/usr/share/nano/java.nanorc" | |
include "/usr/share/nano/asm.nanorc" | |
include "/usr/share/nano/sh.nanorc" | |
include "/usr/share/nano/pov.nanorc" ]] | |
+ mysqltmpdir | |
+ [[ '' = [yY] ]] | |
+ '[' -d /home/mysqltmp ']' | |
++ stat -c %U /home/mysqltmp/ | |
+ [[ mysql != \m\y\s\q\l ]] | |
+ c7tmpsetup | |
+ [[ '' = \7 ]] | |
+ [[ '' = \i\n\s\t\a\l\l ]] | |
+ cpcheck | |
+ FIRSTINSTALL= | |
+ [[ '' = \i\n\i\t\i\a\l\i\n\s\t\a\l\l ]] | |
+ INITIALINSTALL=n | |
+ '[' -f /var/cpanel/cpanel.config ']' | |
+ '[' -f /etc/psa/.psa.shadow ']' | |
+ '[' -f /etc/init.d/directadmin ']' | |
+ [[ '' = \7 ]] | |
+ YUMDNFBIN=yum | |
+ march_hostcheck | |
++ LC_ALL=C | |
++ uname -r | |
++ grep -o linode | |
+ [[ -n '' ]] | |
+ yumfastmirror_check | |
+ '[' -f /etc/yum/pluginconf.d/fastestmirror.conf ']' | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ [[ 1016440 -lt 1018000 ]] | |
+ [[ '' = \7 ]] | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ [[ 1016440 -lt 263000 ]] | |
+ ovhkernelcheck | |
+ [[ n = [yY] ]] | |
+ fileperm_fixes | |
+ '[' -f /usr/lib/udev/rules.d/60-net.rules ']' | |
+ cronpathadjust | |
+ '[' -f /etc/crontab ']' | |
++ LC_ALL=C | |
++ grep '\/usr\/local\/bin' /etc/crontab | |
+ [[ -z PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin ]] | |
+ crontabdisable_r | |
++ LC_ALL=C | |
++ grep -w 'crontab \(\)' /root/.bashrc | |
+ [[ ! -n crontab () { [[ $@ =~ -[iel]*r ]] && echo r not allowed || command crontab "$@" ;} ]] | |
+ rclocalchecks | |
+ [[ '' = \7 ]] | |
+ [[ -f /etc/rc.d/rc.local ]] | |
+ [[ ! -x /etc/rc.d/rc.local ]] | |
+ checkovzkernels | |
+ [[ -f /proc/user_beancounters ]] | |
+ kernelchecks | |
++ cut -d . -f1 | |
++ uname -r | |
+ [[ 2 = \4 ]] | |
+ pathfixes | |
++ LC_ALL=C | |
++ grep '\$PATH:' /root/.bashrc | |
+ [[ -z export PATH="$PATH:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin" ]] | |
+ '[' -d /etc/sudoers.d ']' | |
+ '[' '!' -f /etc/sudoers.d/addpaths ']' | |
+ '[' -f /etc/sudoers.d/addpaths ']' | |
+ chmod 0440 /etc/sudoers.d/addpaths | |
+ apache_protect | |
++ LC_ALL=C | |
++ grep '\/usr\/local\/src\/centminmod\/tools\/autoprotect.sh' | |
++ crontab -l | |
+ [[ -z 11 */23 * * * /usr/local/src/centminmod/tools/autoprotect.sh 2>/dev/null ]] | |
+ setup_pwdh | |
++ LC_ALL=C | |
++ grep -w pwdh /root/.bashrc | |
+ [[ -z alias pwdh='echo -n "$HOSTNAME"; echo " $PWD"' ]] | |
+ cmupdatecheck | |
+ '[' '!' -h /usr/bin/cmupdate ']' | |
+ [[ n != [yY] ]] | |
+ march_hostcheck | |
++ LC_ALL=C | |
++ uname -r | |
++ grep -o linode | |
+ [[ -n '' ]] | |
+ expand_cmdprompt | |
++ LC_ALL=C | |
++ grep PS1 /root/.bashrc | |
+ [[ -z export PS1="[\A][\u@\H \W]\\$ " ]] | |
+ setup_pwdh | |
++ LC_ALL=C | |
++ grep -w pwdh /root/.bashrc | |
+ [[ -z alias pwdh='echo -n "$HOSTNAME"; echo " $PWD"' ]] | |
+ c7mariadb_tmpdir | |
+ [[ '' = \7 ]] | |
+ [[ '' = \7 ]] | |
+ mariadb_openfilesfix | |
+ [[ '' = \7 ]] | |
+ mariadb_errorlogfix | |
+ '[' -f /etc/my.cnf ']' | |
++ LC_ALL=C | |
++ grep '^log-error=\/var\/log\/mysqld.log' /etc/my.cnf | |
+ MDB_LOGERRORCHECK= | |
+ '[' '' ']' | |
+ yumfastmirror_check | |
+ '[' -f /etc/yum/pluginconf.d/fastestmirror.conf ']' | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ [[ 1016440 -lt 1018000 ]] | |
+ [[ '' = \7 ]] | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ [[ 1016440 -lt 263000 ]] | |
+ axelcheck | |
+ [[ -f /usr/local/bin/axel ]] | |
++ awk '/version/ {print $3}' | |
++ axel -V | |
+ [[ 2.6 != \2\.\6 ]] | |
+ [[ -f /usr/local/bin/axel ]] | |
+ [[ ! -d /svr-setup/axel-2.6 ]] | |
+ fileperm_fixes | |
+ '[' -f /usr/lib/udev/rules.d/60-net.rules ']' | |
+ selinxcheck | |
+ '[' '!' -f /usr/sbin/sestatus ']' | |
+ '[' '!' -f /usr/sbin/setenforce ']' | |
++ LC_ALL=C | |
++ grep disabled | |
++ sestatus | |
+ [[ -z SELinux status: disabled ]] | |
++ LC_ALL=C | |
++ sestatus | |
++ grep disabled | |
+ [[ -z SELinux status: disabled ]] | |
+ setupemailcheck | |
+ [[ n != [yY] ]] | |
+ '[' -f /etc/centminmod/email-primary.ini ']' | |
+ '[' '!' -s /etc/centminmod/email-primary.ini ']' | |
+ '[' -f /etc/centminmod/email-secondary.ini ']' | |
+ '[' '!' -s /etc/centminmod/email-secondary.ini ']' | |
+ [[ '' = \y ]] | |
+ [[ '' = \y ]] | |
+ checkovzkernels | |
+ [[ -f /proc/user_beancounters ]] | |
+ rclocalchecks | |
+ [[ '' = \7 ]] | |
+ [[ -f /etc/rc.d/rc.local ]] | |
+ [[ ! -x /etc/rc.d/rc.local ]] | |
+ kernelchecks | |
++ cut -d . -f1 | |
++ uname -r | |
+ [[ 2 = \4 ]] | |
+ centaltoff | |
+ [[ -f /etc/yum.repos.d/centalt.repo ]] | |
+ csfipsetcheck | |
+ [[ ! -f /proc/user_beancounters ]] | |
++ LC_ALL=C | |
++ grep ip_set | |
++ lsmod | |
+ [[ -n '' ]] | |
+ '[' -f /etc/csf/csf.conf ']' | |
+ sed -i 's/LF_IPSET = \"1\"/LF_IPSET = \"0\"/' /etc/csf/csf.conf | |
+ checkaliases | |
++ LC_ALL=C | |
++ grep centminmod-123.08centos7beta01 /root/.bashrc | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep centminmod-123.08centos7beta02 /root/.bashrc | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep centminmod-123.08centos7beta03 /root/.bashrc | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep centminmod-123.08beta03 /root/.bashrc | |
+ [[ -n '' ]] | |
+ checkcmdircmd | |
++ LC_ALL=C | |
++ grep cmdir= /root/.bashrc | |
+ [[ -n alias cmdir='pushd /usr/local/src/centminmod' ]] | |
+ sed -i /cmdir=/d /root/.bashrc | |
+ sed -i /centmin=/d /root/.bashrc | |
+ rm -rf /usr/bin/cmdir | |
+ alias 'cmdir=pushd /usr/local/src/centminmod' | |
+ echo 'alias cmdir='\''pushd /usr/local/src/centminmod'\''' | |
+ cat | |
+ chmod 0700 /usr/bin/centmin | |
+ nvcheck | |
+ '[' '!' -h /usr/bin/nv ']' | |
+ cmupdatecheck | |
+ '[' '!' -h /usr/bin/cmupdate ']' | |
+ multiphpcheck | |
+ [[ -d /usr/local/nginx/conf ]] | |
+ [[ ! -f /usr/local/nginx/conf/phpfpmd/phpfpm_pool2.conf ]] | |
+ [[ ! -f /usr/local/nginx/conf/php-pool5.conf ]] | |
+ [[ -f /usr/local/nginx/conf/phpfpmd/phpfpm_pool2.conf ]] | |
+ [[ ! -f /usr/bin/fpmconf-2 ]] | |
+ mjemalloc | |
+ [[ n = [yY] ]] | |
+ blockeditorcheck | |
+ '[' -f /usr/local/nginx/conf/drop.conf ']' | |
++ LC_ALL=C | |
++ grep 17234 /usr/local/nginx/conf/drop.conf | |
+ [[ -z # for security see https://community.centminmod.com/posts/17234/ ]] | |
+ rpcnfsports | |
++ LC_ALL=C | |
++ rpm -ql nfs-utils | |
++ grep 'not installed' | |
+ [[ ! -z package nfs-utils is not installed ]] | |
+ [[ -f /etc/csf/csf.conf ]] | |
+ [[ n = [yY] ]] | |
+ [[ n = [yY] ]] | |
+ sed -i 's|,111,|,|g' /etc/csf/csf.conf | |
+ sed -i 's|,2049,|,|g' /etc/csf/csf.conf | |
+ [[ n = [yY] ]] | |
+ fixlogrotate | |
+ '[' -f /etc/logrotate.d/nginx ']' | |
++ LC_ALL=C | |
++ grep maxsize /etc/logrotate.d/nginx | |
+ [[ -z maxsize 500M ]] | |
++ LC_ALL=C | |
++ grep -w 'su nginx' /etc/logrotate.d/nginx | |
+ [[ -n '' ]] | |
+ '[' -f /etc/logrotate.d/php-fpm ']' | |
++ LC_ALL=C | |
++ grep '\$' /etc/logrotate.d/php-fpm | |
+ [[ -z /bin/kill -SIGUSR1 $(cat /var/run/php-fpm/php-fpm.pid 2>/dev/null) 2>/dev/null || true ]] | |
++ LC_ALL=C | |
++ grep maxsize /etc/logrotate.d/php-fpm | |
+ [[ -z maxsize 500M ]] | |
+ [[ ! -f /etc/logrotate.d/mysql ]] | |
+ [[ ! -f /etc/logrotate.d/mysql-slowlog ]] | |
+ [[ ! -f /var/log/mysqld.log ]] | |
+ [[ -f /etc/logrotate.d/mysql ]] | |
++ LC_ALL=C | |
++ grep dateext /etc/logrotate.d/mysql | |
+ [[ ! -n dateext ]] | |
+ csf_distftp | |
+ '[' -f /etc/csf/csf.conf ']' | |
++ LC_ALL=C | |
++ grep 'LF_DISTFTP = \"40\"' /etc/csf/csf.conf | |
+ [[ ! -n LF_DISTFTP = "40" ]] | |
++ LC_ALL=C | |
++ grep 'LF_DISTFTP_UNIQ = \"40\"' /etc/csf/csf.conf | |
+ [[ ! -n LF_DISTFTP_UNIQ = "40" ]] | |
+ pureftpdupdates | |
+ '[' -f /etc/pure-ftpd/pure-ftpd.conf ']' | |
++ LC_ALL=C | |
++ grep 'NoAnonymous no' /etc/pure-ftpd/pure-ftpd.conf | |
+ CHECKPFTPD_ANON= | |
+ '[' '' ']' | |
++ LC_ALL=C | |
++ grep '^PassivePortRange 3000 3050' /etc/pure-ftpd/pure-ftpd.conf | |
+ CHECKPFTPD_PASSIVEPORTS= | |
++ LC_ALL=C | |
++ grep '^MaxClientsNumber 1000' /etc/pure-ftpd/pure-ftpd.conf | |
+ CHECKPFTPD_MAXCLIENTS='MaxClientsNumber 1000' | |
+ '[' '' ']' | |
+ '[' '!' 'MaxClientsNumber 1000' ']' | |
++ LC_ALL=C | |
++ grep pure-ftpd | |
++ LC_ALL=C | |
++ LC_ALL=C | |
++ grep -v grep | |
++ grep pure-ftpd | |
++ ps aufx | |
++ echo 0 | |
+ [[ 0 -eq 0 ]] | |
+ service pure-ftpd restart | |
++ LC_ALL=C | |
++ grep 3000:3050 /etc/csf/csf.conf | |
+ CHECKCSF_PASSIVEPORTS= | |
+ '[' '' ']' | |
+ '[' '!' -d /etc/ssl/private ']' | |
+ [[ n != [yY] ]] | |
+ [[ ! -f /etc/ssl/private/pure-ftpd-dhparams.pem ]] | |
+ leupdates | |
+ '[' -f /usr/local/nginx/conf/staticfiles.conf ']' | |
++ LC_ALL=C | |
++ grep 'application\/jose+json' /usr/local/nginx/conf/staticfiles.conf | |
+ CHECKCONTENTTYPE= | |
+ '[' '' ']' | |
++ LC_ALL=C | |
++ grep .well-known /usr/local/nginx/conf/staticfiles.conf | |
+ WELLKNOWN_CHECK=' location ~ /.well-known { | |
location ~ /.well-known/acme-challenge/(.*) {' | |
+ '[' '!' ' location ~ /.well-known { | |
location ~ /.well-known/acme-challenge/(.*) {' ']' | |
+ memcachedupdatechecks | |
+ [[ n != [yY] ]] | |
+ '[' -f /etc/init.d/memcached ']' | |
++ LC_ALL=C | |
++ grep MEM_CURVER /etc/init.d/memcached | |
+ [[ -z MEM_CURVER=$(/usr/local/bin/memcached -V | awk '{print $2}' | head -n1 | sed -e 's|\.|00|g') | |
if [[ "$MEM_CURVER" -ge '10040025' ]]; then ]] | |
++ LC_ALL=C | |
++ grep modern /etc/init.d/memcached | |
+ [[ -z '' ]] | |
+ [[ -f /usr/local/src/centminmod/config/memcached/memcached1426.patch ]] | |
+ [[ -f /etc/init.d/memcached ]] | |
+ cp -f /usr/local/src/centminmod/config/memcached/memcached1426.patch /etc/init.d/memcached1426.patch | |
+ pushd /etc/init.d/ | |
/etc/init.d /usr/local/src/centminmod | |
+ patch -s | |
+ rm -rf memcached1426.patch | |
+ popd | |
/usr/local/src/centminmod | |
++ LC_ALL=C | |
++ grep -w memcached /etc/passwd | |
+ '[' '!' memcached:x:502:502::/home/memcached:/sbin/nologin ']' | |
++ LC_ALL=C | |
++ grep -w memcached /etc/passwd | |
+ [[ -n memcached:x:502:502::/home/memcached:/sbin/nologin ]] | |
++ LC_ALL=C | |
++ grep -w nginx /etc/passwd | |
+ [[ -n nginx:x:500:500::/home/nginx:/sbin/nologin ]] | |
++ LC_ALL=C | |
++ grep -o nginx | |
++ id memcached | |
+ [[ nginx != \n\g\i\n\x ]] | |
++ LC_ALL=C | |
++ grep -w USER=nobody /etc/init.d/memcached | |
+ [[ -n '' ]] | |
+ [[ '' = [Yy] ]] | |
++ LC_ALL=C | |
++ grep -w '\-a 0766' /etc/init.d/memcached | |
+ [[ ! -n SOCKETA="-s $SOCKETNAMEA -a 0766" | |
SOCKETB="-s $SOCKETNAMEB -a 0766" ]] | |
+ xpowerby | |
+ '[' -f /usr/local/nginx/conf/nginx.conf ']' | |
++ LC_ALL=C | |
++ grep 'more_set_headers \"Server: nginx\";' /usr/local/nginx/conf/nginx.conf | |
+ XPB_CHECKA= | |
++ LC_ALL=C | |
++ grep 'more_set_headers \"X-Powered-By: centminmod\";' /usr/local/nginx/conf/nginx.conf | |
+ XPB_CHECKB='#more_set_headers "X-Powered-By: centminmod";' | |
++ LC_ALL=C | |
++ grep 'more_set_headers \"Server: nginx centminmod\";' /usr/local/nginx/conf/nginx.conf | |
+ XPB_CHECKC= | |
+ [[ -n '' ]] | |
+ [[ -z #more_set_headers "X-Powered-By: centminmod"; ]] | |
+ pathfixes | |
++ LC_ALL=C | |
++ grep '\$PATH:' /root/.bashrc | |
+ [[ -z export PATH="$PATH:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin" ]] | |
+ '[' -d /etc/sudoers.d ']' | |
+ '[' '!' -f /etc/sudoers.d/addpaths ']' | |
+ '[' -f /etc/sudoers.d/addpaths ']' | |
+ chmod 0440 /etc/sudoers.d/addpaths | |
+ sshdfixes | |
++ LC_ALL=C | |
++ grep 'UseDNS noKexAlgorithms' /etc/ssh/sshd_config | |
+ [[ -n '' ]] | |
+ auto_gitupdate | |
+ [[ -d /usr/local/src/centminmod/.git ]] | |
+ [[ n = [yY] ]] | |
+ figletcheck | |
++ LC_ALL=C | |
++ grep 'bin\/figlet' | |
++ rpm -ql figlet | |
+ [[ ! -f /usr/bin/figlet ]] | |
+ maintenance_confcheck | |
+ '[' '!' -f /usr/local/nginx/conf/sitestatus.conf ']' | |
+ '[' '!' -f /usr/local/nginx/conf/maintenance.conf ']' | |
+ '[' '!' -f /usr/local/nginx/conf/503include-main.conf ']' | |
+ '[' '!' -f /usr/local/nginx/conf/503include-only.conf ']' | |
+ '[' '!' -f /usr/bin/sitestatus ']' | |
+ axivo_remove | |
+ '[' -f /etc/yum.repos.d/axivo.repo ']' | |
+ forgefix | |
+ '[' -f /etc/yum.repos.d/mirrors-rpmforge ']' | |
++ find /etc/yum.repos.d/ -type f -name 'mirrors-rpmforge*' | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge-extras.rpmsave | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge-testing.rpmsave | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge.rpmsave | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge-extras | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ for l in '$(find /etc/yum.repos.d/ -type f -name "mirrors-rpmforge*")' | |
++ LC_ALL=C | |
++ grep '^http:\/\/apt.sw.be' /etc/yum.repos.d/mirrors-rpmforge-testing | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ ngxmodule_cleanups | |
+ '[' -f /svr-setup/nginx-develkit_v0.2.19.tar.gz ']' | |
+ '[' -d /svr-setup/ngx_devel_kit-0.2.19 ']' | |
+ wpcompfix | |
+ '[' -d /usr/local/nginx/conf ']' | |
++ find /usr/local/nginx/conf/ -type f -name 'wpsecure_*.conf' | |
+ WPSECUREDIRS= | |
+ [[ -n '' ]] | |
+ entropy_centosseven | |
+ [[ -f /usr/lib/systemd/system/haveged.service ]] | |
+ tcpcheck_centos | |
++ awk '/MemTotal/ {print $2}' /proc/meminfo | |
+ TCPMEMTOTAL=1016440 | |
+ '[' 1016440 -le 385000 ']' | |
+ [[ 1016440 -gt 385000 ]] | |
+ [[ 1016440 -le 770000 ]] | |
+ [[ 1016440 -gt 770000 ]] | |
+ [[ 1016440 -le 1049000 ]] | |
+ NF_CTMAX=131072 | |
++ sed -e 's| KB||' | |
++ uniq | |
++ awk -F ': ' '/cache size/ {print $2}' /proc/cpuinfo | |
+ NF_CTHASHSIZE=314572 | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
++ LC_ALL=C | |
++ grep 'centminmod added' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 = \0 ]] | |
+ [[ ! -z 314572 ]] | |
+ [[ -f /sys/module/nf_conntrack/parameters/hashsize ]] | |
+ echo 314572 | |
+ [[ ! -z 314572 ]] | |
++ LC_ALL=C | |
++ grep hashsize /etc/rc.local | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep net.ipv4.tcp_slow_start_after_idle=0 /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep net.ipv4.tcp_limit_output_bytes=65536 /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep net.ipv4.tcp_rfc1337=1 /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep net.netfilter.nf_conntrack_helper=0 /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep 'net.netfilter.nf_conntrack_max = 524288' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep 'net.netfilter.nf_conntrack_tcp_timeout_established = 28800' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep 'net.netfilter.nf_conntrack_generic_timeout = 60' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep 'net.ipv4.tcp_mtu_probing = 1' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
++ LC_ALL=C | |
++ grep 'net.ipv4.tcp_base_mss = 1024' /etc/sysctl.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
+ sysctl -p | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
+ [[ 6 = \6 ]] | |
+ [[ -f /etc/sysctl.conf ]] | |
++ LC_ALL=C | |
++ grep tcp_challenge_ack_limit /etc/sysctl.conf | |
+ [[ -z net.ipv4.tcp_challenge_ack_limit = 999999999 ]] | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
+ [[ 6 = \6 ]] | |
+ [[ -f /etc/sysctl.conf ]] | |
++ LC_ALL=C | |
++ grep net.ipv4.tcp_mtu_probing /etc/sysctl.conf | |
+ [[ -z net.ipv4.tcp_mtu_probing = 1 ]] | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
+ [[ 6 = \6 ]] | |
+ [[ -f /etc/sysctl.conf ]] | |
++ LC_ALL=C | |
++ grep net.ipv4.tcp_base_mss /etc/sysctl.conf | |
+ [[ -z net.ipv4.tcp_base_mss = 1024 ]] | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
+ [[ 6 = \6 ]] | |
+ [[ -f /etc/sysctl.conf ]] | |
++ sysctl -a | |
++ awk '/net.ipv4.tcp_tw_recycle/ {print $3}' | |
+ [[ 0 = \1 ]] | |
+ [[ ! -f /proc/user_beancounters ]] | |
+ [[ '' = \7 ]] | |
+ [[ 6 = \6 ]] | |
+ [[ -f /etc/sysctl.conf ]] | |
++ awk '/net.ipv4.tcp_tw_reuse/ {print $3}' | |
++ sysctl -a | |
+ [[ 0 = \1 ]] | |
+ remi_tweaks | |
+ '[' -f /etc/yum.repos.d/remi-safe.repo ']' | |
+ imagick_fixes | |
+ [[ -f /etc/ImageMagick/policy.xml ]] | |
+ [[ -f /etc/ImageMagick6/ImageMagick-6/policy.xml ]] | |
+ '[' -f /usr/local/src/centminmod/tools/imagemagick-fix.sh ']' | |
+ /usr/local/src/centminmod/tools/imagemagick-fix.sh | |
+ apache_protect | |
++ LC_ALL=C | |
++ grep '\/usr\/local\/src\/centminmod\/tools\/autoprotect.sh' | |
++ crontab -l | |
+ [[ -z 11 */23 * * * /usr/local/src/centminmod/tools/autoprotect.sh 2>/dev/null ]] | |
+ centossix_crsetup | |
+ [[ ! -f /etc/yum.repos.d/CentOS-CR.repo ]] | |
+ [[ '' != [yY] ]] | |
+ wgetver_check | |
++ uname -m | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
++ LC_ALL=C | |
++ grep -q 1.19.4 | |
++ awk '{print $3}' | |
++ head -n1 | |
++ wget -V | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
+ [[ -f /usr/local/src/centminmod/addons/wget.sh ]] | |
+ [[ -f /usr/local/bin/pcretest ]] | |
++ LC_ALL=C | |
++ grep 'No UTF-8 support' | |
++ /usr/local/bin/pcretest -C | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ [[ -f /usr/local/src/centminmod/addons/wget.sh ]] | |
+ [[ -f /usr/local/bin/pcretest ]] | |
++ LC_ALL=C | |
++ grep 'No just-in-time compiler support' | |
++ /usr/local/bin/pcretest -C | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
++ uname -m | |
+ [[ x86_64 != \x\8\6\_\6\4 ]] | |
+ check_jemstatsfile | |
+ [[ ! -f /usr/bin/jemalloc-stats ]] | |
+ [[ -f /usr/bin/jemalloc.sh ]] | |
+ jemalloc_printstats | |
+ [[ ! -f /usr/bin/jemalloc-stats ]] | |
+ [[ -f /usr/bin/jemalloc.sh ]] | |
+ mkdir -p /root/tools | |
+ JEMSTATS_CFILE=/root/tools/ex_stats_print.c | |
+ JEMSTATS_FILE=/root/tools/ex_stats_print | |
+ cat | |
+ gcc /root/tools/ex_stats_print.c -o ex_stats_print -I/include -L/lib -Wl,-rpath,/lib -ljemalloc | |
+ '[' -f /root/tools/ex_stats_print ']' | |
+ nginx_mutexoff | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
++ LC_ALL=C | |
++ grep -q 'accept_mutex on' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
+ fixphpfpm_includes | |
+ '[' -d /usr/local/nginx/conf ']' | |
+ tee /root/centminlogs/fixphpfpm_includes_060318-181625.log | |
++ date +%d%m%y-%H%M%S | |
+ DT=060318-181628 | |
++ LC_ALL=C | |
++ find /usr/local/nginx/conf -type f -name '*.conf' | |
++ grep php | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpstatus.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpfpmd/phpfpm_pool3.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpfpmd/phpfpm_pool4.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpfpmd/phpfpm_pool2.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpfpmd/phpfpm_pool5.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpalt.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/phpalt.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php-pool4.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php-pool4.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php-pool3.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php-pool3.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php-wbuy.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php-wbuy.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php-pool2.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php-pool2.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/phpssl.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php-pool5.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php-pool5.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php.conf | |
+ [[ -n '' ]] | |
+ for pifinc in '$(find /usr/local/nginx/conf -type f -name "*.conf" | grep php)' | |
++ LC_ALL=C | |
++ grep 'shave 200+ ms' /usr/local/nginx/conf/php_wbuy2.conf | |
+ [[ -n # might shave 200+ ms off PHP requests ]] | |
++ LC_ALL=C | |
++ grep try_files /usr/local/nginx/conf/php_wbuy2.conf | |
+ [[ -n '' ]] | |
+ '[' -f /tmp/phpinc-restart-check ']' | |
+ '[' '!' -s /root/centminlogs/fixphpfpm_includes_060318-181625.log ']' | |
+ fixphpfpm_httpproxy | |
+ '[' -d /usr/local/nginx/conf ']' | |
+ tee /root/centminlogs/fixphpfpm_httpproxy_060318-181625.log | |
++ date +%d%m%y-%H%M%S | |
+ DT=060318-181628 | |
++ LC_ALL=C | |
++ egrep 'php|fastcgi_params' | |
++ find /usr/local/nginx/conf -type f -name '*.conf' -o -name fastcgi_params | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpstatus.conf | |
+ [[ -n '' ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpfpmd/phpfpm_pool3.conf | |
+ [[ -n '' ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpfpmd/phpfpm_pool4.conf | |
+ [[ -n '' ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpfpmd/phpfpm_pool2.conf | |
+ [[ -n '' ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpfpmd/phpfpm_pool5.conf | |
+ [[ -n '' ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpalt.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/phpalt.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php-pool4.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php-pool4.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php-pool3.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php-pool3.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php-wbuy.conf | |
+ [[ -n fastcgi_param HTTPS $server_https; | |
fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php-wbuy.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php-pool2.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php-pool2.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/phpssl.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/phpssl.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php-pool5.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php-pool5.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/php_wbuy2.conf | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/php_wbuy2.conf | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ for pif in '$(find /usr/local/nginx/conf -type f -name "*.conf" -o -name "fastcgi_params" | egrep '\''php|fastcgi_params'\'')' | |
++ LC_ALL=C | |
++ grep 'fastcgi_param HTTPS' /usr/local/nginx/conf/fastcgi_params | |
+ [[ -n fastcgi_param HTTPS $https if_not_empty; ]] | |
++ LC_ALL=C | |
++ grep HTTP_PROXY /usr/local/nginx/conf/fastcgi_params | |
+ [[ ! -n fastcgi_param HTTP_PROXY ""; ]] | |
+ '[' -f /tmp/phprestart-check ']' | |
+ '[' '!' -s /root/centminlogs/fixphpfpm_httpproxy_060318-181625.log ']' | |
+ fixlibmysqlclient_symlink | |
++ uname -m | |
+ '[' x86_64 == x86_64 ']' | |
+ FIXMDB_LIBDIR=lib64 | |
+ [[ ! -f /usr/lib64/libmysqlclient.so ]] | |
+ [[ ! -f /usr/lib64/libmysqlclient.so ]] | |
+ [[ ! -f /usr/lib64/libmysqlclient.so ]] | |
+ fixnodejs_epel | |
+ [[ -f /etc/yum.repos.d/epel.repo ]] | |
++ LC_ALL=C | |
++ grep nodejs | |
++ LC_ALL=C | |
++ grep '^exclude=' /etc/yum.repos.d/epel.repo | |
++ echo 0 | |
+ [[ 0 = \1 ]] | |
+ fixnginx_epel | |
+ [[ -f /etc/yum.repos.d/epel.repo ]] | |
++ LC_ALL=C | |
++ grep nginx | |
++ LC_ALL=C | |
++ grep '^exclude=' /etc/yum.repos.d/epel.repo | |
++ echo 0 | |
+ [[ 0 = \1 ]] | |
+ fixsclutils_epel | |
+ [[ -f /etc/yum.repos.d/epel.repo ]] | |
++ LC_ALL=C | |
++ grep scl-utils | |
++ LC_ALL=C | |
++ grep '^exclude=' /etc/yum.repos.d/epel.repo | |
++ echo 0 | |
+ [[ 0 = \1 ]] | |
+ nano_highlight | |
+ '[' -f /etc/nanorc ']' | |
++ LC_ALL=C | |
++ grep '^include' /etc/nanorc | |
+ [[ -z include "/usr/share/nano/nanorc.nanorc" | |
include "/usr/share/nano/c.nanorc" | |
include "/usr/share/nano/html.nanorc" | |
include "/usr/share/nano/tex.nanorc" | |
include "/usr/share/nano/mutt.nanorc" | |
include "/usr/share/nano/patch.nanorc" | |
include "/usr/share/nano/man.nanorc" | |
include "/usr/share/nano/groff.nanorc" | |
include "/usr/share/nano/perl.nanorc" | |
include "/usr/share/nano/python.nanorc" | |
include "/usr/share/nano/ruby.nanorc" | |
include "/usr/share/nano/java.nanorc" | |
include "/usr/share/nano/asm.nanorc" | |
include "/usr/share/nano/sh.nanorc" | |
include "/usr/share/nano/pov.nanorc" ]] | |
+ checkwoff | |
+ [[ -f /usr/local/nginx/conf/mime.types ]] | |
++ LC_ALL=C | |
++ grep woff2 /usr/local/nginx/conf/mime.types | |
+ [[ -z application/font-woff2 woff2; ]] | |
+ [[ -f /usr/local/nginx/conf/mime.types ]] | |
++ LC_ALL=C | |
++ grep otf /usr/local/nginx/conf/mime.types | |
+ [[ -z font/opentype otf; ]] | |
+ checkipvsix | |
+ [[ n = [yY] ]] | |
+ [[ n != [yY] ]] | |
+ [[ -d /etc/postfix ]] | |
++ LC_ALL=C | |
++ grep -w ipv4 | |
++ postconf -n inet_protocols | |
+ [[ -n '' ]] | |
++ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
+ [[ 0 -eq 1 ]] | |
++ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
+ [[ 0 -eq 0 ]] | |
+ DETECH_CHANGES=n | |
+ [[ n = [nN] ]] | |
++ LC_ALL=C | |
++ grep -w net.ipv6.conf.all.disable_ipv6 /etc/sysctl.conf | |
+ [[ ! -n net.ipv6.conf.all.disable_ipv6 = 0 ]] | |
+ [[ n = [yY] ]] | |
+ [[ n = [nN] ]] | |
++ LC_ALL=C | |
++ grep -w net.ipv6.conf.default.disable_ipv6 /etc/sysctl.conf | |
+ [[ ! -n net.ipv6.conf.default.disable_ipv6 = 0 ]] | |
+ [[ n = [yY] ]] | |
+ [[ -f /etc/csf/csf.conf ]] | |
+ [[ -f /etc/sysconfig/network ]] | |
++ LC_ALL=C | |
++ grep yes | |
++ awk -F = '/NETWORKING_IPV6/ {print $2}' /etc/sysconfig/network | |
++ echo 1 | |
+ [[ 1 = \0 ]] | |
+ [[ -f /etc/csf/csf.conf ]] | |
+ [[ -f /etc/sysconfig/network ]] | |
++ LC_ALL=C | |
++ grep yes | |
++ awk -F = '/NETWORKING_IPV6/ {print $2}' /etc/sysconfig/network | |
++ echo 1 | |
+ [[ 1 != \0 ]] | |
++ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
+ [[ 0 -eq 1 ]] | |
++ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 | |
+ [[ 0 -eq 0 ]] | |
++ cat /proc/sys/net/ipv6/conf/default/disable_ipv6 | |
+ [[ 0 -eq 0 ]] | |
+ sed -i 's|^IPV6 = .*|IPV6 = "1"|' /etc/csf/csf.conf | |
+ csf -r | |
+ NGINX_IPV=y | |
+ [[ '' -eq 7 ]] | |
+ [[ '' -eq 7 ]] | |
+ [[ n = [yY] ]] | |
+ fixwp_updater | |
+ '[' -d /root/tools ']' | |
++ find /root/tools/ -type f -name 'wp_updater_*' | |
+ update_nginxconf | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
+ [[ y = [yY] ]] | |
++ column -t | |
++ tr -s ' ' | |
++ sed -e 's|;||g' | |
++ LC_ALL=C | |
++ grep -w worker_connections /usr/local/nginx/conf/nginx.conf | |
++ awk '{print $2}' | |
+ NGX_WRKCON=2048 | |
++ column -t | |
++ tr -s ' ' | |
++ sed -e 's|;||g' | |
++ LC_ALL=C | |
++ grep -w keepalive_timeout /usr/local/nginx/conf/nginx.conf | |
++ awk '{print $2}' | |
+ NGX_KT=5 | |
+ [[ 2048 -eq 4096 ]] | |
+ [[ 2048 -eq 10000 ]] | |
+ [[ 5 -eq 8 ]] | |
+ update_cmdshortcuts | |
+ '[' -f /usr/bin/ngxstop ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/npstop | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/npstart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/npstart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/nprestart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/nprestart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/npreload ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/npreload | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/ngxstop ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/ngxstop | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/ngxstart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/ngxstart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/ngxrestart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/ngxrestart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/ngxreload ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/ngxreload | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/fpmstop ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/fpmstop | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/fpmstart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/fpmstart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/fpmrestart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/fpmrestart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/fpmreload ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/fpmreload | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/memcachedstop ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/memcachedstop | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/memcachedstart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/memcachedstart | |
+ [[ -n '' ]] | |
+ '[' -f /usr/bin/memcachedrestart ']' | |
++ LC_ALL=C | |
++ grep service /usr/bin/memcachedrestart | |
+ [[ -n '' ]] | |
+ [[ n != [yY] ]] | |
+ [[ ! -f /usr/bin/customconfig ]] | |
+ update_initphpfpm | |
+ [[ -f /etc/init.d/php-fpm ]] | |
++ LC_ALL=C | |
++ grep -qw configtest /etc/init.d/php-fpm | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
+ '[' '!' -f /usr/bin/fpmconfigtest ']' | |
+ update_phpfpmconfg | |
+ [[ -f /usr/local/etc/php-fpm.conf ]] | |
++ LC_ALL=C | |
++ grep -qw '\[global\]' /usr/local/etc/php-fpm.conf | |
++ echo 0 | |
+ [[ 0 != \0 ]] | |
+ cityfan_fix | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
++ LC_ALL=C | |
++ grep libtidy /etc/yum.repos.d/city-fan.org.repo | |
+ [[ ! -n excludes=libtidy libtidy-devel | |
excludes=libtidy libtidy-devel | |
excludes=libtidy libtidy-devel ]] | |
+ libc_fix | |
+ [[ '' -eq 7 ]] | |
+ [[ '' -eq 7 ]] | |
+ [[ '' -eq 7 ]] | |
+ varnishfour_setup | |
+ '[' -f /etc/yum.repos.d/varnish-4.1.repo ']' | |
+ '[' -f /etc/yum.repos.d/varnish-4.1.OLD ']' | |
+ '[' '!' -f /etc/yum.repos.d/varnishcache_varnish41.repo ']' | |
+ disablelogs | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
++ LC_ALL=C | |
++ grep 'access_log off' /usr/local/nginx/conf/nginx.conf | |
+ [[ -z access_log off; ]] | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
++ LC_ALL=C | |
++ grep '#error_log' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
+ nginxlargefile_fix | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
+ nginxfix_count=0 | |
++ LC_ALL=C | |
++ grep -w 'client_max_body_size 10m' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'client_max_body_size 50m' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'client_max_body_size 200m' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'output_buffers 8 256k;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'send_timeout 10s;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'send_timeout 15s;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'send_timeout 30s;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'client_body_timeout 10s;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ LC_ALL=C | |
++ grep -w 'client_header_timeout 5s;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
++ awk '{print $2}' | |
++ tail -1 | |
++ df -T /home | |
+ HOME_DISKTYPE=ext4 | |
++ LC_ALL=C | |
++ grep -w directio_alignment /usr/local/nginx/conf/nginx.conf | |
+ [[ ! -n '' ]] | |
+ [[ ext4 = \e\x\t\4 ]] | |
+ sed -i 's|^ directio 4m;| directio 4m;\n directio_alignment 512;|' /usr/local/nginx/conf/nginx.conf | |
+ nginxfix_count=1 | |
+ [[ ext4 = \e\x\t\4 ]] | |
++ LC_ALL=C | |
++ grep -w 'directio_alignment 4096;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
+ [[ y = [yY] ]] | |
++ awk '/client_max_body_size/ {print $2}' /usr/local/nginx/conf/nginx.conf | |
+ GET_CLIENTMAXBODY='64m;' | |
++ LC_ALL=C | |
++ grep m | |
++ echo '64m;' | |
+ [[ -n 64m; ]] | |
++ sed -e 's|m;||' | |
++ awk '/client_max_body_size/ {print $2}' /usr/local/nginx/conf/nginx.conf | |
+ GET_CLIENTMAXBODYSIZE=64 | |
+ CLIENTMAXBODYSIZEMB=64 | |
+ CLIENTMAXBODYSIZEKB=65536 | |
++ awk 'NR == 1 {print $1}' | |
++ sort -nr | |
++ find /home/nginx/domains/demodomain.com/public /home/nginx/domains/wbuy.pro/public -maxdepth 4 -size +64M -type f -printf '%s %p\n' | |
+ CHECKMAXFILESIZE_VHOSTS= | |
+ [[ '' -ge 1 ]] | |
+ [[ 1 -ge 1 ]] | |
+ service nginx restart | |
+ fix_phperrorlogperm | |
+ [[ -f /var/log/php-fpm/www-php.error.log ]] | |
++ LC_ALL=C | |
++ stat -c %a /var/log/php-fpm/www-php.error.log | |
++ grep -qo 666 | |
++ echo 0 | |
+ [[ 0 -ne 0 ]] | |
+ crontabdisable_r | |
++ LC_ALL=C | |
++ grep -w 'crontab \(\)' /root/.bashrc | |
+ [[ ! -n crontab () { [[ $@ =~ -[iel]*r ]] && echo r not allowed || command crontab "$@" ;} ]] | |
+ ngx_gzipbuffersfix | |
+ [[ -f /usr/local/nginx/conf/nginx.conf ]] | |
++ LC_ALL=C | |
++ grep -w 'gzip_buffers 32 8k;' /usr/local/nginx/conf/nginx.conf | |
+ [[ -n '' ]] | |
+ '[' '!' -f /etc/centminmod-release ']' | |
++ cat /etc/centminmod-release | |
+ [[ 123.09beta01.b016 != \1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6 ]] | |
+ '[' -f /etc/centminmod-versionlog ']' | |
++ cat /etc/centminmod-versionlog | |
+ [[ 123.09beta01.b016 != \1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\M\o\n\ \N\o\v\ \ \2\ \1\3\:\0\1\:\4\4\ \I\C\T\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\M\o\n\ \N\o\v\ \ \2\ \0\6\:\3\5\:\1\2\ \U\T\C\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\M\o\n\ \N\o\v\ \ \2\ \0\6\:\5\9\:\3\0\ \U\T\C\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\T\u\e\ \N\o\v\ \ \3\ \1\0\:\3\5\:\1\7\ \I\C\T\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\T\u\e\ \N\o\v\ \ \3\ \1\0\:\4\9\:\2\5\ \I\C\T\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\T\u\e\ \N\o\v\ \ \3\ \1\1\:\0\3\:\1\5\ \I\C\T\ \2\0\1\5\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\S\a\t\ \A\p\r\ \2\9\ \1\8\:\0\8\:\5\1\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\8\ \#\T\u\e\ \A\u\g\ \ \8\ \1\7\:\1\4\:\0\1\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\7\:\3\1\:\0\0\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\7\:\3\3\:\3\0\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\7\:\3\4\:\1\9\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\7\:\3\8\:\4\1\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\8\:\0\4\:\3\2\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\8\:\0\9\:\2\9\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\8\:\4\2\:\5\9\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\8\:\4\5\:\0\5\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \ \8\ \1\8\:\5\7\:\0\7\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\W\e\d\ \A\u\g\ \ \9\ \1\4\:\1\5\:\1\9\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\F\r\i\ \A\u\g\ \1\1\ \0\8\:\2\3\:\5\7\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\F\r\i\ \A\u\g\ \1\1\ \0\8\:\2\4\:\2\1\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\F\r\i\ \A\u\g\ \1\1\ \0\8\:\2\5\:\4\3\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \1\5\ \1\1\:\5\4\:\4\3\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\u\e\ \A\u\g\ \1\5\ \1\1\:\5\8\:\3\8\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\h\u\ \A\u\g\ \2\4\ \0\0\:\4\5\:\2\9\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\h\u\ \A\u\g\ \2\4\ \0\0\:\4\5\:\5\6\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\T\h\u\ \A\u\g\ \2\4\ \0\0\:\4\6\:\3\3\ \I\C\T\ \2\0\1\7\ | |
\1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\9\.\0\0\5\ \#\F\r\i\ \F\e\b\ \ \9\ \1\6\:\1\1\:\2\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \F\e\b\ \ \9\ \1\6\:\5\8\:\0\3\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \F\e\b\ \ \9\ \1\7\:\0\3\:\2\1\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \F\e\b\ \ \9\ \1\7\:\1\0\:\4\2\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \F\e\b\ \ \9\ \1\7\:\2\4\:\0\3\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \F\e\b\ \ \9\ \1\8\:\2\2\:\1\1\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\2\8\:\5\9\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\2\9\:\5\9\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\3\4\:\2\6\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\4\7\:\0\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\4\7\:\4\3\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\6\:\5\2\:\1\6\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\7\:\0\9\:\4\9\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\7\:\1\6\:\4\2\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\7\:\2\7\:\4\4\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\T\h\u\ \M\a\r\ \ \1\ \1\8\:\0\0\:\0\6\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \M\a\r\ \ \2\ \0\8\:\2\8\:\3\0\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\3\ \#\F\r\i\ \M\a\r\ \ \2\ \0\8\:\2\9\:\3\8\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\F\r\i\ \M\a\r\ \ \2\ \1\5\:\3\7\:\4\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\F\r\i\ \M\a\r\ \ \2\ \1\5\:\3\8\:\2\7\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\F\r\i\ \M\a\r\ \ \2\ \1\5\:\5\6\:\3\6\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\6\:\4\9\:\4\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\6\:\5\8\:\4\2\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\1\4\:\5\2\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\1\6\:\5\8\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\2\3\:\3\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\3\1\:\1\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\4\2\:\5\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\7\:\4\3\:\5\5\ \I\C\T\ \2\0\1\8\ | |
\1\2\3\.\0\9\b\e\t\a\0\1\.\b\0\1\6\ \#\T\u\e\ \M\a\r\ \ \6\ \1\8\:\1\0\:\0\6\ \I\C\T\ \2\0\1\8 ]] | |
++ date | |
+ echo '123.09beta01.b016 #Tue Mar 6 18:16:31 ICT 2018' | |
+ '[' '!' -f /usr/bin/cminfo_updater ']' | |
+ setupdate | |
+ cat | |
+ chmod 0700 /usr/bin/cminfo_updater | |
+ '[' '!' -f /usr/bin/crontab ']' | |
+ '[' '!' -f /usr/bin/sar ']' | |
++ crontab -l | |
++ LC_ALL=C | |
++ grep cminfo_updater | |
+ [[ -z 0 */4 * * * /usr/bin/cminfo_updater ]] | |
+ /usr/bin/cminfo_updater | |
+ '[' '!' -x /usr/bin/cminfo ']' | |
+ [[ y = [yY] ]] | |
+ TCMALLOC_PAGESIZE=32 | |
+ KEYPRESS_PARAM='-s -n1 -p' | |
+ ASKCMD='read -s -n1 -p ' | |
+ CUR_DIR=/usr/local/src/centminmod | |
+ CM_INSTALLDIR=/usr/local/src/centminmod | |
+ '[' -f /usr/local/src/centminmod/inc/custom_config.inc ']' | |
+ '[' -f /etc/centminmod/custom_config.inc ']' | |
+ source /etc/centminmod/custom_config.inc | |
++ NGXDYNAMIC_NJS=$'n\r' | |
++ NGXDYNAMIC_XSLT=$'y\r' | |
++ NGXDYNAMIC_PERL=$'n\r' | |
++ NGXDYNAMIC_IMAGEFILTER=$'y\r' | |
++ NGXDYNAMIC_GEOIP=$'n\r' | |
++ NGXDYNAMIC_STREAM=$'y\r' | |
++ NGXDYNAMIC_STREAMGEOIP=y | |
++ NGXDYNAMIC_STREAMREALIP=y | |
++ NGXDYNAMIC_HEADERSMORE=$'y\r' | |
++ NGXDYNAMIC_SETMISC=$'y\r' | |
++ NGXDYNAMIC_ECHO=$'y\r' | |
++ NGXDYNAMIC_LUA=n | |
++ NGXDYNAMIC_SRCCACHE=$'y\r' | |
++ NGXDYNAMIC_DEVELKIT=n | |
++ NGXDYNAMIC_MEMC=$'y\r' | |
++ NGXDYNAMIC_REDISTWO=$'n\r' | |
++ NGXDYNAMIC_NGXPAGESPEED=$'n\r' | |
++ NGXDYNAMIC_BROTLI=$'y\r' | |
++ NGXDYNAMIC_FANCYINDEX=$'y\r' | |
++ NGXDYNAMIC_HIDELENGTH=$'y\r' | |
++ $'\r' | |
/etc/centminmod/custom_config.inc: line 22: | |
: command not found | |
++ NGINX_LIBBROTLI=$'n\r' | |
++ NGINX_PAGESPEED=n | |
+ '[' -d '' ']' | |
+ '[' -f /usr/local/src/centminmod/inc/z_custom.inc ']' | |
+ [[ y = [yY] ]] | |
+ MARCH_TARGET=native | |
+ [[ n = [yY] ]] | |
++ uname -m | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
++ LC_ALL=C | |
++ grep -w exclude /etc/yum.conf | |
+ '[' '!' 'exclude=*.i386 *.i586 *.i686 nginx* php* mysql*' ']' | |
+ [[ '' = \7 ]] | |
+ YUMDNFBIN=yum | |
+ '[' -f /etc/yum.repos.d/rpmforge.repo ']' | |
+ DISABLEREPO_DNF=' --disablerepo=rpmforge' | |
+ '[' '!' -f /usr/bin/sar ']' | |
++ uname -m | |
+ [[ x86_64 = \x\8\6\_\6\4 ]] | |
+ SARCALL=/usr/lib64/sa/sa1 | |
+ [[ '' != \7 ]] | |
+ sed -i 's|10|5|g' /etc/cron.d/sysstat | |
+ service sysstat restart | |
+ chkconfig sysstat on | |
+ checkfor_lowmem | |
+ [[ '' = [yY] ]] | |
+ [[ '' = 7 ]] | |
+ [[ 6 = 6 ]] | |
+ DOWNLOADAPP=axel | |
+ WGETRETRY= | |
+ black='\E[30;40m' | |
+ red='\E[31;40m' | |
+ green='\E[32;40m' | |
+ yellow='\E[33;40m' | |
+ blue='\E[34;40m' | |
+ magenta='\E[35;40m' | |
+ cyan='\E[36;40m' | |
+ white='\E[37;40m' | |
+ boldblack='\E[1;30;40m' | |
+ boldred='\E[1;31;40m' | |
+ boldgreen='\E[1;32;40m' | |
+ boldyellow='\E[1;33;40m' | |
+ boldblue='\E[1;34;40m' | |
+ boldmagenta='\E[1;35;40m' | |
+ boldcyan='\E[1;36;40m' | |
+ boldwhite='\E[1;37;40m' | |
+ Reset='tput sgr0' | |
+ trap cleanup_msg SIGHUP SIGINT SIGTERM | |
+ [[ '' = \i\n\s\t\a\l\l ]] | |
+ [[ y = [yY] ]] | |
+ : | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' Centmin Mod Menu 123.09beta01 centminmod.com ' '\E[1;32;40m' | |
+ message=' Centmin Mod Menu 123.09beta01 centminmod.com ' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m Centmin Mod Menu 123.09beta01 centminmod.com ' | |
[1;32;40m Centmin Mod Menu 123.09beta01 centminmod.com | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '1). Centmin Install' '\E[1;32;40m' | |
+ message='1). Centmin Install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m1). Centmin Install' | |
[1;32;40m1). Centmin Install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '2). Add Nginx vhost domain' '\E[1;32;40m' | |
+ message='2). Add Nginx vhost domain' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m2). Add Nginx vhost domain' | |
[1;32;40m2). Add Nginx vhost domain | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '3). NSD setup domain name DNS' '\E[1;32;40m' | |
+ message='3). NSD setup domain name DNS' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m3). NSD setup domain name DNS' | |
[1;32;40m3). NSD setup domain name DNS | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '4). Nginx Upgrade / Downgrade' '\E[1;32;40m' | |
+ message='4). Nginx Upgrade / Downgrade' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m4). Nginx Upgrade / Downgrade' | |
[1;32;40m4). Nginx Upgrade / Downgrade | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '5). PHP Upgrade / Downgrade' '\E[1;32;40m' | |
+ message='5). PHP Upgrade / Downgrade' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m5). PHP Upgrade / Downgrade' | |
[1;32;40m5). PHP Upgrade / Downgrade | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '6). XCache Re-install' '\E[1;32;40m' | |
+ message='6). XCache Re-install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m6). XCache Re-install' | |
[1;32;40m6). XCache Re-install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '7). APC Cache Re-install' '\E[1;32;40m' | |
+ message='7). APC Cache Re-install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m7). APC Cache Re-install' | |
[1;32;40m7). APC Cache Re-install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '8). XCache Install' '\E[1;32;40m' | |
+ message='8). XCache Install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m8). XCache Install' | |
[1;32;40m8). XCache Install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '9). APC Cache Install' '\E[1;32;40m' | |
+ message='9). APC Cache Install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m9). APC Cache Install' | |
[1;32;40m9). APC Cache Install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '10). Memcached Server Re-install' '\E[1;32;40m' | |
+ message='10). Memcached Server Re-install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m10). Memcached Server Re-install' | |
[1;32;40m10). Memcached Server Re-install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '11). MariaDB MySQL Upgrade & Management' '\E[1;32;40m' | |
+ message='11). MariaDB MySQL Upgrade & Management' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m11). MariaDB MySQL Upgrade & Management' | |
[1;32;40m11). MariaDB MySQL Upgrade & Management | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '12). Zend OpCache Install/Re-install' '\E[1;32;40m' | |
+ message='12). Zend OpCache Install/Re-install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m12). Zend OpCache Install/Re-install' | |
[1;32;40m12). Zend OpCache Install/Re-install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '13). Install/Reinstall Redis PHP Extension' '\E[1;32;40m' | |
+ message='13). Install/Reinstall Redis PHP Extension' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m13). Install/Reinstall Redis PHP Extension' | |
[1;32;40m13). Install/Reinstall Redis PHP Extension | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '14). SELinux disable' '\E[1;32;40m' | |
+ message='14). SELinux disable' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m14). SELinux disable' | |
[1;32;40m14). SELinux disable | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '15). Install/Reinstall ImagicK PHP Extension' '\E[1;32;40m' | |
+ message='15). Install/Reinstall ImagicK PHP Extension' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m15). Install/Reinstall ImagicK PHP Extension' | |
[1;32;40m15). Install/Reinstall ImagicK PHP Extension | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '16). Change SSHD Port Number' '\E[1;32;40m' | |
+ message='16). Change SSHD Port Number' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m16). Change SSHD Port Number' | |
[1;32;40m16). Change SSHD Port Number | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '17). Multi-thread compression: pigz,pbzip2,lbzip2...' '\E[1;32;40m' | |
+ message='17). Multi-thread compression: pigz,pbzip2,lbzip2...' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m17). Multi-thread compression: pigz,pbzip2,lbzip2...' | |
[1;32;40m17). Multi-thread compression: pigz,pbzip2,lbzip2... | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '18). Suhosin PHP Extension install' '\E[1;32;40m' | |
+ message='18). Suhosin PHP Extension install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m18). Suhosin PHP Extension install' | |
[1;32;40m18). Suhosin PHP Extension install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '19). Install FFMPEG and FFMPEG PHP Extension' '\E[1;32;40m' | |
+ message='19). Install FFMPEG and FFMPEG PHP Extension' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m19). Install FFMPEG and FFMPEG PHP Extension' | |
[1;32;40m19). Install FFMPEG and FFMPEG PHP Extension | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '20). NSD Install/Re-Install' '\E[1;32;40m' | |
+ message='20). NSD Install/Re-Install' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m20). NSD Install/Re-Install' | |
[1;32;40m20). NSD Install/Re-Install | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '21). Update - Nginx + PHP-FPM + Siege' '\E[1;32;40m' | |
+ message='21). Update - Nginx + PHP-FPM + Siege' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m21). Update - Nginx + PHP-FPM + Siege' | |
[1;32;40m21). Update - Nginx + PHP-FPM + Siege | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '22). Add Wordpress Nginx vhost + Cache Plugin' '\E[1;32;40m' | |
+ message='22). Add Wordpress Nginx vhost + Cache Plugin' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m22). Add Wordpress Nginx vhost + Cache Plugin' | |
[1;32;40m22). Add Wordpress Nginx vhost + Cache Plugin | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '23). Update Centmin Mod Code Base' '\E[1;32;40m' | |
+ message='23). Update Centmin Mod Code Base' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m23). Update Centmin Mod Code Base' | |
[1;32;40m23). Update Centmin Mod Code Base | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho '24). Exit' '\E[1;32;40m' | |
+ message='24). Exit' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m24). Exit' | |
[1;32;40m24). Exit | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ read -ep 'Enter option [ 1 - 24 ] ' option | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ case "$option" in | |
+ CM_MENUOPT=24 | |
+ bookmark | |
+ echo '' | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho 'Please bookmark:' '\E[1;33;40m' | |
+ message='Please bookmark:' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40mPlease bookmark:' | |
[1;33;40mPlease bookmark: | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho -------------------------------------------------------- '\E[1;33;40m' | |
+ message=-------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m--------------------------------------------------------' | |
[1;33;40m-------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cat | |
############################################################### | |
* Getting Started Guide - http://centminmod.com/getstarted.html | |
* Find the latest Centmin Mod version - http://centminmod.com | |
* Centmin Mod FAQ - http://centminmod.com/faq.html | |
* Change Log - http://centminmod.com/changelog.html | |
* Google+ Page latest news http://centminmod.com/gpage | |
* Community Forums https://community.centminmod.com (signup) | |
############################################################### | |
# Cheap VPS Hosting at Digitalocean | |
# https://www.digitalocean.com/?refcode=c1cb367108e8 | |
############################################################### | |
+ [[ n != [yY] ]] | |
+ yumupdatechecker | |
+ [[ n != [yY] ]] | |
+ black='\E[30;40m' | |
+ red='\E[31;40m' | |
+ green='\E[32;40m' | |
+ yellow='\E[33;40m' | |
+ blue='\E[34;40m' | |
+ magenta='\E[35;40m' | |
+ cyan='\E[36;40m' | |
+ white='\E[37;40m' | |
+ boldblack='\E[1;30;40m' | |
+ boldred='\E[1;31;40m' | |
+ boldgreen='\E[1;32;40m' | |
+ boldyellow='\E[1;33;40m' | |
+ boldblue='\E[1;34;40m' | |
+ boldmagenta='\E[1;35;40m' | |
+ boldcyan='\E[1;36;40m' | |
+ boldwhite='\E[1;37;40m' | |
+ Reset='tput sgr0' | |
+ '[' -f /etc/yum/pluginconf.d/versionlock.conf ']' | |
+ VERSIONLOCK_REPO=,versionlock | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
+ [[ -f /usr/bin/php56 ]] | |
+ [[ -f /usr/bin/php70 ]] | |
+ [[ -f /usr/bin/php71 ]] | |
+ [[ -f /usr/bin/php72 ]] | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
+ YENABLEREPOS=remi,city-fan.org | |
+ YEXCLUDE='nginx* php* mysql*' | |
+ YYUM_PARAMETER=--disableplugin=priorities,versionlock | |
+ YYUM_UPDATEPARAMETER=--disableplugin=priorities | |
+ echo | |
+ echo ' checking for YUM updates... please wait...' | |
checking for YUM updates... please wait... | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
++ /usr/bin/yum --disableplugin=priorities,versionlock -e 0 -d 0 check-update --enablerepo=remi,city-fan.org '--exclude=nginx* php* mysql*' | |
++ echo 100 | |
+ UPDATE_CHECK=100 | |
+ [[ 100 = \1\0\0 ]] | |
+ echo | |
++ LC_ALL=C | |
++ grep -w 'Unknown host' | |
++ hostname -f | |
+ [[ -n '' ]] | |
++ hostname -f | |
+ SERVERHOSTNAME=hostname | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' New YUM Updates available for host hostname' '\E[1;33;40m' | |
+ message=' New YUM Updates available for host hostname' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m New YUM Updates available for host hostname' | |
[1;33;40m New YUM Updates available for host hostname | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' To list available YUM Updates type: ' '\E[1;33;40m' | |
+ message=' To list available YUM Updates type: ' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m To list available YUM Updates type: ' | |
[1;33;40m To list available YUM Updates type: | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
+ [[ -f /usr/bin/php56 ]] | |
+ [[ -f /usr/bin/php70 ]] | |
+ [[ -f /usr/bin/php71 ]] | |
+ [[ -f /usr/bin/php72 ]] | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ echo ' yum list updates --disableplugin=priorities,versionlock --enablerepo=remi,city-fan.org' | |
yum list updates --disableplugin=priorities,versionlock --enablerepo=remi,city-fan.org | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' Following Updates are available: ' '\E[1;33;40m' | |
+ message=' Following Updates are available: ' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m Following Updates are available: ' | |
[1;33;40m Following Updates are available: | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
+ [[ -f /usr/bin/php56 ]] | |
+ [[ -f /usr/bin/php70 ]] | |
+ [[ -f /usr/bin/php71 ]] | |
+ [[ -f /usr/bin/php72 ]] | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ tee /root/centminlogs/yumcheck-imagemagick6-060318-181625.txt | |
+ LC_ALL=C | |
+ grep -v 'Updated Packages' | |
+ yum -q list updates --disableplugin=priorities,versionlock --enablerepo=remi,city-fan.org | |
ConsoleKit.x86_64 0.4.1-6.el6 base | |
ConsoleKit-libs.x86_64 0.4.1-6.el6 base | |
GConf2.x86_64 2.28.0-7.el6 base | |
GeoIP.x86_64 1.6.12-3.0.cf.rhel6 city-fan.org | |
GeoIP-GeoLite-data.noarch 2018.02-1.el6 city-fan.org | |
GeoIP-GeoLite-data-extra.noarch 2018.02-1.el6 city-fan.org | |
GeoIP-devel.x86_64 1.6.12-3.0.cf.rhel6 city-fan.org | |
MariaDB-client.x86_64 10.1.31-1.el6 mariadb | |
MariaDB-common.x86_64 10.1.31-1.el6 mariadb | |
MariaDB-compat.x86_64 10.1.31-1.el6 mariadb | |
MariaDB-devel.x86_64 10.1.31-1.el6 mariadb | |
MariaDB-server.x86_64 10.1.31-1.el6 mariadb | |
MariaDB-shared.x86_64 10.1.31-1.el6 mariadb | |
ORBit2.x86_64 2.14.17-6.el6_8 base | |
acl.x86_64 2.2.49-7.el6_9.1 updates | |
acpid.x86_64 1.0.10-3.el6 base | |
alsa-lib.x86_64 1.1.0-4.el6 base | |
apr.x86_64 1.3.9-5.el6_9.1 updates | |
at.x86_64 3.1.10-49.el6 base | |
avahi-libs.x86_64 0.6.25-17.el6 base | |
bash.x86_64 4.1.2-48.el6 base | |
bind-libs.x86_64 32:9.8.2-0.62.rc1.el6_9.5 updates | |
bind-utils.x86_64 32:9.8.2-0.62.rc1.el6_9.5 updates | |
binutils.x86_64 2.20.51.0.2-5.47.el6_9.1 updates | |
bluez-libs.x86_64 4.66-2.el6_9 updates | |
bluez-libs-devel.x86_64 4.66-2.el6_9 updates | |
ca-certificates.noarch 2017.2.14-65.0.1.el6_9 updates | |
centos-release.x86_64 6-9.el6.12.3 base | |
chkconfig.x86_64 1.3.49.5-1.el6 base | |
city-fan.org-release.noarch 2-1.rhel6 city-fan.org | |
cmake28.x86_64 2.8.12.2-2.el6 epel | |
coreutils.x86_64 8.4-46.el6 base | |
coreutils-libs.x86_64 8.4-46.el6 base | |
cpio.x86_64 2.10-13.el6 base | |
cpp.x86_64 4.4.7-18.el6 base | |
cronie.x86_64 1.4.4-16.el6_8.2 base | |
cronie-anacron.x86_64 1.4.4-16.el6_8.2 base | |
cups-libs.x86_64 1:1.4.2-78.el6_9 updates | |
curl.x86_64 7.58.0-7.0.cf.rhel6 city-fan.org | |
cyrus-imapd.x86_64 2.3.16-15.el6 base | |
cyrus-imapd-utils.x86_64 2.3.16-15.el6 base | |
db4.x86_64 4.7.25-22.el6 base | |
db4-cxx.x86_64 4.7.25-22.el6 base | |
db4-devel.x86_64 4.7.25-22.el6 base | |
db4-utils.x86_64 4.7.25-22.el6 base | |
devtoolset-6-binutils.x86_64 2.27-10.el6.1 centos-sclo-rh | |
devtoolset-7-binutils.x86_64 2.28-9.el6.1 centos-sclo-rh | |
dhclient.x86_64 12:4.1.1-53.P1.el6.centos.1 updates | |
dhcp-common.x86_64 12:4.1.1-53.P1.el6.centos.1 updates | |
dracut.noarch 004-409.el6_8.2 base | |
dracut-kernel.noarch 004-409.el6_8.2 base | |
e2fsprogs.x86_64 1.41.12-23.el6 base | |
e2fsprogs-devel.x86_64 1.41.12-23.el6 base | |
e2fsprogs-libs.x86_64 1.41.12-23.el6 base | |
efibootmgr.x86_64 0.5.4-15.el6 base | |
elfutils-devel.x86_64 0.164-2.el6 base | |
elfutils-libelf.x86_64 0.164-2.el6 base | |
elfutils-libelf-devel.x86_64 0.164-2.el6 base | |
elfutils-libs.x86_64 0.164-2.el6 base | |
expat.x86_64 2.0.1-13.el6_8 base | |
file.x86_64 5.04-30.el6 base | |
file-devel.x86_64 5.04-30.el6 base | |
file-libs.x86_64 5.04-30.el6 base | |
findutils.x86_64 1:4.4.2-9.el6 base | |
freetype.x86_64 2.3.11-17.el6 base | |
freetype-devel.x86_64 2.3.11-17.el6 base | |
galera.x86_64 25.3.22-1.rhel6.el6 mariadb | |
gawk.x86_64 3.1.7-10.el6_7.3 base | |
gcc.x86_64 4.4.7-18.el6 base | |
gcc-c++.x86_64 4.4.7-18.el6 base | |
gdbm.x86_64 1.8.0-39.el6 base | |
gdbm-devel.x86_64 1.8.0-39.el6 base | |
geoipupdate.x86_64 2.5.0-2.el6 city-fan.org | |
ghostscript.x86_64 8.70-23.el6_9.2 updates | |
ghostscript-devel.x86_64 8.70-23.el6_9.2 updates | |
glib2.x86_64 2.28.8-9.el6 base | |
glib2-devel.x86_64 2.28.8-9.el6 base | |
glibc.x86_64 2.12-1.209.el6_9.2 updates | |
glibc-common.x86_64 2.12-1.209.el6_9.2 updates | |
glibc-devel.x86_64 2.12-1.209.el6_9.2 updates | |
glibc-headers.x86_64 2.12-1.209.el6_9.2 updates | |
gmp.x86_64 4.3.1-12.el6 base | |
gmp-devel.x86_64 4.3.1-12.el6 base | |
gnutls.x86_64 2.12.23-21.el6 base | |
grep.x86_64 2.20-6.el6 base | |
grub.x86_64 1:0.97-99.el6 base | |
gtk2.x86_64 2.24.23-9.el6 base | |
gzip.x86_64 1.3.12-24.el6 base | |
hwdata.noarch 0.233-18.1.el6 base | |
initscripts.x86_64 9.03.58-1.el6.centos.2 updates | |
iotop.noarch 0.3.2-9.el6 base | |
iproute.x86_64 2.6.32-54.el6 base | |
iputils.x86_64 20071127-24.el6 base | |
jasper-devel.x86_64 1.900.1-21.el6_9 updates | |
jasper-libs.x86_64 1.900.1-21.el6_9 updates | |
jpegoptim.x86_64 1.4.4-1.el6 epel | |
kernel.x86_64 2.6.32-696.20.1.el6 updates | |
kernel-devel.x86_64 2.6.32-696.20.1.el6 updates | |
kernel-firmware.noarch 2.6.32-696.20.1.el6 updates | |
kernel-headers.x86_64 2.6.32-696.20.1.el6 updates | |
krb5-devel.x86_64 1.10.3-65.el6 base | |
krb5-libs.x86_64 1.10.3-65.el6 base | |
lcms2.x86_64 2.8-2.el6 epel | |
lcms2-devel.x86_64 2.8-2.el6 epel | |
libX11.x86_64 1.6.4-3.el6 base | |
libX11-common.noarch 1.6.4-3.el6 base | |
libX11-devel.x86_64 1.6.4-3.el6 base | |
libXext.x86_64 1.3.3-1.el6 base | |
libXext-devel.x86_64 1.3.3-1.el6 base | |
libXfixes.x86_64 5.0.3-1.el6 base | |
libXfixes-devel.x86_64 5.0.3-1.el6 base | |
libXfont.x86_64 1.5.1-2.el6 base | |
libXft.x86_64 2.3.2-1.el6 base | |
libXft-devel.x86_64 2.3.2-1.el6 base | |
libXi.x86_64 1.7.8-1.el6 base | |
libXrandr.x86_64 1.5.1-1.el6 base | |
libXrender.x86_64 0.9.10-1.el6 base | |
libXrender-devel.x86_64 0.9.10-1.el6 base | |
libXtst.x86_64 1.2.3-1.el6 base | |
libacl.x86_64 2.2.49-7.el6_9.1 updates | |
libarchive.x86_64 2.8.3-7.el6_8 base | |
libblkid.x86_64 2.17.2-12.28.el6_9.2 updates | |
libcgroup.x86_64 0.40.rc1-24.el6_9 updates | |
libcom_err.x86_64 1.41.12-23.el6 base | |
libcom_err-devel.x86_64 1.41.12-23.el6 base | |
libcurl.x86_64 7.58.0-7.0.cf.rhel6 city-fan.org | |
libcurl-devel.x86_64 7.58.0-7.0.cf.rhel6 city-fan.org | |
libdrm.x86_64 2.4.65-2.el6 base | |
libdrm-devel.x86_64 2.4.65-2.el6 base | |
libfontenc.x86_64 1.1.2-3.el6 base | |
libgcc.x86_64 4.4.7-18.el6 base | |
libgcj.x86_64 4.4.7-18.el6 base | |
libgcrypt.x86_64 1.4.6-4.2.cf.rhel6 city-fan.org | |
libgcrypt-devel.x86_64 1.4.6-4.2.cf.rhel6 city-fan.org | |
libgomp.x86_64 4.4.7-18.el6 base | |
libgpg-error.x86_64 1.27-5.0.cf.rhel6 city-fan.org | |
libgpg-error-devel.x86_64 1.27-5.0.cf.rhel6 city-fan.org | |
libicu.x86_64 4.2.1-14.el6 base | |
libicu-devel.x86_64 4.2.1-14.el6 base | |
libidn.x86_64 1.33-6.0.el6 city-fan.org | |
libidn-devel.x86_64 1.33-6.0.el6 city-fan.org | |
libimagequant.x86_64 2.5.2-5.el6 epel | |
libpciaccess.x86_64 0.13.4-1.el6 base | |
libpng.x86_64 2:1.2.49-2.el6_7 base | |
libpng-devel.x86_64 2:1.2.49-2.el6_7 base | |
libss.x86_64 1.41.12-23.el6 base | |
libssh2.x86_64 1.8.0-7.0.cf.rhel6 city-fan.org | |
libstdc++.x86_64 4.4.7-18.el6 base | |
libstdc++-devel.x86_64 4.4.7-18.el6 base | |
libtidy.x86_64 0.99.0-34.20091203.0.el6 city-fan.org | |
libtidy-devel.x86_64 0.99.0-34.20091203.0.el6 city-fan.org | |
libtiff.x86_64 3.9.4-21.el6_8 base | |
libtiff-devel.x86_64 3.9.4-21.el6_8 base | |
libuuid.x86_64 2.17.2-12.28.el6_9.2 updates | |
libxcb.x86_64 1.12-4.el6 base | |
libxcb-devel.x86_64 1.12-4.el6 base | |
libxml2.x86_64 2.9.7-4.0.cf.rhel6 city-fan.org | |
libxml2-devel.x86_64 2.9.7-4.0.cf.rhel6 city-fan.org | |
libxslt.x86_64 1.1.32-2.0.cf.rhel6 city-fan.org | |
libxslt-devel.x86_64 1.1.32-2.0.cf.rhel6 city-fan.org | |
logrotate.x86_64 3.7.8-28.el6 base | |
make.x86_64 1:3.81-23.el6 base | |
man.x86_64 1.6f-39.el6 base | |
mesa-dri-drivers.x86_64 11.0.7-4.el6 base | |
mesa-dri-filesystem.x86_64 11.0.7-4.el6 base | |
mesa-libGL.x86_64 11.0.7-4.el6 base | |
mesa-libGL-devel.x86_64 11.0.7-4.el6 base | |
mesa-libGLU.x86_64 11.0.7-4.el6 base | |
mesa-libGLU-devel.x86_64 11.0.7-4.el6 base | |
mesa-private-llvm.x86_64 3.6.2-1.el6 base | |
module-init-tools.x86_64 3.9-26.el6 base | |
net-snmp.x86_64 1:5.5-60.el6 base | |
net-snmp-devel.x86_64 1:5.5-60.el6 base | |
net-snmp-libs.x86_64 1:5.5-60.el6 base | |
net-snmp-utils.x86_64 1:5.5-60.el6 base | |
net-tools.x86_64 1.60-114.el6 base | |
nettle.x86_64 3.2-2.el6 epel | |
newt.x86_64 0.52.11-4.el6 base | |
newt-python.x86_64 0.52.11-4.el6 base | |
nss-softokn.x86_64 3.14.3-23.3.el6_8 base | |
nss-softokn-freebl.x86_64 3.14.3-23.3.el6_8 base | |
ntp.x86_64 4.2.6p5-12.el6.centos.2 updates | |
ntpdate.x86_64 4.2.6p5-12.el6.centos.2 updates | |
openldap.x86_64 2.4.40-16.el6 base | |
openldap-devel.x86_64 2.4.40-16.el6 base | |
openssh.x86_64 5.3p1-123.el6_9 updates | |
openssh-clients.x86_64 5.3p1-123.el6_9 updates | |
openssh-server.x86_64 5.3p1-123.el6_9 updates | |
optipng.x86_64 0.7.6-1.el6 epel | |
pam.x86_64 1.1.1-24.el6 base | |
pam-devel.x86_64 1.1.1-24.el6 base | |
pango.x86_64 1.28.1-11.el6 base | |
passwd.x86_64 0.77-7.el6 base | |
pbzip2.x86_64 1.1.12-1.el6 epel | |
perl-Carp-Clan.noarch 6.06-2.rhel6 city-fan.org | |
perl-Compress-Raw-Zlib.x86_64 1:2.076-1.rhel6 city-fan.org | |
perl-DBI.x86_64 1.640-1.rhel6 city-fan.org | |
perl-Date-Calc.noarch 6.3-3.el6 base | |
perl-Error.noarch 1:0.17025-1.rhel6 city-fan.org | |
perl-ExtUtils-ParseXS.noarch 1:3.35-1.rhel6 city-fan.org | |
perl-Module-Pluggable.noarch 2:5.2-3.rhel6 city-fan.org | |
perl-Net-SSLeay.x86_64 1.84-1.0.cf.rhel6 city-fan.org | |
perl-Pod-Escapes.noarch 1:1.07-365.rhel6 city-fan.org | |
perl-Pod-Simple.noarch 1:3.35-1.rhel6 city-fan.org | |
perl-Test-Harness.noarch 1:3.41-1.rhel6 city-fan.org | |
perl-Test-Simple.noarch 1:1.302125-1.rhel6 city-fan.org | |
perl-libwww-perl.noarch 5.833-5.el6 base | |
perl-version.x86_64 5:0.99.18-1.rhel6 city-fan.org | |
pigz.x86_64 2.3.4-1.el6 epel | |
pixman.x86_64 0.32.8-1.el6 base | |
plymouth.x86_64 0.8.3-29.el6.centos base | |
plymouth-core-libs.x86_64 0.8.3-29.el6.centos base | |
plymouth-scripts.x86_64 0.8.3-29.el6.centos base | |
pngquant.x86_64 2.5.2-5.el6 epel | |
postfix.x86_64 2:2.6.6-8.el6 base | |
postfix-perl-scripts.x86_64 2:2.6.6-8.el6 base | |
postgresql-libs.x86_64 8.4.20-8.el6_9 updates | |
procps.x86_64 3.2.8-45.el6_9.1 updates | |
psmisc.x86_64 22.6-24.el6 base | |
python.x86_64 2.6.6-66.el6_8 base | |
python-libs.x86_64 2.6.6-66.el6_8 base | |
python-pycurl.x86_64 7.19.0-9.el6 base | |
python-setuptools.noarch 0.6.10-4el6_9 updates | |
remi-release.noarch 6.9-2.el6.remi remi | |
rpm.x86_64 4.8.0-55.el6 base | |
rpm-devel.x86_64 4.8.0-55.el6 base | |
rpm-libs.x86_64 4.8.0-55.el6 base | |
rpm-python.x86_64 4.8.0-55.el6 base | |
rrdtool.x86_64 1.3.8-10.el6 base | |
scl-utils.x86_64 20120927-29.el6_9 updates | |
screen.x86_64 4.0.3-19.el6 base | |
selinux-policy.noarch 3.7.19-307el6_9.3 updates | |
selinux-policy-targeted.noarch 3.7.19-307el6_9.3 updates | |
setup.noarch 2.8.14-23.el6 base | |
shadow-utils.x86_64 2:4.1.5.1-5.el6 base | |
strace.x86_64 4.8-11.el6 base | |
sudo.x86_64 1.8.6p3-29.el6_9 updates | |
sysstat.x86_64 9.0.4-33el6_9.1 updates | |
tar.x86_64 2:1.23-15.el6_8 base | |
tcp_wrappers-devel.x86_64 7.6-58.el6 base | |
tcp_wrappers-libs.x86_64 7.6-58.el6 base | |
tzdata.noarch 2018c-1.el6 updates | |
udev.x86_64 147-2.73.el6_8.2 base | |
upstart.x86_64 0.6.5-16.el6 base | |
urw-fonts.noarch 2.4-11.el6 base | |
util-linux-ng.x86_64 2.17.2-12.28.el6_9.2 updates | |
varnish.x86_64 4.1.9-1.el6 varnishcache_varnish41 | |
varnish-release.noarch 4.1-4.el6 varnishcache_varnish41 | |
vim-common.x86_64 2:7.4.629-5.el6_8.1 base | |
vim-enhanced.x86_64 2:7.4.629-5.el6_8.1 base | |
vim-filesystem.x86_64 2:7.4.629-5.el6_8.1 base | |
vim-minimal.x86_64 2:7.4.629-5.el6_8.1 base | |
xorg-x11-drv-ati-firmware.noarch 7.6.1-3.el6_9 updates | |
xorg-x11-proto-devel.noarch 7.7-14.el6 base | |
xz.x86_64 5.0.3-2.0.cf.el6 city-fan.org | |
xz-libs.x86_64 5.0.3-2.0.cf.el6 city-fan.org | |
xz-lzma-compat.x86_64 5.0.3-2.0.cf.el6 city-fan.org | |
yum-plugin-fastestmirror.noarch 1.1.30-40.el6 base | |
yum-plugin-priorities.noarch 1.1.30-40.el6 base | |
yum-plugin-security.noarch 1.1.30-40.el6 base | |
yum-utils.noarch 1.1.30-40.el6 base | |
zip.x86_64 3.0-1.el6_7.1 base | |
++ LC_ALL=C | |
++ grep ImageMagick6 /root/centminlogs/yumcheck-imagemagick6-060318-181625.txt | |
++ echo 1 | |
+ IMAGEMAGICK_UPDATECHECK=1 | |
+ rm -rf /root/centminlogs/yumcheck-imagemagick6-060318-181625.txt | |
+ echo | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' To update type these commands: ' '\E[1;33;40m' | |
+ message=' To update type these commands: ' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m To update type these commands: ' | |
[1;33;40m To update type these commands: | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ [[ -f /etc/yum.repos.d/city-fan.org.repo ]] | |
+ [[ -f /usr/bin/php56 ]] | |
+ [[ -f /usr/bin/php70 ]] | |
+ [[ -f /usr/bin/php71 ]] | |
+ [[ -f /usr/bin/php72 ]] | |
+ [[ -f /etc/yum.repos.d/remi.repo ]] | |
+ '[' 1 -eq 0 ']' | |
+ echo ' yum update --disableplugin=priorities --enablerepo=remi,city-fan.org' | |
yum update --disableplugin=priorities --enablerepo=remi,city-fan.org | |
+ echo | |
+ ngxver_checker | |
++ which nginx | |
++ echo 0 | |
+ [[ 0 = \0 ]] | |
++ LC_ALL=C | |
++ egrep -o 'nginx\-[0-9.]+\.tar[.a-z]*' | |
++ curl -4sL https://nginx.org/en/download.html | |
++ awk -F nginx- '/.tar.gz$/ {print $2}' | |
++ sed -e 's|.tar.gz||g' | |
++ head -n 1 | |
+ LASTEST_NGINXVERS=1.13.9 | |
++ awk -F / '{print $2}' | |
++ nginx -v | |
+ CURRENT_NGINXVERS=1.13.9 | |
+ [[ 1.13.9 != \1\.\1\3\.\9 ]] | |
+ gitenv_askupdate | |
++ date +%d%m%y-%H%M%S | |
+ DT=060318-181654 | |
+ tee /root/centminlogs/centminmod_123.09beta01.b016_060318-181654_git_updatecur_branch.log | |
+ [[ -d /usr/local/src/centminmod/.git ]] | |
++ sed -e 's|\.||g' | |
++ cut -c1,2 | |
++ awk '{print $3}' | |
++ git --version | |
+ GET_GITVER=17 | |
++ curl -s4 https://raw.githubusercontent.com/centminmod/centminmod/123.09beta01/giturl.txt | |
++ echo 0 | |
+ CURL_GITURLCHECKER=0 | |
+ [[ 0 = \0 ]] | |
++ curl -s4 https://raw.githubusercontent.com/centminmod/centminmod/123.09beta01/giturl.txt | |
+ CURL_GITURL=https://github.com/centminmod/centminmod.git | |
+ [[ 17 -ge 18 ]] | |
++ cd /usr/local/src/centminmod | |
++ head -n1 | |
++ awk '/\(fetch/ {print $2}' | |
++ git remote -v | |
+ GET_GITREMOTEURL=https://github.com/centminmod/centminmod.git | |
+ [[ https://github.com/centminmod/centminmod.git != \h\t\t\p\s\:\/\/\g\i\t\h\u\b\.\c\o\m\/\c\e\n\t\m\i\n\m\o\d\/\c\e\n\t\m\i\n\m\o\d\.\g\i\t ]] | |
+ pushd /usr/local/src/centminmod | |
+ git fetch | |
+ popd | |
++ cd /usr/local/src/centminmod | |
++ git rev-parse HEAD | |
++ cd /usr/local/src/centminmod | |
++ git rev-parse '@{u}' | |
+ [[ 0c7ed71d71df555b9219a909d9555e2cec7dea6a != \0\c\7\e\d\7\1\d\7\1\d\f\5\5\5\b\9\2\1\9\a\9\0\9\d\9\5\5\5\e\2\c\e\c\7\d\e\a\6\a ]] | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' Centmin Mod local code is up to date at /usr/local/src/centminmod' '\E[1;33;40m' | |
+ message=' Centmin Mod local code is up to date at /usr/local/src/centminmod' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m Centmin Mod local code is up to date at /usr/local/src/centminmod' | |
[1;33;40m Centmin Mod local code is up to date at /usr/local/src/centminmod | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ' no available updates at this time...' '\E[1;33;40m' | |
+ message=' no available updates at this time...' | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m no available updates at this time...' | |
[1;33;40m no available updates at this time... | |
+ tput sgr0 | |
(B[m+ return | |
+ cecho ------------------------------------------------------------- '\E[1;32;40m' | |
+ message=------------------------------------------------------------- | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40m-------------------------------------------------------------' | |
[1;32;40m------------------------------------------------------------- | |
+ tput sgr0 | |
(B[m+ return | |
+ break | |
+ exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment