Monday, February 11, 2019

wkhtmltopdf error : QXcbConnection: Could not connect to display

Solution :
Make sure you have installed wkhtmltopdf with patched QT version.
wkhtmltopdf --version
wkhtmltopdf 0.x.x (with patched qt)

 Download the latest wkhtmltopdf from here and install accordingly.

host smtp.gmail.com said: 530-5.5.1 Authentication Required.

Postfix Error :

gmail smtp error : While sending mail through postfix using gmail smtp details

host smtp.gmail.com[74.125.24.108] said: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1  https://support.google.com/mail/?p=WantAuthError g70sm5432169pfg.98 - gsmtp

Solution :
1. Make sure you have added correct port 587 in main.cf and sasl_password
2. Make secure less secure app is on in your gmail account.



bitnami - Change phpmyadmin url and access using public IP

Since we are going to make the url public, it is good practice if we make it non-predictable.
sudo nano /opt/bitnami/apps/phpmyadmin/conf/httpd-prefix.conf
Alias /phpMyAdminZAQWDCFRTdf1236 "/opt/bitnami/apps/phpmyadmin/htdocs"

Now give the privileges to make it public.

sudo nano /opt/bitnami/apps/phpmyadmin/conf/httpd-app.conf
<IfVersion >= 2.3>
Require all granted
</IfVersion>

bitnami mysql password
cat /home/bitnami/bitnami_application_password
This is wp-admin password / mysql root password
cat  /home/bitnami/bitnami_credentials
Welcome to the Bitnami WordPress Stack