Advertisement
Guest User

Wasfitnet centmin install

a guest
Apr 4th, 2019
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.80 KB | None | 0 0
  1. ------------------------------------------------------------
  2. Update wp-cli tool
  3. ------------------------------------------------------------
  4. updating...
  5. -------------------------------------------------------------
  6. update wp-cli packages
  7. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  8. Using Composer to update packages...
  9. ---
  10. Loading composer repositories with package information
  11. Updating dependencies
  12. PHP Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 20480 bytes) in phar:///usr/bin/wp/vendor/composer/composer/src/Composer/Json/JsonFile.php on line 270
  13. -------------------------------------------------------------
  14. update wp-cli
  15. 2019-03-25 01:45:50 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5421617/5421617] -> "/usr/bin/wp" [1]
  16. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  17. OS: Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
  18. Shell: /bin/bash
  19. PHP binary: /usr/local/bin/php
  20. PHP version: 7.3.3
  21. php.ini used: /usr/local/lib/php.ini
  22. WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
  23. WP-CLI vendor dir: phar://wp-cli.phar/vendor
  24. WP_CLI phar path: /usr/local/src/centminmod/addons
  25. WP-CLI packages dir: /root/.wp-cli/packages/
  26. WP-CLI global config:
  27. WP-CLI project config:
  28. WP-CLI version: 2.1.0
  29.  
  30. -------------------------------------------------------------
  31. wp-cli update completed
  32. Read http://wp-cli.org/ for full usage info
  33. -------------------------------------------------------------
  34.  
  35.  
  36. -------------------------------------------------------------
  37. Setup full Nginx vhost + Wordpress + WP Plugins
  38. -------------------------------------------------------------
  39.  
  40. ---------------------------------------------------------------
  41. Important Information
  42. ---------------------------------------------------------------
  43.  
  44. You are about to create an Wordpress based Nginx vhost site with
  45. or without HTTPS/SSL support.
  46. Also read the continually updated Getting Started Guide
  47. at centminmod.com/getstarted.html if you haven't already
  48. ---------------------------------------------------------------
  49. 403 Permission denied message handling
  50. if after vhost site setup you encounter 403 permission denied errors,
  51. check https://community.centminmod.com/threads/11215/ to see if your
  52. site needs tools/autoprotect.sh tweaking & whitelisting
  53. ---------------------------------------------------------------
  54.  
  55. Do you want to continue with Nginx vhost site creation ? [y/n] y
  56.  
  57. Enter vhost domain name you want to add (without www. prefix): wasfitnet.com
  58.  
  59. Create a self-signed SSL certificate Nginx vhost? [y/n]: y
  60. Get Letsencrypt SSL certificate Nginx vhost? [y/n]: y
  61.  
  62. You have 4 options:
  63. 1. issue staging test cert with HTTP + HTTPS (untrusted)
  64. 2. issue staging test cert with HTTPS default (untrusted)
  65. 3. issue live cert with HTTP + HTTPS (trusted)
  66. 4. issue live cert with HTTPS default (trusted)
  67. Enter option number 1-4: 4
  68.  
  69. Theme Setup:
  70. nnstall CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]: n
  71.  
  72. Wordpress Setup:
  73. Set custom WP Admin Display Name ? [y/n]: y
  74. Enter Custom WP Admin Display Name: navarisun
  75. Install Wordpress in subdirectory /blog ? [y/n]: n
  76. Disable Auto Generated WP Admin Username / Password ? [y/n]: y
  77. Disable wp-login.php password protection ? (less security) [y/n]: y
  78.  
  79. --------------------------
  80. !! Security Note !!
  81. --------------------------
  82. Please choose a stronger Username/Password Combination
  83.  
  84. Enter desired WP Admin Username: navarisun
  85. Enter desired WP Admin Password: WorldWarz_1982
  86. omter email address for Admin User for Wordpress Installation: navarisun@yahoo.c
  87.  
  88. Default is to install KeyCDN WP Cache Enabler Plugin
  89. as it's more stable and reliable than WP Super Cache.
  90. Redis cache may have issues with caching due to long 6hr cache TTL
  91. You can select which caching method to use below:
  92.  
  93. --------------------------------------------------------
  94. Wordpress Caching
  95. --------------------------------------------------------
  96. 1). KeyCDN Cache Enabler (default & recommended)
  97. 2). Redis Nginx Level Caching (may have issues with some wp plugins)
  98. 3). Wordpress Super Cache
  99. --------------------------------------------------------
  100. Enter option [ 1 - 3 ] 3
  101.  
  102. Create FTP username for vhost domain (enter username): navarisun
  103. Do you want to auto generate FTP password (recommended) [y/n]: n
  104. Create FTP password for navarisun (enter password): WorldWarz_1982
  105.  
  106. FTP username you entered: navarisun
  107. FTP password you entered: WorldWarz_1982
  108.  
  109. Password:
  110. Enter it again: Error.
  111. Check that [navarisun] doesn't already exist,
  112. and that [/etc/pure-ftpd/pureftpd.passwd.tmp] can be written.
  113.  
  114. ---------------------------------------------------------------
  115. SSL Vhost Setup...
  116. ---------------------------------------------------------------
  117.  
  118. --2019-03-25 01:47:35-- https://support.cloudflare.com/hc/en-us/article_attachments/201243967/origin-pull-ca.pem
  119. Resolving support.cloudflare.com... 104.16.54.111, 104.16.51.111, 104.16.53.111, ...
  120. Connecting to support.cloudflare.com|104.16.54.111|:443... connected.
  121. HTTP request sent, awaiting response... 200 OK
  122. Length: 2151 (2.1K) [application/x-x509-ca-cert]
  123. Saving to: ‘origin.crt’
  124.  
  125. 0K .. 100% 14.0M=0s
  126.  
  127. 2019-03-25 01:47:35 (14.0 MB/s) - ‘origin.crt’ saved [2151/2151]
  128.  
  129. ---------------------------------------------------------------
  130. Generating self signed SSL certificate...
  131. CSR file can also be used to be submitted for paid SSL certificates
  132. If using for paid SSL certificates be sure to keep both private key and CSR safe
  133. creating CSR File: wasfitnet.com.csr
  134. creating private key: wasfitnet.com.key
  135. creating self-signed SSL certificate: wasfitnet.com.crt
  136. Generating a 2048 bit RSA private key
  137. ............+++
  138. ..+++
  139. writing new private key to 'wasfitnet.com.key'
  140. -----
  141. Signature ok
  142. subject=/C=US/ST=California/L=Los Angeles/O=wasfitnet.com/OU=wasfitnet.com/CN=wasfitnet.com
  143. Getting Private key
  144.  
  145. ---------------------------------------------------------------
  146. Copy/setup dhparam.pem file...
  147. ------------------------------------------------------------
  148. Setup Wordpress + Super Cache for wasfitnet.com
  149. ------------------------------------------------------------
  150. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  151. Downloading WordPress 5.1.1 (en_US)...
  152. md5 hash verified: e878b33b520f61e61f2caa0f08886c1b
  153. Success: WordPress downloaded.
  154. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  155. Success: Generated 'wp-config.php' file.
  156. 0 */4 * * * /usr/bin/cminfo_updater
  157. */15 * * * * sleep 278s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  158. 0 */8 * * * sleep 234s ;/root/tools/wp_updater_3alamtaney.com.sh 2>/dev/null
  159. */15 * * * * sleep 189s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  160. 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
  161. 01 1 * * 0 /usr/bin/certbot renew >> /var/log/ssl-renew.log
  162. 06 1 * * 0 /usr/bin/systemctl nginx reload
  163.  
  164. 13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
  165. #*/15 * * * * sleep 218s ; wget -O - -q -t 1 http://comixat.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  166. 0 */8 * * * sleep 264s ;/root/tools/wp_updater_comixat.com.sh >/dev/null 2>&1
  167. 19 02 * * * /root/tools/phpmyadmin_update.sh
  168. #*/15 * * * * sleep 216s ; wget -O - -q -t 1 http://wasfitnet.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  169. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  170. Success: WordPress installed successfully.
  171. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  172. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  173. Success: Updated user 246919.
  174. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  175. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  176. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  177. Success: Rewrite rules flushed.
  178. Success: Rewrite structure set.
  179. ------------------------------------------------------------
  180. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  181. Installing WP Super Cache (1.6.4)
  182. Downloading installation package from https://downloads.wordpress.org/plugin/wp-super-cache.1.6.4.zip...
  183. Unpacking the package...
  184. Installing the plugin...
  185. Plugin installed successfully.
  186. Activating 'wp-super-cache'...
  187. Plugin 'wp-super-cache' activated.
  188. Success: Installed 1 of 1 plugins.
  189. ------------------------------------------------------------
  190. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  191. Installing WP Super Cache – Clear all cache (1.4)
  192. Downloading installation package from https://downloads.wordpress.org/plugin/wp-super-cache-clear-cache-menu.1.4.zip...
  193. Unpacking the package...
  194. Installing the plugin...
  195. Plugin installed successfully.
  196. Activating 'wp-super-cache-clear-cache-menu'...
  197. Plugin 'wp-super-cache-clear-cache-menu' activated.
  198. Success: Installed 1 of 1 plugins.
  199. ------------------------------------------------------------
  200. ------------------------------------------------------------
  201. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  202. Installing Sucuri Security – Auditing, Malware Scanner and Security Hardening (1.8.20)
  203. Downloading installation package from https://downloads.wordpress.org/plugin/sucuri-scanner.1.8.20.zip...
  204. Unpacking the package...
  205. Installing the plugin...
  206. Plugin installed successfully.
  207. Activating 'sucuri-scanner'...
  208. Plugin 'sucuri-scanner' activated.
  209. Success: Installed 1 of 1 plugins.
  210. ------------------------------------------------------------
  211. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  212. Installing Disable XML-RPC (1.0.1)
  213. Downloading installation package from https://downloads.wordpress.org/plugin/disable-xml-rpc.1.0.1.zip...
  214. Unpacking the package...
  215. Installing the plugin...
  216. Plugin installed successfully.
  217. Activating 'disable-xml-rpc'...
  218. Plugin 'disable-xml-rpc' activated.
  219. Success: Installed 1 of 1 plugins.
  220. ------------------------------------------------------------
  221. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  222. Installing CDN Enabler – WordPress CDN Plugin (1.0.8)
  223. Downloading installation package from https://downloads.wordpress.org/plugin/cdn-enabler.zip...
  224. Unpacking the package...
  225. Installing the plugin...
  226. Plugin installed successfully.
  227. Activating 'cdn-enabler'...
  228. Plugin 'cdn-enabler' activated.
  229. Success: Installed 1 of 1 plugins.
  230. ------------------------------------------------------------
  231. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  232. Uninstalled and deleted 'hello' plugin.
  233. Success: Uninstalled 1 of 1 plugins.
  234. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  235. Success: Plugin already updated.
  236.  
  237. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  238. 7 installed plugins:
  239. I akismet 4.1.1
  240. A cdn-enabler 1.0.8
  241. A disable-xml-rpc 1.0.1
  242. A sucuri-scanner 1.8.20
  243. A wp-super-cache 1.6.4
  244. A wp-super-cache-clear-cache-menu 1.4
  245. D advanced-cache.php
  246.  
  247. Legend: I = Inactive, A = Active, D = Drop-In
  248. ------------------------------------------------------------
  249. total 8.0K
  250. drwxr-sr-x 2 nginx nginx 4.0K Mar 25 01:48 .
  251. drwxr-s--- 8 nginx nginx 4.0K Mar 25 01:48 ..
  252. <?php exit(0); ?>
  253. {"sucuriscan_selfhosting_monitor":"disabled","sucuriscan_selfhosting_fpath":"","sucuriscan_api_service":"enabled","sucuriscan_notify_to":"navarisun@yahoo.com","sucuriscan_notify_plugin_activated":"enabled","sucuriscan_addr_header":"HTTP_X_SUCURI_CLIENTIP","sucuriscan_prettify_mails":"disabled","sucuriscan_emails_per_hour":5,"sucuriscan_last_email_at":1553478508,"sucuriscan_emails_sent":3,"sucuriscan_timezone":"UTC+00.00","sucuriscan_email_subject":"Sucuri Alert, :domain, :event, :remoteaddr","sucuriscan_use_wpmail":"enabled","sucuriscan_lastlogin_redirection":"enabled","sucuriscan_revproxy":"disabled","sucuriscan_datastore_path":"\/home\/nginx\/domains\/wasfitnet.com\/sucuri_data_storage"}
  254. ------------------------------------------------------------
  255. Created uninstall script
  256. /root/tools/wp_uninstall_wasfitnet.com.sh
  257. ------------------------------------------------------------
  258. ------------------------------------------------------------
  259. Created wp_updater_wasfitnet.com.sh script
  260. /root/tools/wp_updater_wasfitnet.com.sh
  261. ------------------------------------------------------------
  262. 158
  263. 15
  264. final 158
  265. final 15
  266. 0 */4 * * * /usr/bin/cminfo_updater
  267. */15 * * * * sleep 278s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  268. 0 */8 * * * sleep 234s ;/root/tools/wp_updater_3alamtaney.com.sh 2>/dev/null
  269. */15 * * * * sleep 189s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  270. 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
  271. 01 1 * * 0 /usr/bin/certbot renew >> /var/log/ssl-renew.log
  272. 06 1 * * 0 /usr/bin/systemctl nginx reload
  273.  
  274. 13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
  275. #*/15 * * * * sleep 218s ; wget -O - -q -t 1 http://comixat.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  276. 0 */8 * * * sleep 264s ;/root/tools/wp_updater_comixat.com.sh >/dev/null 2>&1
  277. 19 02 * * * /root/tools/phpmyadmin_update.sh
  278. #*/15 * * * * sleep 216s ; wget -O - -q -t 1 http://wasfitnet.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  279. 0 */8 * * * sleep 158s ;/root/tools/wp_updater_wasfitnet.com.sh >/dev/null 2>&1
  280.  
  281. -------------------------------------------------------------
  282. generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/3alamtaney.com/autoprotect-3alamtaney.com.conf
  283. generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/comixat.com/autoprotect-comixat.com.conf
  284. generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/http2.3alamtaney.com/autoprotect-http2.3alamtaney.com.conf
  285. generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/http2.comixat.com/autoprotect-http2.comixat.com.conf
  286. generated nginx include file [initial]: /usr/local/nginx/conf/autoprotect/wasfitnet.com/autoprotect-wasfitnet.com.conf
  287.  
  288. autoprotect.sh run completed skipped nginx reload...
  289.  
  290. Reloading nginx configuration (via systemctl): [ OK ]
  291. service nginx reload
  292. Reloading nginx configuration (via systemctl): [ OK ]
  293. service php-fpm restart
  294. Redirecting to /bin/systemctl restart php-fpm.service
  295. systemctl restart pure-ftpd.service
  296.  
  297. -------------------------------------------------------------
  298. ok: /usr/local/src/centminmod/addons/acmetool.sh
  299. /usr/local/src/centminmod/addons/acmetool.sh issue wasfitnet.com wplived
  300.  
  301. -------------------------------------------------
  302. acmetool.sh is in beta testing phase
  303. please read & provide bug reports &
  304. feedback for this tool via the forums
  305. https://centminmod.com/acmetool
  306. -------------------------------------------------
  307.  
  308. continue [y/n] ? y
  309.  
  310. -----------------------------------------------------
  311. updating acme.sh client...
  312. -----------------------------------------------------
  313. Cloning into 'acme.sh'...
  314. [Mon Mar 25 01:54:36 UTC 2019] It is recommended to install socat first.
  315. [Mon Mar 25 01:54:36 UTC 2019] We use socat for standalone server if you use standalone mode.
  316. [Mon Mar 25 01:54:36 UTC 2019] If you don't use standalone mode, just ignore this warning.
  317. [Mon Mar 25 01:54:36 UTC 2019] Installing to /root/.acme.sh
  318. [Mon Mar 25 01:54:36 UTC 2019] Installed to /root/.acme.sh/acme.sh
  319. [Mon Mar 25 01:54:36 UTC 2019] Installing alias to '/root/.bashrc'
  320. [Mon Mar 25 01:54:36 UTC 2019] OK, Close and reopen your terminal to start using acme.sh
  321. [Mon Mar 25 01:54:36 UTC 2019] Installing cron job
  322. 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
  323. [Mon Mar 25 01:54:36 UTC 2019] Good, bash is found, so change the shebang to use bash as preferred.
  324. [Mon Mar 25 01:54:37 UTC 2019] OK
  325. https://github.com/Neilpang/acme.sh
  326. v2.8.1
  327. -----------------------------------------------------
  328. acme.sh updated
  329. -----------------------------------------------------
  330. backup & remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
  331.  
  332. [self-signed ssl cert check] required by acmetool.sh
  333.  
  334. [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/dhparam.pem exists
  335. [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt exists
  336. [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key exists
  337.  
  338. [sslvhostsetup] create /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  339.  
  340. [wp] backup & remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
  341. [wp] create /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  342. cp -a /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp2
  343. sed -i '1,12d' /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp2
  344. cat /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp1 /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp2 > /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  345. cat /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt.key.conf
  346. ssl_dhparam /usr/local/nginx/conf/ssl/wasfitnet.com/dhparam.pem;
  347. ssl_certificate /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt;
  348. ssl_certificate_key /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key;
  349. #ssl_trusted_certificate /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-trusted.crt;
  350. Reloading nginx configuration (via systemctl): [ OK ]
  351.  
  352. setting HTTPS default in /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  353.  
  354. sed -i 's|^##x# HTTPS-DEFAULT|#x# HTTPS-DEFAULT|g' "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  355. sed -i "s|#x# server {| server {|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  356. sed -i "s|#x# | |" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  357. sed -i "s|#x# server_name wasfitnet.com www.wasfitnet.com;| server_name wasfitnet.com www.wasfitnet.com;|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  358. sed -i "s|#x# return 302 https://wasfitnet.com$request_uri;| return 302 https://wasfitnet.com$request_uri;|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  359. sed -i "s|#x# include \/usr\/local\/nginx\/conf\/staticfiles.conf;| include \/usr\/local\/nginx\/conf\/staticfiles.conf;|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  360. sed -i "s|#x# }| }|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
  361.  
  362. remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
  363.  
  364. grep 'root' /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  365. root /home/nginx/domains/wasfitnet.com/public;
  366.  
  367. -----------------------------------------------------------
  368. issue & install letsencrypt ssl certificate for wasfitnet.com
  369. -----------------------------------------------------------
  370. testcert value = wplived
  371. wp routine detected use reissue instead via --force
  372. /root/.acme.sh/acme.sh --force --issue -d wasfitnet.com -d www.wasfitnet.com --days 60 -w /home/nginx/domains/wasfitnet.com/public -k 2048 --useragent centminmod-centos7-acmesh-webroot --log /root/centminlogs/acmetool.sh-debug-log-250319-014847.log --log-level 2
  373. [Mon Mar 25 01:54:40 UTC 2019] Registering account
  374. [Mon Mar 25 01:54:42 UTC 2019] Registered
  375. [Mon Mar 25 01:54:42 UTC 2019] ACCOUNT_THUMBPRINT='Jxx4ydXiiWjnJyrBpGeBCueELRn5zPaJwepmzYUEdac'
  376. [Mon Mar 25 01:54:42 UTC 2019] Creating domain key
  377. [Mon Mar 25 01:54:43 UTC 2019] The domain key is here: /root/.acme.sh/wasfitnet.com/wasfitnet.com.key
  378. [Mon Mar 25 01:54:43 UTC 2019] Multi domain='DNS:wasfitnet.com,DNS:www.wasfitnet.com'
  379. [Mon Mar 25 01:54:43 UTC 2019] Getting domain auth token for each domain
  380. [Mon Mar 25 01:54:45 UTC 2019] Getting webroot for domain='wasfitnet.com'
  381. [Mon Mar 25 01:54:45 UTC 2019] Getting webroot for domain='www.wasfitnet.com'
  382. [Mon Mar 25 01:54:45 UTC 2019] Verifying: wasfitnet.com
  383. [Mon Mar 25 01:54:48 UTC 2019] Success
  384. [Mon Mar 25 01:54:48 UTC 2019] Verifying: www.wasfitnet.com
  385. [Mon Mar 25 01:54:51 UTC 2019] www.wasfitnet.com:Verify error:dns :: DNS problem: NXDOMAIN looking up A for www.wasfitnet.com
  386. [Mon Mar 25 01:54:51 UTC 2019] Please check log file for more details: /root/centminlogs/acmetool.sh-debug-log-250319-014847.log
  387. LECHECK = 1
  388.  
  389. log files saved at /root/centminlogs
  390. -rw-r--r-- 1 root root 59K Mar 25 01:54 acmetool.sh-debug-log-250319-014847.log
  391. -rw-r--r-- 1 root root 5.3K Mar 25 01:54 acmesh-issue_250319-014847.log
  392.  
  393.  
  394. -------------------------------------------------------------
  395.  
  396. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  397. Success: Updated 'home' option.
  398. PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  399. Success: Updated 'siteurl' option.
  400.  
  401. -------------------------------------------------------------
  402. FTP hostname : 206.189.129.198
  403. FTP port : 21
  404. FTP mode : FTP (explicit SSL)
  405. FTP Passive (PASV) : ensure is checked/enabled
  406. FTP username created for wasfitnet.com : navarisun
  407. FTP password created for wasfitnet.com : WorldWarz_1982
  408. -------------------------------------------------------------
  409. vhost for wasfitnet.com created successfully
  410.  
  411.  
  412. vhost ssl for wasfitnet.com created successfully
  413.  
  414. domain: https://wasfitnet.com
  415. vhost ssl conf file for wasfitnet.com created: /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
  416. /usr/local/nginx/conf/ssl_include.conf created
  417. Self-signed SSL Certificate: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt
  418. SSL Private Key: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key
  419. SSL CSR File: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.csr
  420. Backup SSL Private Key: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-backup.key
  421. Backup SSL CSR File: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-backup.csr
  422.  
  423. upload files to /home/nginx/domains/wasfitnet.com/public
  424. vhost log files directory is /home/nginx/domains/wasfitnet.com/log
  425.  
  426. ------------------------------------------------------------
  427. SSH commands to uninstall created Wordpress install and Nginx vhost:
  428. /root/tools/wp_uninstall_wasfitnet.com.sh
  429. ------------------------------------------------------------
  430.  
  431. ------------------------------------------------------------
  432. Wordpress Auto Updater created at:
  433. /root/tools/wp_updater_wasfitnet.com.sh
  434. cronjob set for every 8 hours update (3x times per day)
  435. ------------------------------------------------------------
  436.  
  437. Wordpress domain: wasfitnet.com
  438. Wordpress DB Name: wp2540810808db_15540
  439. Wordpress DB User: wpdb15540u18297
  440. Wordpress DB Pass: wpdbEADUgTHmwSPNEp25699
  441. Wordpress Admin User ID: 246919
  442. Wordpress Admin User: navarisun
  443. Wordpress Admin Pass: WorldWarz_1982
  444. Wordpress Admin Email: navarisun@yahoo.com
  445. Wordpress Admin Display Name: navarisun
  446. Reloading nginx configuration (via systemctl): [ OK ]
  447.  
  448. -------------------------------------------------------------
  449. Current vhost listing at: /usr/local/nginx/conf/conf.d/
  450.  
  451.  
  452. Mar 24 21:26 3.7K 3alamtaney.com.ssl.conf
  453. Mar 24 21:26 3.4K http2.comixat.com.ssl.conf
  454. Mar 24 21:26 3.3K http2.3alamtaney.com.ssl.conf
  455. Mar 24 21:26 5.4K comixat.com.ssl.conf
  456. Mar 24 21:26 1.7K virtual.conf
  457. Mar 24 21:26 844 ssl.conf
  458. Mar 24 21:26 2.2K phpmyadmin_ssl.conf
  459. Mar 24 23:02 4.6K 3alamtaney.com.conf
  460. Mar 25 01:54 5.6K wasfitnet.com.ssl.conf
  461.  
  462. -------------------------------------------------------------
  463. Current vhost ssl files listing at: /usr/local/nginx/conf/ssl/wasfitnet.com
  464.  
  465.  
  466. Sep 22 2018 424 dhparam.pem
  467. Mar 25 01:47 1.7K wasfitnet.com.key
  468. Mar 25 01:47 1.1K wasfitnet.com.csr
  469. Mar 25 01:47 1.3K wasfitnet.com.crt
  470. Mar 25 01:54 327 wasfitnet.com.crt.key.conf
  471.  
  472. ------------------------------------------------------------
  473. To complete setup:
  474. 1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
  475. 2. Settings Menu > Super Cache > Easy tab and enable it by checking Caching On (Recommended) and hit Update Status
  476. 3. Advanced tab & check Use mod_rewrite serve cache files & Don’t cache pages with GET parameters and Known User.
  477. (Recommended), Cache rebuild for anonymous users, clear all cache when a post or page updated & hit Update Status
  478. 4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
  479. ------------------------------------------------------------
  480.  
  481. -------------------------------------------------------------
  482. vhost for wasfitnet.com wordpress setup successfully
  483. wasfitnet.com setup info log saved at:
  484. /root/centminlogs/centminmod_123.09beta01.b116_250319-011935_wasfitnet.com_wordpress_addvhost.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement