My requirements Have registered domain and a web server is already hosted for the same. Need is to add a ‘mail’ subdomain associated with a different public IP and set up a mail server. Have access to DNS management and will be configuring mail server on a VM on my server (hosted in a datacenter)…
Month: December 2019
dnsmasq : For my local network
Need was to have a DNS service serving my local network name resolutions. After surfing on multiple how tos, found dnsmasq would suffice my needs. Install dnsmasq #apt install -y dnsmasq Edit the configuration file and updated the following entries (uncomment if commented) # Never forward plain names (without a dot or domain part) domain-needed…
Highly available, Load balanced MariaDB cluster using Galera, HAProxy and Keepalived
Bring up 5 Vms and in each VM update /etc/hosts with following entries (to match requirements) 10.1.1.5 db1 10.1.1.6 db2 10.1.1.7 db3 10.1.1.10 haproxy1 10.1.1.11 haproxy2 Install mariadb in db1, db2 and db3. Install net-tools also, netstat would be handy for some checks. Stop mariadb service. apt install mariadb-server net-tools service mariadb stop Edit /etc/mysql/mariadb.conf.d/50-server.cnf…
Configure Postfix – Relay only!
Did not want to use any SMTP plugin in the WordPress installation. Reading through the posts on the net to achieve mails being sent from WordPress the wp_mail() is used and it attempts to delivery the mail to port 25 of localhost. So decided to configure Postfix to accepts mails for delivery to be relayed…
Install Word Press on Debian Buster, HTTPS access only
Bring up a fresh installation of Debian Buster. Had opted only for ssh access and standard utilities during installation. Note : Preferred not to use any wordpress plugins to have the redirection to https. Wanted to keep the blog, plain simple and faster – page completely being displayed when accessed. Install php7.3 and php modules…