Created
October 27, 2017 22:09
-
-
Save anonymous/040430936aef39bb8910f0e889652f57 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
++ date +%d%m%y-%H%M%S | |
+ DT=271017-180821 | |
+ CENTMINLOGDIR=/root/centminlogs | |
+ '[' '!' -d /root/centminlogs ']' | |
++ date +%s.%N | |
+ starttime=1509142101.715468063 | |
+ tee /root/centminlogs/centminmod_phpmyadmin_update-271017-180821.log | |
+ echo 'cd /usr/local/nginx/html/m' | |
cd /usr/local/nginx/html/m | |
+ cd /usr/local/nginx/html/m | |
+ rm -rf composer.lock | |
+ echo 'git pull' | |
git pull | |
+ git pull | |
Already up-to-date. | |
+ rm -rf composer.phar | |
+ wget -cnv https://getcomposer.org/composer.phar -O composer.phar | |
2017-10-27 18:08:22 URL:https://getcomposer.org/composer.phar [1852795/1852795] -> "composer.phar" [1] | |
+ php composer.phar update --no-dev | |
Do not run Composer as root/super user! See https://getcomposer.org/root for details | |
Loading composer repositories with package information | |
Updating dependencies | |
Writing lock file | |
Generating autoload files | |
+ chown phpmyadmin:nginx /usr/local/nginx/html/m | |
+ chown -R phpmyadmin:nginx /usr/local/nginx/html/m | |
++ date +%s.%N | |
+ endtime=1509142104.548941693 | |
++ echo 'scale=2;1509142104.548941693 - 1509142101.715468063' | |
++ bc | |
+ INSTALLTIME=2.833473630 | |
+ echo '' | |
+ echo 'Total phpmyadmin Update Time: 2.833473630 seconds' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment