Diagnose problems within WordPress by running a series of checks for symptoms.

wp doctor check –all

Diagnose problems within WordPress by running a series of checks for symptoms.

wp package install [email protected]:runcommand/doctor.git

https://runcommand.io/wp/doctor/

wp core verify-checksums

Nginx Starting, Stopping, and Reloading Configuration

nginx -s reopen

To start nginx, run the executable file. Once nginx is started, it can be controlled by invoking the executable with the -s parameter. Use the following syntax:

nginx -s signal

Where signal may be one of the following:

  • stop — fast shutdown
  • quit — graceful shutdown
  • reload — reloading the configuration file
  • reopen — reopening the log files

 

 

http://nginx.org/en/docs/beginners_guide.html

How does reverse SSH tunneling work?

ssh -f -N -T -R22222:localhost:22 yourpublichost.example.com
ssh -p 22222 [email protected]

http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work

Let’s Encrypt SSL certificate renew

In case EasyEngine Let’s Encrypt SSL certificate renew command does not work then we can run the Let’s Encrypt renew command can used redirected

# ./opt/letsencrypt/certbot-auto renew
# netstat -anp | grep :443 | grep ESTABLISHED | wc -l
# fuser -k 443/tcp

Service NGINX reload issue [fixed]

# Kill all the NGINX listen port
O_O[[email protected]:~]# fuser -k 80/tcp;
80/tcp: 3145 3146
^_^[[email protected]:~]# fuser -k 443/tcp;
443/tcp: 3150 3151

https://miteshshah.github.io/linux/nginx/how-to-fix-nginx-reload-issue/

https://bugs.launchpad.net/nginx/+bug/1476296