Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@JD ~]# yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh
- Loaded plugins: fastestmirror, security
- Setting up Update Process
- Determining fastest mirrors
- base | 3.7 kB 00:00
- base/primary_db | 4.7 MB 00:00
- epel | 3.2 kB 00:00
- epel/primary | 3.2 MB 00:00
- epel 12514/12514
- extras | 3.4 kB 00:00
- extras/primary_db | 30 kB 00:00
- updates | 3.4 kB 00:00
- updates/primary_db | 8.1 MB 00:00
- No Packages marked for Update
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 11455 100 11455 0 0 8130 0 0:00:01 0:00:01 --:--:-- 26826
- [root@JD ~]# bash -x installer.sh | tee /root/cm-install.log
- ++ date +%d%m%y-%H%M%S
- + DT=010718-103237
- + branchname=123.08stable
- + DOWNLOAD=123.08stable.zip
- + INSTALLDIR=/usr/local/src
- ++ awk '{ print $3 }' /etc/redhat-release
- + CENTOSVER=6.9
- + '[' 6.9 == release ']'
- ++ cut -d . -f1
- ++ awk '{ print $3 }'
- ++ cat /etc/redhat-release
- + [[ 6 = \6 ]]
- + CENTOS_SIX=6
- + '[' 6.9 == Enterprise ']'
- + [[ -f /etc/system-release ]]
- ++ awk '{print $1,$2,$3}' /etc/system-release
- + [[ CentOS release 6.9 = \A\m\a\z\o\n\ \L\i\n\u\x\ \A\M\I ]]
- + DEF=novalue
- + yum clean all
- Loaded plugins: fastestmirror, security
- Cleaning repos: base epel extras updates
- Cleaning up Everything
- Cleaning up list of fastest mirrors
- + [[ ! -f /usr/bin/bc ]]
- + [[ ! -f /usr/bin/wget ]]
- + [[ ! -f /bin/nano ]]
- + [[ ! -f /usr/bin/unzip ]]
- + [[ ! -f /usr/bin/applydeltarpm ]]
- + '[' -f /etc/selinux/config ']'
- + sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
- + setenforce 0
- setenforce: SELinux is disabled
- + sed -i s/SELINUX=permissive/SELINUX=disabled/g /etc/selinux/config
- + setenforce 0
- setenforce: SELinux is disabled
- + [[ novalue = \n\o\v\a\l\u\e ]]
- + cminstall
- + cd /usr/local/src
- + [[ ! -f 123.08stable.zip ]]
- + mv centminmod-123.08stable centminmod
- mv: cannot stat `centminmod-123.08stable': No such file or directory
- + cd centminmod
- installer.sh: line 114: cd: centminmod: No such file or directory
- + chmod +x centmin.sh
- chmod: cannot access `centmin.sh': No such file or directory
- + ./centmin.sh install
- installer.sh: line 152: ./centmin.sh: No such file or directory
- + 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'\'''
- + echo -e 'pushd /usr/local/src/centminmod; bash centmin.sh'
- + chmod 0700 /usr/bin/centmin
- + echo
- + echo 'Created command shortcuts:'
- + echo '* type cmdir to change to Centmin Mod install directory'
- + echo ' at /usr/local/src/centminmod'
- + echo '* type centmin call and run centmin.sh'
- + echo ' at /usr/local/src/centminmod/centmin.sh'
- + echo
- Created command shortcuts:
- * type cmdir to change to Centmin Mod install directory
- at /usr/local/src/centminmod
- * type centmin call and run centmin.sh
- at /usr/local/src/centminmod/centmin.sh
- ++ bc
- ++ echo ' - '
- (standard_in) 2: syntax error
- + FIRSTYUMINSTALLTIME=
- ++ printf '%0.4f\n'
- + FIRSTYUMINSTALLTIME=0.0000
- ++ bc
- ++ echo ' - '
- (standard_in) 2: syntax error
- + GETCMTIME=
- ++ printf '%0.4f\n'
- + GETCMTIME=0.0000
- + echo ''
- installer.sh: line 180: /root/centminlogs/firstyum_installtime_010718-103237.log: No such file or directory
- + echo ---------------------------------------------------------------------------
- + echo 'Total Curl Installer YUM Time: 0.0000 seconds'
- installer.sh: line 182: /root/centminlogs/firstyum_installtime_010718-103237.log: No such file or directory
- + tail -1 '/root/centminlogs/firstyum_installtime_*.log'
- ---------------------------------------------------------------------------
- tail: cannot open `/root/centminlogs/firstyum_installtime_*.log' for reading: No such file or directory
- + tail -1 '/root/centminlogs/centminmod_yumtimes_*.log'
- tail: cannot open `/root/centminlogs/centminmod_yumtimes_*.log' for reading: No such file or directory
- ++ tail -1 '/root/centminlogs/centminmod_downloadtimes_*.log'
- tail: cannot open `/root/centminlogs/centminmod_downloadtimes_*.log' for reading: No such file or directory
- + DTIME=
- ++ awk '{print $7}'
- ++ echo
- + DTIME_SEC=
- ++ tail -1 '/root/centminlogs/centminmod_ngxinstalltime_*.log'
- tail: cannot open `/root/centminlogs/centminmod_ngxinstalltime_*.log' for reading: No such file or directory
- + NTIME=
- ++ awk '{print $7}'
- ++ echo
- + NTIME_SEC=
- ++ tail -1 '/root/centminlogs/centminmod_phpinstalltime_*.log'
- tail: cannot open `/root/centminlogs/centminmod_phpinstalltime_*.log' for reading: No such file or directory
- + PTIME=
- ++ awk '{print $7}'
- ++ echo
- + PTIME_SEC=
- ++ tail -1 '/root/centminlogs/*_install.log'
- tail: cannot open `/root/centminlogs/*_install.log' for reading: No such file or directory
- + CMTIME=
- ++ awk '{print $6}'
- ++ echo
- + CMTIME_SEC=
- ++ printf '%0.4f\n'
- + CMTIME_SEC=0.0000
- ++ tail -1
- ++ awk '{print $6}' '/root/centminlogs/firstyum_installtime_*.log'
- awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/firstyum_installtime_*.log' for reading (No such file or directory)
- + CURLT=
- ++ tail -1
- ++ awk '{print $6}' '/root/centminlogs/*_install.log'
- awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/*_install.log' for reading (No such file or directory)
- + CT=
- ++ bc
- ++ echo ' + + 0.0000'
- (standard_in) 1: syntax error
- + TT=
- ++ printf '%0.4f\n'
- + TT=0.0000
- ++ bc
- ++ echo ' - ( + + )'
- (standard_in) 1: syntax error
- + ST=
- ++ printf '%0.4f\n'
- + ST=0.0000
- ++ printf '%0.4f\n'
- + echo 'Total YUM + Source Download Time: 0.0000'
- Total YUM + Source Download Time: 0.0000
- ++ printf '%0.4f\n'
- + echo 'Total Nginx First Time Install Time: 0.0000'
- Total Nginx First Time Install Time: 0.0000
- ++ printf '%0.4f\n'
- + echo 'Total PHP First Time Install Time: 0.0000'
- + echo 'Download Zip From Github Time: 0.0000'
- + echo 'Total Time Other eg. source compiles: 0.0000'
- + echo 'Total Centmin Mod Install Time: 0.0000'
- + echo ---------------------------------------------------------------------------
- + echo 'Total Install Time (curl yum + cm install + zip download): 0.0000 seconds'
- + echo ---------------------------------------------------------------------------
- + '[' -f /usr/local/src/curlinstall_yum.txt ']'
- + case "$1" in
- + [[ novalue = \n\o\v\a\l\u\e ]]
- + echo
- Total PHP First Time Install Time: 0.0000
- Download Zip From Github Time: 0.0000
- Total Time Other eg. source compiles: 0.0000
- Total Centmin Mod Install Time: 0.0000
- ---------------------------------------------------------------------------
- Total Install Time (curl yum + cm install + zip download): 0.0000 seconds
- ---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement