Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------------------------------------
- Update wp-cli tool
- ------------------------------------------------------------
- updating...
- -------------------------------------------------------------
- update wp-cli packages
- 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
- Using Composer to update packages...
- ---
- Loading composer repositories with package information
- Updating dependencies
- 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
- -------------------------------------------------------------
- update wp-cli
- 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]
- 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
- OS: Linux 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
- Shell: /bin/bash
- PHP binary: /usr/local/bin/php
- PHP version: 7.3.3
- php.ini used: /usr/local/lib/php.ini
- WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
- WP-CLI vendor dir: phar://wp-cli.phar/vendor
- WP_CLI phar path: /usr/local/src/centminmod/addons
- WP-CLI packages dir: /root/.wp-cli/packages/
- WP-CLI global config:
- WP-CLI project config:
- WP-CLI version: 2.1.0
- -------------------------------------------------------------
- wp-cli update completed
- Read http://wp-cli.org/ for full usage info
- -------------------------------------------------------------
- -------------------------------------------------------------
- Setup full Nginx vhost + Wordpress + WP Plugins
- -------------------------------------------------------------
- ---------------------------------------------------------------
- Important Information
- ---------------------------------------------------------------
- You are about to create an Wordpress based Nginx vhost site with
- or without HTTPS/SSL support.
- Also read the continually updated Getting Started Guide
- at centminmod.com/getstarted.html if you haven't already
- ---------------------------------------------------------------
- 403 Permission denied message handling
- if after vhost site setup you encounter 403 permission denied errors,
- check https://community.centminmod.com/threads/11215/ to see if your
- site needs tools/autoprotect.sh tweaking & whitelisting
- ---------------------------------------------------------------
- Do you want to continue with Nginx vhost site creation ? [y/n] y
- Enter vhost domain name you want to add (without www. prefix): wasfitnet.com
- Create a self-signed SSL certificate Nginx vhost? [y/n]: y
- Get Letsencrypt SSL certificate Nginx vhost? [y/n]: y
- You have 4 options:
- 1. issue staging test cert with HTTP + HTTPS (untrusted)
- 2. issue staging test cert with HTTPS default (untrusted)
- 3. issue live cert with HTTP + HTTPS (trusted)
- 4. issue live cert with HTTPS default (trusted)
- Enter option number 1-4: 4
- Theme Setup:
- nnstall CyberChimps Responsive Theme (cyberchimps.com/responsive-theme/) [y/n]: n
- Wordpress Setup:
- Set custom WP Admin Display Name ? [y/n]: y
- Enter Custom WP Admin Display Name: navarisun
- Install Wordpress in subdirectory /blog ? [y/n]: n
- Disable Auto Generated WP Admin Username / Password ? [y/n]: y
- Disable wp-login.php password protection ? (less security) [y/n]: y
- --------------------------
- !! Security Note !!
- --------------------------
- Please choose a stronger Username/Password Combination
- Enter desired WP Admin Username: navarisun
- Enter desired WP Admin Password: WorldWarz_1982
- omter email address for Admin User for Wordpress Installation: navarisun@yahoo.c
- Default is to install KeyCDN WP Cache Enabler Plugin
- as it's more stable and reliable than WP Super Cache.
- Redis cache may have issues with caching due to long 6hr cache TTL
- You can select which caching method to use below:
- --------------------------------------------------------
- Wordpress Caching
- --------------------------------------------------------
- 1). KeyCDN Cache Enabler (default & recommended)
- 2). Redis Nginx Level Caching (may have issues with some wp plugins)
- 3). Wordpress Super Cache
- --------------------------------------------------------
- Enter option [ 1 - 3 ] 3
- Create FTP username for vhost domain (enter username): navarisun
- Do you want to auto generate FTP password (recommended) [y/n]: n
- Create FTP password for navarisun (enter password): WorldWarz_1982
- FTP username you entered: navarisun
- FTP password you entered: WorldWarz_1982
- Password:
- Enter it again: Error.
- Check that [navarisun] doesn't already exist,
- and that [/etc/pure-ftpd/pureftpd.passwd.tmp] can be written.
- ---------------------------------------------------------------
- SSL Vhost Setup...
- ---------------------------------------------------------------
- --2019-03-25 01:47:35-- https://support.cloudflare.com/hc/en-us/article_attachments/201243967/origin-pull-ca.pem
- Resolving support.cloudflare.com... 104.16.54.111, 104.16.51.111, 104.16.53.111, ...
- Connecting to support.cloudflare.com|104.16.54.111|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 2151 (2.1K) [application/x-x509-ca-cert]
- Saving to: ‘origin.crt’
- 0K .. 100% 14.0M=0s
- 2019-03-25 01:47:35 (14.0 MB/s) - ‘origin.crt’ saved [2151/2151]
- ---------------------------------------------------------------
- Generating self signed SSL certificate...
- CSR file can also be used to be submitted for paid SSL certificates
- If using for paid SSL certificates be sure to keep both private key and CSR safe
- creating CSR File: wasfitnet.com.csr
- creating private key: wasfitnet.com.key
- creating self-signed SSL certificate: wasfitnet.com.crt
- Generating a 2048 bit RSA private key
- ............+++
- ..+++
- writing new private key to 'wasfitnet.com.key'
- -----
- Signature ok
- subject=/C=US/ST=California/L=Los Angeles/O=wasfitnet.com/OU=wasfitnet.com/CN=wasfitnet.com
- Getting Private key
- ---------------------------------------------------------------
- Copy/setup dhparam.pem file...
- ------------------------------------------------------------
- Setup Wordpress + Super Cache for wasfitnet.com
- ------------------------------------------------------------
- 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
- Downloading WordPress 5.1.1 (en_US)...
- md5 hash verified: e878b33b520f61e61f2caa0f08886c1b
- Success: WordPress downloaded.
- 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
- Success: Generated 'wp-config.php' file.
- 0 */4 * * * /usr/bin/cminfo_updater
- */15 * * * * sleep 278s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
- 0 */8 * * * sleep 234s ;/root/tools/wp_updater_3alamtaney.com.sh 2>/dev/null
- */15 * * * * sleep 189s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
- 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
- 01 1 * * 0 /usr/bin/certbot renew >> /var/log/ssl-renew.log
- 06 1 * * 0 /usr/bin/systemctl nginx reload
- 13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
- #*/15 * * * * sleep 218s ; wget -O - -q -t 1 http://comixat.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
- 0 */8 * * * sleep 264s ;/root/tools/wp_updater_comixat.com.sh >/dev/null 2>&1
- 19 02 * * * /root/tools/phpmyadmin_update.sh
- #*/15 * * * * sleep 216s ; wget -O - -q -t 1 http://wasfitnet.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
- 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
- Success: WordPress installed successfully.
- 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
- 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
- Success: Updated user 246919.
- 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
- 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
- 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
- Success: Rewrite rules flushed.
- Success: Rewrite structure set.
- ------------------------------------------------------------
- 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
- Installing WP Super Cache (1.6.4)
- Downloading installation package from https://downloads.wordpress.org/plugin/wp-super-cache.1.6.4.zip...
- Unpacking the package...
- Installing the plugin...
- Plugin installed successfully.
- Activating 'wp-super-cache'...
- Plugin 'wp-super-cache' activated.
- Success: Installed 1 of 1 plugins.
- ------------------------------------------------------------
- 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
- Installing WP Super Cache – Clear all cache (1.4)
- Downloading installation package from https://downloads.wordpress.org/plugin/wp-super-cache-clear-cache-menu.1.4.zip...
- Unpacking the package...
- Installing the plugin...
- Plugin installed successfully.
- Activating 'wp-super-cache-clear-cache-menu'...
- Plugin 'wp-super-cache-clear-cache-menu' activated.
- Success: Installed 1 of 1 plugins.
- ------------------------------------------------------------
- ------------------------------------------------------------
- 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
- Installing Sucuri Security – Auditing, Malware Scanner and Security Hardening (1.8.20)
- Downloading installation package from https://downloads.wordpress.org/plugin/sucuri-scanner.1.8.20.zip...
- Unpacking the package...
- Installing the plugin...
- Plugin installed successfully.
- Activating 'sucuri-scanner'...
- Plugin 'sucuri-scanner' activated.
- Success: Installed 1 of 1 plugins.
- ------------------------------------------------------------
- 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
- Installing Disable XML-RPC (1.0.1)
- Downloading installation package from https://downloads.wordpress.org/plugin/disable-xml-rpc.1.0.1.zip...
- Unpacking the package...
- Installing the plugin...
- Plugin installed successfully.
- Activating 'disable-xml-rpc'...
- Plugin 'disable-xml-rpc' activated.
- Success: Installed 1 of 1 plugins.
- ------------------------------------------------------------
- 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
- Installing CDN Enabler – WordPress CDN Plugin (1.0.8)
- Downloading installation package from https://downloads.wordpress.org/plugin/cdn-enabler.zip...
- Unpacking the package...
- Installing the plugin...
- Plugin installed successfully.
- Activating 'cdn-enabler'...
- Plugin 'cdn-enabler' activated.
- Success: Installed 1 of 1 plugins.
- ------------------------------------------------------------
- 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
- Uninstalled and deleted 'hello' plugin.
- Success: Uninstalled 1 of 1 plugins.
- 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
- Success: Plugin already updated.
- 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
- 7 installed plugins:
- I akismet 4.1.1
- A cdn-enabler 1.0.8
- A disable-xml-rpc 1.0.1
- A sucuri-scanner 1.8.20
- A wp-super-cache 1.6.4
- A wp-super-cache-clear-cache-menu 1.4
- D advanced-cache.php
- Legend: I = Inactive, A = Active, D = Drop-In
- ------------------------------------------------------------
- total 8.0K
- drwxr-sr-x 2 nginx nginx 4.0K Mar 25 01:48 .
- drwxr-s--- 8 nginx nginx 4.0K Mar 25 01:48 ..
- <?php exit(0); ?>
- {"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"}
- ------------------------------------------------------------
- Created uninstall script
- /root/tools/wp_uninstall_wasfitnet.com.sh
- ------------------------------------------------------------
- ------------------------------------------------------------
- Created wp_updater_wasfitnet.com.sh script
- /root/tools/wp_updater_wasfitnet.com.sh
- ------------------------------------------------------------
- 158
- 15
- final 158
- final 15
- 0 */4 * * * /usr/bin/cminfo_updater
- */15 * * * * sleep 278s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
- 0 */8 * * * sleep 234s ;/root/tools/wp_updater_3alamtaney.com.sh 2>/dev/null
- */15 * * * * sleep 189s ; wget -O - -q -t 1 http://3alamtaney.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
- 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
- 01 1 * * 0 /usr/bin/certbot renew >> /var/log/ssl-renew.log
- 06 1 * * 0 /usr/bin/systemctl nginx reload
- 13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
- #*/15 * * * * sleep 218s ; wget -O - -q -t 1 http://comixat.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
- 0 */8 * * * sleep 264s ;/root/tools/wp_updater_comixat.com.sh >/dev/null 2>&1
- 19 02 * * * /root/tools/phpmyadmin_update.sh
- #*/15 * * * * sleep 216s ; wget -O - -q -t 1 http://wasfitnet.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
- 0 */8 * * * sleep 158s ;/root/tools/wp_updater_wasfitnet.com.sh >/dev/null 2>&1
- -------------------------------------------------------------
- generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/3alamtaney.com/autoprotect-3alamtaney.com.conf
- generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/comixat.com/autoprotect-comixat.com.conf
- generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/http2.3alamtaney.com/autoprotect-http2.3alamtaney.com.conf
- generated nginx include file [same]: /usr/local/nginx/conf/autoprotect/http2.comixat.com/autoprotect-http2.comixat.com.conf
- generated nginx include file [initial]: /usr/local/nginx/conf/autoprotect/wasfitnet.com/autoprotect-wasfitnet.com.conf
- autoprotect.sh run completed skipped nginx reload...
- Reloading nginx configuration (via systemctl): [ OK ]
- service nginx reload
- Reloading nginx configuration (via systemctl): [ OK ]
- service php-fpm restart
- Redirecting to /bin/systemctl restart php-fpm.service
- systemctl restart pure-ftpd.service
- -------------------------------------------------------------
- ok: /usr/local/src/centminmod/addons/acmetool.sh
- /usr/local/src/centminmod/addons/acmetool.sh issue wasfitnet.com wplived
- -------------------------------------------------
- acmetool.sh is in beta testing phase
- please read & provide bug reports &
- feedback for this tool via the forums
- https://centminmod.com/acmetool
- -------------------------------------------------
- continue [y/n] ? y
- -----------------------------------------------------
- updating acme.sh client...
- -----------------------------------------------------
- Cloning into 'acme.sh'...
- [Mon Mar 25 01:54:36 UTC 2019] It is recommended to install socat first.
- [Mon Mar 25 01:54:36 UTC 2019] We use socat for standalone server if you use standalone mode.
- [Mon Mar 25 01:54:36 UTC 2019] If you don't use standalone mode, just ignore this warning.
- [Mon Mar 25 01:54:36 UTC 2019] Installing to /root/.acme.sh
- [Mon Mar 25 01:54:36 UTC 2019] Installed to /root/.acme.sh/acme.sh
- [Mon Mar 25 01:54:36 UTC 2019] Installing alias to '/root/.bashrc'
- [Mon Mar 25 01:54:36 UTC 2019] OK, Close and reopen your terminal to start using acme.sh
- [Mon Mar 25 01:54:36 UTC 2019] Installing cron job
- 59 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/nuld
- [Mon Mar 25 01:54:36 UTC 2019] Good, bash is found, so change the shebang to use bash as preferred.
- [Mon Mar 25 01:54:37 UTC 2019] OK
- https://github.com/Neilpang/acme.sh
- v2.8.1
- -----------------------------------------------------
- acme.sh updated
- -----------------------------------------------------
- backup & remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
- [self-signed ssl cert check] required by acmetool.sh
- [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/dhparam.pem exists
- [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt exists
- [self-signed ssl] /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key exists
- [sslvhostsetup] create /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
- [wp] backup & remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
- [wp] create /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
- cp -a /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp2
- sed -i '1,12d' /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf-wp2
- 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
- cat /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt.key.conf
- ssl_dhparam /usr/local/nginx/conf/ssl/wasfitnet.com/dhparam.pem;
- ssl_certificate /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt;
- ssl_certificate_key /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key;
- #ssl_trusted_certificate /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-trusted.crt;
- Reloading nginx configuration (via systemctl): [ OK ]
- setting HTTPS default in /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
- sed -i 's|^##x# HTTPS-DEFAULT|#x# HTTPS-DEFAULT|g' "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
- sed -i "s|#x# server {| server {|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
- sed -i "s|#x# | |" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
- 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"
- 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"
- 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"
- sed -i "s|#x# }| }|" "/usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf"
- remove /usr/local/nginx/conf/conf.d/wasfitnet.com.conf
- grep 'root' /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
- root /home/nginx/domains/wasfitnet.com/public;
- -----------------------------------------------------------
- issue & install letsencrypt ssl certificate for wasfitnet.com
- -----------------------------------------------------------
- testcert value = wplived
- wp routine detected use reissue instead via --force
- /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
- [Mon Mar 25 01:54:40 UTC 2019] Registering account
- [Mon Mar 25 01:54:42 UTC 2019] Registered
- [Mon Mar 25 01:54:42 UTC 2019] ACCOUNT_THUMBPRINT='Jxx4ydXiiWjnJyrBpGeBCueELRn5zPaJwepmzYUEdac'
- [Mon Mar 25 01:54:42 UTC 2019] Creating domain key
- [Mon Mar 25 01:54:43 UTC 2019] The domain key is here: /root/.acme.sh/wasfitnet.com/wasfitnet.com.key
- [Mon Mar 25 01:54:43 UTC 2019] Multi domain='DNS:wasfitnet.com,DNS:www.wasfitnet.com'
- [Mon Mar 25 01:54:43 UTC 2019] Getting domain auth token for each domain
- [Mon Mar 25 01:54:45 UTC 2019] Getting webroot for domain='wasfitnet.com'
- [Mon Mar 25 01:54:45 UTC 2019] Getting webroot for domain='www.wasfitnet.com'
- [Mon Mar 25 01:54:45 UTC 2019] Verifying: wasfitnet.com
- [Mon Mar 25 01:54:48 UTC 2019] Success
- [Mon Mar 25 01:54:48 UTC 2019] Verifying: www.wasfitnet.com
- [Mon Mar 25 01:54:51 UTC 2019] www.wasfitnet.com:Verify error:dns :: DNS problem: NXDOMAIN looking up A for www.wasfitnet.com
- [Mon Mar 25 01:54:51 UTC 2019] Please check log file for more details: /root/centminlogs/acmetool.sh-debug-log-250319-014847.log
- LECHECK = 1
- log files saved at /root/centminlogs
- -rw-r--r-- 1 root root 59K Mar 25 01:54 acmetool.sh-debug-log-250319-014847.log
- -rw-r--r-- 1 root root 5.3K Mar 25 01:54 acmesh-issue_250319-014847.log
- -------------------------------------------------------------
- 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
- Success: Updated 'home' option.
- 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
- Success: Updated 'siteurl' option.
- -------------------------------------------------------------
- FTP hostname : 206.189.129.198
- FTP port : 21
- FTP mode : FTP (explicit SSL)
- FTP Passive (PASV) : ensure is checked/enabled
- FTP username created for wasfitnet.com : navarisun
- FTP password created for wasfitnet.com : WorldWarz_1982
- -------------------------------------------------------------
- vhost for wasfitnet.com created successfully
- vhost ssl for wasfitnet.com created successfully
- domain: https://wasfitnet.com
- vhost ssl conf file for wasfitnet.com created: /usr/local/nginx/conf/conf.d/wasfitnet.com.ssl.conf
- /usr/local/nginx/conf/ssl_include.conf created
- Self-signed SSL Certificate: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.crt
- SSL Private Key: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.key
- SSL CSR File: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com.csr
- Backup SSL Private Key: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-backup.key
- Backup SSL CSR File: /usr/local/nginx/conf/ssl/wasfitnet.com/wasfitnet.com-backup.csr
- upload files to /home/nginx/domains/wasfitnet.com/public
- vhost log files directory is /home/nginx/domains/wasfitnet.com/log
- ------------------------------------------------------------
- SSH commands to uninstall created Wordpress install and Nginx vhost:
- /root/tools/wp_uninstall_wasfitnet.com.sh
- ------------------------------------------------------------
- ------------------------------------------------------------
- Wordpress Auto Updater created at:
- /root/tools/wp_updater_wasfitnet.com.sh
- cronjob set for every 8 hours update (3x times per day)
- ------------------------------------------------------------
- Wordpress domain: wasfitnet.com
- Wordpress DB Name: wp2540810808db_15540
- Wordpress DB User: wpdb15540u18297
- Wordpress DB Pass: wpdbEADUgTHmwSPNEp25699
- Wordpress Admin User ID: 246919
- Wordpress Admin User: navarisun
- Wordpress Admin Pass: WorldWarz_1982
- Wordpress Admin Email: navarisun@yahoo.com
- Wordpress Admin Display Name: navarisun
- Reloading nginx configuration (via systemctl): [ OK ]
- -------------------------------------------------------------
- Current vhost listing at: /usr/local/nginx/conf/conf.d/
- Mar 24 21:26 3.7K 3alamtaney.com.ssl.conf
- Mar 24 21:26 3.4K http2.comixat.com.ssl.conf
- Mar 24 21:26 3.3K http2.3alamtaney.com.ssl.conf
- Mar 24 21:26 5.4K comixat.com.ssl.conf
- Mar 24 21:26 1.7K virtual.conf
- Mar 24 21:26 844 ssl.conf
- Mar 24 21:26 2.2K phpmyadmin_ssl.conf
- Mar 24 23:02 4.6K 3alamtaney.com.conf
- Mar 25 01:54 5.6K wasfitnet.com.ssl.conf
- -------------------------------------------------------------
- Current vhost ssl files listing at: /usr/local/nginx/conf/ssl/wasfitnet.com
- Sep 22 2018 424 dhparam.pem
- Mar 25 01:47 1.7K wasfitnet.com.key
- Mar 25 01:47 1.1K wasfitnet.com.csr
- Mar 25 01:47 1.3K wasfitnet.com.crt
- Mar 25 01:54 327 wasfitnet.com.crt.key.conf
- ------------------------------------------------------------
- To complete setup:
- 1. Enable Permalinks (DO NOT use links with .html extensions for performance reasons) i.e. /%post_id%/%postname%/
- 2. Settings Menu > Super Cache > Easy tab and enable it by checking Caching On (Recommended) and hit Update Status
- 3. Advanced tab & check Use mod_rewrite serve cache files & Don’t cache pages with GET parameters and Known User.
- (Recommended), Cache rebuild for anonymous users, clear all cache when a post or page updated & hit Update Status
- 4. Appearance > Theme Options (Responsive theme) > Home Page nav bar > Uncheck Overrides Wordpress front page option
- ------------------------------------------------------------
- -------------------------------------------------------------
- vhost for wasfitnet.com wordpress setup successfully
- wasfitnet.com setup info log saved at:
- /root/centminlogs/centminmod_123.09beta01.b116_250319-011935_wasfitnet.com_wordpress_addvhost.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement