Advertisement
Guest User

Output2

a guest
Jun 30th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.83 KB | None | 0 0
  1. [root@JD ~]# yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh
  2. Loaded plugins: fastestmirror, security
  3. Setting up Update Process
  4. Determining fastest mirrors
  5. base | 3.7 kB 00:00
  6. base/primary_db | 4.7 MB 00:00
  7. epel | 3.2 kB 00:00
  8. epel/primary | 3.2 MB 00:00
  9. epel 12514/12514
  10. extras | 3.4 kB 00:00
  11. extras/primary_db | 30 kB 00:00
  12. updates | 3.4 kB 00:00
  13. updates/primary_db | 8.1 MB 00:00
  14. No Packages marked for Update
  15. % Total % Received % Xferd Average Speed Time Time Time Current
  16. Dload Upload Total Spent Left Speed
  17. 100 11455 100 11455 0 0 8130 0 0:00:01 0:00:01 --:--:-- 26826
  18. [root@JD ~]# bash -x installer.sh | tee /root/cm-install.log
  19. ++ date +%d%m%y-%H%M%S
  20. + DT=010718-103237
  21. + branchname=123.08stable
  22. + DOWNLOAD=123.08stable.zip
  23. + INSTALLDIR=/usr/local/src
  24. ++ awk '{ print $3 }' /etc/redhat-release
  25. + CENTOSVER=6.9
  26. + '[' 6.9 == release ']'
  27. ++ cut -d . -f1
  28. ++ awk '{ print $3 }'
  29. ++ cat /etc/redhat-release
  30. + [[ 6 = \6 ]]
  31. + CENTOS_SIX=6
  32. + '[' 6.9 == Enterprise ']'
  33. + [[ -f /etc/system-release ]]
  34. ++ awk '{print $1,$2,$3}' /etc/system-release
  35. + [[ CentOS release 6.9 = \A\m\a\z\o\n\ \L\i\n\u\x\ \A\M\I ]]
  36. + DEF=novalue
  37. + yum clean all
  38. Loaded plugins: fastestmirror, security
  39. Cleaning repos: base epel extras updates
  40. Cleaning up Everything
  41. Cleaning up list of fastest mirrors
  42. + [[ ! -f /usr/bin/bc ]]
  43. + [[ ! -f /usr/bin/wget ]]
  44. + [[ ! -f /bin/nano ]]
  45. + [[ ! -f /usr/bin/unzip ]]
  46. + [[ ! -f /usr/bin/applydeltarpm ]]
  47. + '[' -f /etc/selinux/config ']'
  48. + sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
  49. + setenforce 0
  50. setenforce: SELinux is disabled
  51. + sed -i s/SELINUX=permissive/SELINUX=disabled/g /etc/selinux/config
  52. + setenforce 0
  53. setenforce: SELinux is disabled
  54. + [[ novalue = \n\o\v\a\l\u\e ]]
  55. + cminstall
  56. + cd /usr/local/src
  57. + [[ ! -f 123.08stable.zip ]]
  58. + mv centminmod-123.08stable centminmod
  59. mv: cannot stat `centminmod-123.08stable': No such file or directory
  60. + cd centminmod
  61. installer.sh: line 114: cd: centminmod: No such file or directory
  62. + chmod +x centmin.sh
  63. chmod: cannot access `centmin.sh': No such file or directory
  64. + ./centmin.sh install
  65. installer.sh: line 152: ./centmin.sh: No such file or directory
  66. + sed -i /cmdir=/d /root/.bashrc
  67. + sed -i /centmin=/d /root/.bashrc
  68. + rm -rf /usr/bin/cmdir
  69. + alias 'cmdir=pushd /usr/local/src/centminmod'
  70. + echo 'alias cmdir='\''pushd /usr/local/src/centminmod'\'''
  71. + echo -e 'pushd /usr/local/src/centminmod; bash centmin.sh'
  72. + chmod 0700 /usr/bin/centmin
  73. + echo
  74. + echo 'Created command shortcuts:'
  75. + echo '* type cmdir to change to Centmin Mod install directory'
  76. + echo ' at /usr/local/src/centminmod'
  77. + echo '* type centmin call and run centmin.sh'
  78. + echo ' at /usr/local/src/centminmod/centmin.sh'
  79. + echo
  80.  
  81. Created command shortcuts:
  82. * type cmdir to change to Centmin Mod install directory
  83. at /usr/local/src/centminmod
  84. * type centmin call and run centmin.sh
  85. at /usr/local/src/centminmod/centmin.sh
  86.  
  87. ++ bc
  88. ++ echo ' - '
  89. (standard_in) 2: syntax error
  90. + FIRSTYUMINSTALLTIME=
  91. ++ printf '%0.4f\n'
  92. + FIRSTYUMINSTALLTIME=0.0000
  93. ++ bc
  94. ++ echo ' - '
  95. (standard_in) 2: syntax error
  96. + GETCMTIME=
  97. ++ printf '%0.4f\n'
  98. + GETCMTIME=0.0000
  99. + echo ''
  100. installer.sh: line 180: /root/centminlogs/firstyum_installtime_010718-103237.log: No such file or directory
  101. + echo ---------------------------------------------------------------------------
  102. + echo 'Total Curl Installer YUM Time: 0.0000 seconds'
  103. installer.sh: line 182: /root/centminlogs/firstyum_installtime_010718-103237.log: No such file or directory
  104. + tail -1 '/root/centminlogs/firstyum_installtime_*.log'
  105. ---------------------------------------------------------------------------
  106. tail: cannot open `/root/centminlogs/firstyum_installtime_*.log' for reading: No such file or directory
  107. + tail -1 '/root/centminlogs/centminmod_yumtimes_*.log'
  108. tail: cannot open `/root/centminlogs/centminmod_yumtimes_*.log' for reading: No such file or directory
  109. ++ tail -1 '/root/centminlogs/centminmod_downloadtimes_*.log'
  110. tail: cannot open `/root/centminlogs/centminmod_downloadtimes_*.log' for reading: No such file or directory
  111. + DTIME=
  112. ++ awk '{print $7}'
  113. ++ echo
  114. + DTIME_SEC=
  115. ++ tail -1 '/root/centminlogs/centminmod_ngxinstalltime_*.log'
  116. tail: cannot open `/root/centminlogs/centminmod_ngxinstalltime_*.log' for reading: No such file or directory
  117. + NTIME=
  118. ++ awk '{print $7}'
  119. ++ echo
  120. + NTIME_SEC=
  121. ++ tail -1 '/root/centminlogs/centminmod_phpinstalltime_*.log'
  122. tail: cannot open `/root/centminlogs/centminmod_phpinstalltime_*.log' for reading: No such file or directory
  123. + PTIME=
  124. ++ awk '{print $7}'
  125. ++ echo
  126. + PTIME_SEC=
  127. ++ tail -1 '/root/centminlogs/*_install.log'
  128. tail: cannot open `/root/centminlogs/*_install.log' for reading: No such file or directory
  129. + CMTIME=
  130. ++ awk '{print $6}'
  131. ++ echo
  132. + CMTIME_SEC=
  133. ++ printf '%0.4f\n'
  134. + CMTIME_SEC=0.0000
  135. ++ tail -1
  136. ++ awk '{print $6}' '/root/centminlogs/firstyum_installtime_*.log'
  137. awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/firstyum_installtime_*.log' for reading (No such file or directory)
  138. + CURLT=
  139. ++ tail -1
  140. ++ awk '{print $6}' '/root/centminlogs/*_install.log'
  141. awk: cmd. line:1: fatal: cannot open file `/root/centminlogs/*_install.log' for reading (No such file or directory)
  142. + CT=
  143. ++ bc
  144. ++ echo ' + + 0.0000'
  145. (standard_in) 1: syntax error
  146. + TT=
  147. ++ printf '%0.4f\n'
  148. + TT=0.0000
  149. ++ bc
  150. ++ echo ' - ( + + )'
  151. (standard_in) 1: syntax error
  152. + ST=
  153. ++ printf '%0.4f\n'
  154. + ST=0.0000
  155. ++ printf '%0.4f\n'
  156. + echo 'Total YUM + Source Download Time: 0.0000'
  157. Total YUM + Source Download Time: 0.0000
  158. ++ printf '%0.4f\n'
  159. + echo 'Total Nginx First Time Install Time: 0.0000'
  160. Total Nginx First Time Install Time: 0.0000
  161. ++ printf '%0.4f\n'
  162. + echo 'Total PHP First Time Install Time: 0.0000'
  163. + echo 'Download Zip From Github Time: 0.0000'
  164. + echo 'Total Time Other eg. source compiles: 0.0000'
  165. + echo 'Total Centmin Mod Install Time: 0.0000'
  166. + echo ---------------------------------------------------------------------------
  167. + echo 'Total Install Time (curl yum + cm install + zip download): 0.0000 seconds'
  168. + echo ---------------------------------------------------------------------------
  169. + '[' -f /usr/local/src/curlinstall_yum.txt ']'
  170. + case "$1" in
  171. + [[ novalue = \n\o\v\a\l\u\e ]]
  172. + echo
  173. Total PHP First Time Install Time: 0.0000
  174. Download Zip From Github Time: 0.0000
  175. Total Time Other eg. source compiles: 0.0000
  176. Total Centmin Mod Install Time: 0.0000
  177. ---------------------------------------------------------------------------
  178. Total Install Time (curl yum + cm install + zip download): 0.0000 seconds
  179. ---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement