Month: September 2019

  • Reset MySQL root password in Ubuntu

    Here are quick steps to reset mysql root password in Ubuntu 1. Stop the mysql service instance by 1sudo service mysql stop 2. Start mysqld daemon 12sudo mkdir -v /var/run/mysqld && sudo chown mysql /var/run/mysqld sudo mysqld –skip-grant-tables &

  • Renew Letsencrypt SSL in Ubuntu Linux and fix failed authorization procedure

    Renew Letsencrypt SSL in Ubuntu Linux and fix failed authorization procedure

    When i tried to renew SSL certificate of Letsencrypt, using ” sudo letsencrypt renew ” i found caught error. It’s said “produced an unexpected error: Failed authorization procedure.” I took me a minute and realized that letsencrypt check on authorization acme-challenge on HTTPS instead of HTTP. Where this is because i forced all traffic into […]