Advertisement
Guest User

Untitled

a guest
Apr 8th, 2017
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 13.08 KB | None | 0 0
  1. ------------------------------------------------------------
  2. (BInstalling wpcli.sh
  3. (B------------------------------------------------------------
  4. (Binstalling...
  5.  
  6. Error: /usr/bin/wp not found !!! Downloading now......
  7. 2017-04-08 19:33:46 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [5235728/5235728] -> "/usr/bin/wp" [1]
  8. Download done.
  9.  
  10. Error: /root/wpcli/wp-completion.bash not found !!! Downloading now......
  11. 2017-04-08 19:33:46 URL:https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash [495/495] -> "/root/wpcli/wp-completion.bash" [1]
  12. Download done.
  13.  
  14.  
  15. -------------------------------------------------------------
  16. PHP binary: /usr/local/bin/php
  17. PHP version:    5.6.30
  18. php.ini used:   /usr/local/lib/php.ini
  19. WP-CLI root dir:    phar://wp-cli.phar
  20. WP-CLI packages dir:   
  21. WP-CLI global config:  
  22. WP-CLI project config: 
  23. WP-CLI version: 1.1.0
  24. -------------------------------------------------------------
  25.  
  26. -------------------------------------------------------------
  27. wp-cli install completed
  28. Read http://wp-cli.org/ for full usage info
  29.  
  30. -------------------------------------------------------------
  31. Please log out of SSH session and log back in
  32. You can then call wp-cli via command: wp
  33. i.e. wp --info --allow-root
  34. -------------------------------------------------------------
  35.  
  36. -------------------------------------------------------------
  37. (BSetup full Nginx vhost + Wordpress + WP Plugins
  38. (B-------------------------------------------------------------
  39. (B
  40. Enter vhost domain name you want to add (without www. prefix): quieromipeliculah
  41. d.com
  42.  
  43. Create a self-signed SSL certificate Nginx vhost? [y/n]: n
  44. Theme Setup:
  45. Install CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]:  
  46. y
  47.  
  48. Wordpress Setup:
  49. Set custom WP Admin Display Name ? [y/n]: y
  50. Enter Custom WP Admin Display Name: admin
  51. Install Wordpress in subdirectory /blog ? [y/n]: n
  52. Disable Auto Generated WP Admin Username / Password ? [y/n]: n
  53. Disable wp-login.php password protection ? (less security) [y/n]: y
  54. Enter email address for Admin User for Wordpress Installation: lu9fcb@gmail.com
  55.  
  56. Default is to install KeyCDN WP Cache Enabler Plugin
  57. (Bas it's more stable and reliable than WP Super Cache.
  58. (BRedis cache may have issues with caching due to long 6hr cache TTL
  59. (BYou can select which caching method to use below:
  60. (B
  61. --------------------------------------------------------
  62. (B        Wordpress Caching              
  63. (B--------------------------------------------------------
  64. (B1). KeyCDN Cache Enabler (default & recommended)
  65. (B2). Redis Nginx Level Caching (may have issues with some wp plugins)
  66. (B3). Wordpress Super Cache
  67. (B--------------------------------------------------------
  68. (BEnter option [ 1 - 3 ] 1
  69.  
  70. Create FTP username for vhost domain (enter username): quieromipeliculahd
  71. Do you want to auto generate FTP password (recommended) [y/n]: n
  72. Create FTP password for quieromipeliculahd (enter password): corintios999
  73.  
  74. FTP username you entered: quieromipeliculahd
  75. FTP password you entered: corintios999
  76.  
  77. Password:
  78. Enter it again:
  79.  
  80. include file /usr/local/nginx/conf/wpcacheenabler_map.conf add to nginx.conf
  81.  
  82. include file /usr/local/nginx/conf/redisupstream.conf add to nginx.conf
  83. ------------------------------------------------------------
  84. (BSetup Wordpress + Cache Enabler for quieromipeliculahd.com
  85. (B------------------------------------------------------------
  86. (B
  87. Using full static page caching may cause problems for mobile & tablet device
  88. visitors depending on your WP themes used so you may want to exclude those
  89.  
  90. Do you want to exclude mobile/tablet devices from Cache Enabler caching ? [y/n]:
  91. y
  92. Downloading WordPress 4.7.3 (en_US)...
  93. md5 hash verified: 044729d30b720809f19e14ece49e119b
  94. Success: WordPress downloaded.
  95. Success: Generated 'wp-config.php' file.
  96. 11 */23 * * * /usr/local/src/centminmod/tools/autoprotect.sh 2>/dev/null
  97. 0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
  98. #*/15 * * * * sleep 168s ; wget -O - -q -t 1 http://quieromipeliculahd.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  99. Success: WordPress installed successfully.
  100. Success: Updated user 312551.
  101. Success: Rewrite rules flushed.
  102. Success: Rewrite structure set.
  103. ------------------------------------------------------------
  104. (BInstalling Responsive (2.4)
  105. Downloading install package from https://downloads.wordpress.org/theme/responsive.2.4.zip...
  106. Unpacking the package...
  107. Installing the theme...
  108. Theme installed successfully.
  109. Activating 'responsive'...
  110. Success: Switched to 'Responsive' theme.
  111. Success: Installed 1 of 1 themes.
  112. ------------------------------------------------------------
  113. (B------------------------------------------------------------
  114. (BInstalling Cache Enabler – WordPress Cache (1.2.0)
  115. Downloading install package from https://downloads.wordpress.org/plugin/cache-enabler.zip...
  116. Unpacking the package...
  117. Installing the plugin...
  118. Plugin installed successfully.
  119. Activating 'cache-enabler'...
  120. Plugin 'cache-enabler' activated.
  121. Success: Installed 1 of 1 plugins.
  122. ------------------------------------------------------------
  123. (BInstalling Optimus – WordPress Image Optimizer (1.4.8)
  124. Downloading install package from https://downloads.wordpress.org/plugin/optimus.zip...
  125. Unpacking the package...
  126. Installing the plugin...
  127. Plugin installed successfully.
  128. Activating 'optimus'...
  129. Plugin 'optimus' activated.
  130. Success: Installed 1 of 1 plugins.
  131. ------------------------------------------------------------
  132. (B------------------------------------------------------------
  133. (BInstalling Sucuri Security – Auditing, Malware Scanner and Security Hardening (1.8.3)
  134. Downloading install package from https://downloads.wordpress.org/plugin/sucuri-scanner.1.8.3.zip...
  135. Unpacking the package...
  136. Installing the plugin...
  137. Plugin installed successfully.
  138. Activating 'sucuri-scanner'...
  139. Plugin 'sucuri-scanner' activated.
  140. Success: Installed 1 of 1 plugins.
  141. ------------------------------------------------------------
  142. (BInstalling Disable XML-RPC (1.0.1)
  143. Downloading install package from https://downloads.wordpress.org/plugin/disable-xml-rpc.1.0.1.zip...
  144. Unpacking the package...
  145. Installing the plugin...
  146. Plugin installed successfully.
  147. Activating 'disable-xml-rpc'...
  148. Plugin 'disable-xml-rpc' activated.
  149. Success: Installed 1 of 1 plugins.
  150. ------------------------------------------------------------
  151. (BInstalling CDN Enabler – WordPress CDN Plugin (1.0.4)
  152. Downloading install package from https://downloads.wordpress.org/plugin/cdn-enabler.zip...
  153. Unpacking the package...
  154. Installing the plugin...
  155. Plugin installed successfully.
  156. Activating 'cdn-enabler'...
  157. Plugin 'cdn-enabler' activated.
  158. Success: Installed 1 of 1 plugins.
  159. ------------------------------------------------------------
  160. (BUninstalled and deleted 'hello' plugin.
  161. Success: Uninstalled 1 of 1 plugins.
  162. Success: Plugin already updated.
  163.  
  164. 6 installed plugins:
  165.  I akismet         3.3
  166.  A cache-enabler   1.2.0
  167.  A cdn-enabler     1.0.4
  168.  A disable-xml-rpc 1.0.1
  169.  A optimus         1.4.8
  170.  A sucuri-scanner  1.8.3
  171.  
  172. Legend: I = Inactive, A = Active
  173. ------------------------------------------------------------
  174. (B11 */23 * * * /usr/local/src/centminmod/tools/autoprotect.sh 2>/dev/null
  175. 0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
  176. #*/15 * * * * sleep 168s ; wget -O - -q -t 1 http://quieromipeliculahd.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  177. 16 23 * * * echo quieromipeliculahd.com cacheenabler cron; sleep 198s ; rm -rf /home/nginx/domains/quieromipeliculahd.com/public/wp-content/cache/cache-enabler/* > /dev/null 2>&1
  178. ------------------------------------------------------------
  179. (BCreated uninstall script
  180. (B/root/tools/wp_uninstall_quieromipeliculahd.com.sh
  181. (B------------------------------------------------------------
  182. (B------------------------------------------------------------
  183. (BCreated wp_updater_quieromipeliculahd.com.sh script
  184. (B/root/tools/wp_updater_quieromipeliculahd.com.sh
  185. (B------------------------------------------------------------
  186. (B11 */23 * * * /usr/local/src/centminmod/tools/autoprotect.sh 2>/dev/null
  187. 0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
  188. #*/15 * * * * sleep 168s ; wget -O - -q -t 1 http://quieromipeliculahd.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
  189. 16 23 * * * echo quieromipeliculahd.com cacheenabler cron; sleep 198s ; rm -rf /home/nginx/domains/quieromipeliculahd.com/public/wp-content/cache/cache-enabler/* > /dev/null 2>&1
  190. 0 */8 * * * sleep 278s ;/root/tools/wp_updater_quieromipeliculahd.com.sh >/dev/null 2>&1
  191.  
  192. -------------------------------------------------------------
  193. (Bgenerated nginx include file [same]: /usr/local/nginx/conf/autoprotect/demodomain.com/autoprotect-demodomain.com.conf
  194. generated nginx include file [initial]: /usr/local/nginx/conf/autoprotect/quieromipeliculahd.com/autoprotect-quieromipeliculahd.com.conf
  195.  
  196. autoprotect.sh run completed skipped nginx restart...
  197.  
  198. Restarting nginx (via systemctl):  [  OK  ]
  199. service nginx reload
  200. Reloading nginx configuration (via systemctl):  [  OK  ]
  201. service php-fpm restart
  202. Gracefully shutting down php-fpm . done
  203. Starting php-fpm  done
  204. systemctl restart pure-ftpd.service
  205.  
  206. -------------------------------------------------------------
  207. (BFTP hostname : 158.69.215.142
  208. (BFTP port : 21
  209. (BFTP mode : FTP (explicit SSL)
  210. (BFTP Passive (PASV) : ensure is checked/enabled
  211. (BFTP username created for quieromipeliculahd.com : quieromipeliculahd
  212. (BFTP password created for quieromipeliculahd.com : corintios999
  213. (B-------------------------------------------------------------
  214. (Bvhost for quieromipeliculahd.com created successfully
  215. (B
  216. domain: http://quieromipeliculahd.com
  217. (Bvhost conf file for quieromipeliculahd.com created: /usr/local/nginx/conf/conf.d/quieromipeliculahd.com.conf
  218. (B
  219. upload files to /home/nginx/domains/quieromipeliculahd.com/public
  220. (Bvhost log files directory is /home/nginx/domains/quieromipeliculahd.com/log
  221. (B
  222. ------------------------------------------------------------
  223. (BSSH commands to uninstall created Wordpress install and Nginx vhost:
  224. (B  /root/tools/wp_uninstall_quieromipeliculahd.com.sh
  225. (B------------------------------------------------------------
  226. (B
  227. ------------------------------------------------------------
  228. (BWordpress Auto Updater created at:
  229. (B  /root/tools/wp_updater_quieromipeliculahd.com.sh
  230. (Bcronjob set for every 8 hours update (3x times per day)
  231. (B------------------------------------------------------------
  232. (B
  233. Wordpress domain: quieromipeliculahd.com
  234. (BWordpress DB Name: wp53354900db_11943
  235. (BWordpress DB User: wpdb11943u22770
  236. (BWordpress DB Pass: wpdboyfrc7LFVCYRp3381
  237. (BWordpress Admin User ID: 312551
  238. (BWordpress Admin User: zcQ9A10mTmJBwaHg6Yywp8411
  239. (BWordpress Admin Pass: zyWoXVrGXoRwps8345
  240. (BWordpress Admin Email: lu9fcb@gmail.com
  241. (BWordpress Admin Display Name: admin
  242. (BRestarting nginx (via systemctl):  [  OK  ]
  243. Gracefully shutting down php-fpm . done
  244. Starting php-fpm  done
  245.  
  246. -------------------------------------------------------------
  247. (BCurrent vhost listing at: /usr/local/nginx/conf/conf.d/
  248. (B
  249.                      
  250. Apr 7   23:59   846    ssl.conf
  251. Apr 7   23:59   1.1K   demodomain.com.conf
  252. Apr 8   00:09   1.6K   virtual.conf
  253. Apr 8   19:36   3.5K   quieromipeliculahd.com.conf
  254.  
  255. ------------------------------------------------------------
  256. (BTo complete setup:
  257. (B  1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
  258.  2. Settings Menu > Cache Enabler set options and hit Save Changes
  259.  3. Settings Menu > Optimus set options and hit Save Changes
  260.  4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
  261. (B------------------------------------------------------------
  262. (B
  263. -------------------------------------------------------------
  264. (Bvhost for quieromipeliculahd.com wordpress setup successfully
  265. (Bquieromipeliculahd.com setup info log saved at:
  266. (B/root/centminlogs/centminmod_1.2.3-eva2000.09.004_080417-192717_wordpress_addvhost.log
  267. (B-------------------------------------------------------------
  268. (B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement