Skip to content

Instantly share code, notes, and snippets.

@jackton
Created January 22, 2017 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackton/974b2601c6b48697f11f18b0809cd79a to your computer and use it in GitHub Desktop.
Save jackton/974b2601c6b48697f11f18b0809cd79a to your computer and use it in GitHub Desktop.
update ccache version... one time task
download ccache 3.3.2
tar (child): ccache-3.3.2.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Do you want to run YUM install checks ? [y/n]
This will increase your upgrade duration time wise.
Check the change log centminmod.com/changelog.html
to see if any Nginx or PHP related new additions
which require checking YUM prequisites are met.
If no new additions made, you can skip the
YUM install check to speed up upgrade time.
[y/n]: **********************************************************************
(B* Nginx Update script - Included in Centmin Extras
(B* Version: 1.2.3-eva2000.09.001 - Date: 30/04/2016 - Copyright 2011-2016 CentminMod.com
(B**********************************************************************
(B
This software comes with no warranty of any kind. You are free to use
(Bit for both personal and commercial use as licensed under the GPL.
(B
Nginx Upgrade - Would you like to continue? [y/n] y
Install which version of Nginx? (version i.e. type 1.11.8): 1.11.8
_ _ _ _ _
| \ | | __ _ (_) _ __ __ __ / \ _ _ | |_ ___
| \| | / _` || || '_ \ \ \/ / / _ \ | | | || __|/ _ \
| |\ || (_| || || | | | > < / ___ \| |_| || |_| (_) |
|_| \_| \__, ||_||_| |_|/_/\_\ /_/ \_\\__,_| \__|\___/
|___/
____ _ ____ __
| __ ) __ _ ___ | | __ _ _ _ __ / ___| ___ _ __ / _|
| _ \ / _` | / __|| |/ /| | | || '_ \ | | / _ \ | '_ \ | |_
| |_) || (_| || (__ | < | |_| || |_) | | |___| (_) || | | || _|
|____/ \__,_| \___||_|\_\ \__,_|| .__/ \____|\___/ |_| |_||_|
|_|
____ _ _ _
| _ \ (_) _ __ ___ ___ | |_ ___ _ __ (_) ___ ___
| | | || || '__|/ _ \ / __|| __|/ _ \ | '__|| | / _ \/ __|
| |_| || || | | __/| (__ | |_| (_) || | | || __/\__ \
|____/ |_||_| \___| \___| \__|\___/ |_| |_| \___||___/
backup NGINX CONF...
backup NGINX Install Directory /usr/local/nginx...
---------------------------------------------------------------------------------
backup of Nginx Install Directory /usr/local/nginx located at /usr/local/nginxbackup/nginxdirbackup/nginx_220117-173343
---------------------------------------------------------------------------------
backup of Nginx CONF located at /usr/local/nginxbackup/confbackup/conf_220117-173343
---------------------------------------------------------------------------------
total 392K
-rw-r--r-- 1 root root 623 Jun 2 2015 uwsgi_params
-rw-r--r-- 1 root root 596 Jun 2 2015 scgi_params
-rw-r--r-- 1 root root 4.4K Jun 2 2015 block.conf
-rw-r--r-- 1 root root 1.2K Jun 2 2015 errorpage.conf
-rw-r--r-- 1 root root 140 Jun 2 2015 fastcgi_param_https_map.conf
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-165932
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-150627
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-134313
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-132007
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-131056
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-120103
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_220117-113113
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf_141216-102441
-rw-r--r-- 1 root root 5.5K Jun 2 2015 pagespeed.conf
-rw-r--r-- 1 root root 362 Jun 2 2015 phpstatus.conf
-rw-r--r-- 1 root root 2.4K Jun 2 2015 pscontrol
-rw-r--r-- 1 root root 789 Jun 2 2015 proxy.conf
-rw-r--r-- 1 root root 1.1K Jun 2 2015 staticfiles.conf
-rw-r--r-- 1 root root 292 Jun 2 2015 vts_mainserver.conf
-rw-r--r-- 1 root root 888 Jun 2 2015 wpffpc.conf
-rw-r--r-- 1 root root 0 Jun 2 2015 htpasswd
-rw-r--r-- 1 root root 4.0K Jun 2 2015 htpasswd.py
-rw-r--r-- 1 root root 46 Jun 2 2015 htpasswd_opcache
-rw-r--r-- 1 root root 204 Jun 2 2015 include_opcache.conf
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-165932
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-150627
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-134313
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-132007
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-131056
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-120103
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_220117-113113
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf_141216-102441
-rw-r--r-- 1 root root 692 Jun 9 2015 pagespeedhandler.conf
-rw-r--r-- 1 root root 1.5K Jun 9 2015 pagespeedadmin.conf
-rw-r--r-- 1 root root 26 Jun 19 2015 vts_http.conf
-rw-r--r-- 1 root root 24 Jun 19 2015 vts_server.conf
-rw-r--r-- 1 root root 1.1K Jun 19 2015 fastcgi.conf
-rw-r--r-- 1 root root 2.5K Jun 21 2015 wpcache.conf
drwxr-xr-x 2 root root 4.0K Jul 9 2015 phpfpmd
-rw-r--r-- 1 root root 107 Aug 11 2015 ssl_include.conf
-rw-r--r-- 1 root root 6.6K Aug 27 2015 p_pg.conf
-rw-r--r-- 1 root root 131 Aug 27 2015 pagespeedstatslog.conf
-rw-r--r-- 1 root root 6.5K Sep 10 2015 p_huahua.conf
-rw-r--r-- 1 root root 7.3K Sep 16 2015 p_baba.conf
-rw-r--r-- 1 root root 496 Sep 24 2015 drop.conf
-rw-r--r-- 1 root root 6.6K Jan 4 2016 p_cloud.conf
-rw-r--r-- 1 root root 645 Feb 20 2016 maintenance.conf
-rw-r--r-- 1 root root 361 Feb 20 2016 503include-main.conf
-rw-r--r-- 1 root root 37 Feb 20 2016 503include-only.conf
-rw-r--r-- 1 root root 284 Feb 21 2016 geoip.conf
-rw-r--r-- 1 root root 10 Feb 21 2016 sitestatus.conf
-rw-r--r-- 1 root root 3.3K Jul 20 2016 php-pool3.conf
-rw-r--r-- 1 root root 3.7K Jul 20 2016 ziyphp.conf
-rw-r--r-- 1 root root 2.6K Jul 20 2016 phpalt.conf
-rw-r--r-- 1 root root 1.3K Jul 20 2016 fastcgi_params
-rw-r--r-- 1 root root 3.3K Jul 20 2016 php-pool4.conf
-rw-r--r-- 1 root root 3.3K Jul 20 2016 php-pool2.conf
-rw-r--r-- 1 root root 3.3K Jul 20 2016 php-pool5.conf
-rw-r--r-- 1 root root 3.3K Jul 20 2016 phpp.conf
-rw-r--r-- 1 root root 2.3K Jul 20 2016 phpssl.conf
-rw-r--r-- 1 root root 3.3K Jul 20 2016 yiiphp.conf
-rw-r--r-- 1 root root 3.3K Jul 21 2016 php.conf-oldversion_210716-102647
-rw-r--r-- 1 root root 4.2K Nov 17 12:51 mime.types
-rw-r--r-- 1 root root 3.3K Nov 17 16:00 php.conf-oldversion_171116-155225
-rw-r--r-- 1 root root 8.1K Dec 14 10:20 p_ziy.conf
drwxr-xr-x 10 root root 4.0K Dec 22 11:24 ssl
drwxr-xr-x 18 root root 4.0K Dec 22 11:27 autoprotect
-rw-r--r-- 1 root root 277 Jan 22 15:03 brotli_inc.conf
-rw-r--r-- 1 root root 2.2K Jan 22 15:04 koi-win
-rw-r--r-- 1 root root 2.8K Jan 22 15:04 koi-utf
-rw-r--r-- 1 root root 3.6K Jan 22 15:04 win-utf
-rw-r--r-- 1 root root 3.9K Jan 22 15:04 mime.types.default
-rw-r--r-- 1 root root 1007 Jan 22 15:04 fastcgi_params.default
-rw-r--r-- 1 root root 1.1K Jan 22 15:04 fastcgi.conf.default
-rw-r--r-- 1 root root 664 Jan 22 15:04 uwsgi_params.default
-rw-r--r-- 1 root root 636 Jan 22 15:04 scgi_params.default
-rw-r--r-- 1 root root 2.6K Jan 22 15:04 nginx.conf.default
drwxr-xr-x 2 root root 4.0K Jan 22 15:04 conf.d
-rw-r--r-- 1 root root 3.3K Jan 22 15:04 php.conf
-rw-r--r-- 1 root root 108 Jan 22 15:59 dynamic-modules.conf
-rw-r--r-- 1 root root 5.4K Jan 22 17:33 nginx.conf
-rwxr-xr-x 1 root root 0 Jan 22 17:34 htpasswd.sh
---------------------------------------------------------------------------------
backup ngx_pagespeed pagespeed.conf
cp -a /usr/local/nginx/conf/pagespeed.conf /usr/local/nginx/conf/pagespeed.conf_220117-173343
backup ngx_pagespeed pagespeedhandler.conf
cp -a /usr/local/nginx/conf/pagespeedhandler.conf /usr/local/nginx/conf/pagespeedhandler.conf_220117-173343
**********************************************************************
(B* ngx_pagespeed parity update tasks
(B**********************************************************************
(Bdrwxrwxrwt 2 nginx nginx 4.0K Jan 22 13:04 ngx_pagespeed_cache
/usr/bin/pscontrol already up to dated
*************************************************
* Updating nginx
(B*************************************************
Installing nginx Modules / Prerequisites...
(B ____ _ _ _ _ _
/ ___|| |__ ___ ___ | | __ | \ | | __ _ (_) _ __ __ __
| | | '_ \ / _ \ / __|| |/ / | \| | / _` || || '_ \ \ \/ /
| |___ | | | || __/| (__ | < | |\ || (_| || || | | | > <
\____||_| |_| \___| \___||_|\_\ |_| \_| \__, ||_||_| |_|/_/\_\
|___/
__ __ _ _
| \/ | ___ __| | _ _ | | ___ ___
| |\/| | / _ \ / _` || | | || | / _ \/ __|
| | | || (_) || (_| || |_| || || __/\__ \
|_| |_| \___/ \__,_| \__,_||_| \___||___/
NGX_DYNAMICCHECK nginx_upgrade.inc
/svr-setup
nginx dynamic module support detected
Check for old ngx_pagespeed master branch existence
(BCheck for missing nginx modules
(BDownload ngx-fancyindex-0.4.0.tar.gz ...
(B--2017-01-22 17:34:41-- https://centminmod.com/centminmodparts/nginx/modules/ngx-fancyindex-0.4.0.tar.gz
Resolving centminmod.com (centminmod.com)... 45.32.51.237
Connecting to centminmod.com (centminmod.com)|45.32.51.237|:443... connected.
ERROR: cannot verify centminmod.com's certificate, issued by ‘CN=COMODO RSA Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB’:
Unable to locally verify the issuer's authority.
To connect to centminmod.com insecurely, use `--no-check-certificate'.
Error: ngx-fancyindex-0.4.0.tar.gz download failed.
(Bcheck Centmin Mod log for details at /root/centminlogs/
Aborting script...
Download openssl-1.0.2j.tar.gz ...
(BInitializing download: https://centminmod.com/centminmodparts/openssl/openssl-1.0.2j.tar.gz
SSL error: certificate verify failed
Error: openssl-1.0.2j.tar.gz download failed.
(Bcheck Centmin Mod log for details at /root/centminlogs/
Aborting script...
Check for pagespeed nginx module download file
(BCheck for pagespeed PSOL library
(BDownload release-1.12.34.2-beta.tar.gz ...
(Brelease-1.12.34.2-beta.tar.gz Archive found, skipping download...
(Brelease-1.12.34.2-beta.tar.gz valid file.
(B
Download 1.12.34.2.tar.gz PSOL Library...
(B--2017-01-22 17:34:45-- https://dl.google.com/dl/page-speed/psol/1.12.34.2-x64.tar.gz
Resolving dl.google.com (dl.google.com)... 203.208.51.34, 203.208.51.32, 203.208.51.46, ...
Connecting to dl.google.com (dl.google.com)|203.208.51.34|:443... connected.
ERROR: cannot verify dl.google.com's certificate, issued by ‘CN=Google Internet Authority G2,O=Google Inc,C=US’:
Unable to locally verify the issuer's authority.
To connect to dl.google.com insecurely, use `--no-check-certificate'.
Error: https://dl.google.com/dl/page-speed/psol/1.12.34.2-x64.tar.gz download failed.
(Bcheck Centmin Mod log for details at /root/centminlogs/
Aborting script...
tar (child): 1.12.34.2-x64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Error: 1.12.34.2.tar.gz extraction failed.
(Bcheck Centmin Mod log for details at /root/centminlogs/
Aborting script...
Total Nginx Upgrade Time: 53.859268385 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment