Install Nginx in VPS Install Java sudo yum install java-11-openjdk -y // install java java -version // check version Create a new halo user useradd -m halo // new user usermod -aG wheel halo // grant permission passwd halo // set password su – halo // switch user Download halo.jar mkdir ~/app && cd ~/app …
Solve “Error Establishing Database Connection” on WordPress
Connect to server console. In my case, I just log in digitalocean and click console from my droplet. Check mysql status: sudo netstat -plt If we can’t see mysql appear in output from previous step, restart mysql manually: sudo systemctl start mysql Problem should be fixed if you are lucky 🙂