Author:
erics , September 22nd, 2021
vi wp-config.php Add at the bottom:
define ( 'WP_DEBUG' , true ) ;
define ( 'WP_DEBUG_LOG' , true ) ;
define ( 'WP_DEBUG_DISPLAY' , true ) ;
ini_set ( 'display_errors' , 1 ) ;
ini_set ( 'display_startup_errors' , 1 ) ;
error_reporting ( E_ALL ) ;
You can also use this URL in later versions: /wp-login.php?action=entered_recovery_mode
Categories: Technology Tags:
| No comments
Author:
erics , September 9th, 2021
The aws s3 sync command is slow and painful! I needed a more efficient way to sync to large buckets (prod to dev). Finally settled on RClone: https://rclone.org/docs/
cd { extracted zip dir }
. / rclone config
cat ~ / . config / rclone / rclone . conf
During rclone config I called remote “s3” ;-}
. / rclone sync - v -- progress -- fast - list -- checksum s3 : wyzaerd - demo - prod s3 : wyzaerd - demo - dev
Categories: How-To's , Technology Tags: AWS , Bucket , howto , rclone , rsync , S3 , s3s3 , s3s3mirror , Sync , tips
| No comments
Author:
erics , September 1st, 2021
There are three commands in Linux to easily get a reverse DNS lookup with: dig, host and nslookup. Here are examples of each: shell> dig -x 3.214.2.238 +short
shell> dig -x 3.214.2.238
; << >> DiG 9.8.2rc1 - RedHat - 9.8.2 - 0.68.rc1.86.amzn1 << >> - x 3.214.2.238
; ; global options : + cmd
; ; Got answer :
; ; -> > HEADER << - opcode : QUERY , status : NOERROR , id : 19300
; ; flags : qr rd ra ; QUERY : 1 , ANSWER : 1 , AUTHORITY : 0 , ADDITIONAL : 0
; ; QUESTION SECTION :
; 238.2.214.3.in - addr . arpa . IN PTR
; ; ANSWER SECTION :
238.2.214.3.in - addr . arpa . 300 IN PTR ns3 . wyzaerd . info .
; ; Query time : 8 msec
; ; SERVER : 10.0.0.2 #53(10.0.0.2)
; ; WHEN : Wed Sep 1 19 : 43 : 56 2021
; ; MSG SIZE rcvd : 72
shell> host 3.214.2.238
238.2.214.3.in - addr . arpa domain name pointer ns3 . wyzaerd . info .
shell> nslookup 3.214.2.238
Server : 10.0.0.2
Address : 10.0.0.2 #53
Non - authoritative answer :
238.2.214.3.in - addr . arpa name = ns3 . wyzaerd . info .
Categories: How-To's , Technology Tags: cli , Command , Command line , dig , dig -x , DNS , Host , howto , lookup , nslookup , Reverse , Reverse DNS , tips
| No comments