Having emails signed with DKIM has become important. DKIM ensure that the mail is not tampered during the transit and also the authenticity of the source. Adding DKIM support to sign outgoing mail in Postfix is quite easy. We need to install opendkim packages, on Ubuntu run
Monthly Archives: October 2019
MySQL 5.7 Reset root password
With mysql 5.7 the mysql.user table do not have the Password column, it has been replaced by the authentication_string column. Another notable difference is the plugin column, which allows for different authentication methods. In Ubuntu 18.04 LTS and later release the default authentication plugin/method for root user is auth_socket. This plugin uses the SO_PEERCRED socket […]
Redirect HTTP to HTTPS
Its important to have your site running with HTTPS i.e secure HTTP connection.It helps in securing your site as well as SEO point of view. If we have root access to your server and can edit Apache configuration file the the simplest method is to add below lines to your virtualhost configuration.
Running PHP-FPM with Apache2.4/mod_proxy_fcgi
Apache2.4 does not support mod_fastcgi, the alternate option is to run php-fpm with mod_proxy_fcgi. On Ubuntu you need to enable mod_proxy and mod_proxy_fcgi. We can now configure apache to run php-fpm as below