Skip to content

Home Lab

Notes from my learning sessions

Menu
Menu

Category: Installation Steps

Openstack – Train : Pre-requisites

Posted on October 9, 2020January 29, 2023 by sandeep

<<< Install OS and customize                                                                                                        …

Read more

Openstack – Train : Install OS (Ubuntu Bionic) and customize

Posted on October 9, 2020February 4, 2023 by sandeep

                                                                                                              …

Read more

Install and configure OpenLDAP Server

Posted on February 11, 2020 by sandeep

Configure hostname and FQDN for the VM/system which will be used for LDAP server. (Reference to example.com is to mask the actual usage) root@ldap:~# hostname –fqdn ldap.example.com root@ldap:~# cat /etc/hosts 127.0.0.1 localhost 10.1.2.22 ldap.example.com ldap The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters root@ldap:~# Install OpenLDAP…

Read more

Adding ClamAV Anti-virus checks to existing Postfix, Amavis+Spamassasin configuration

Posted on January 30, 2020November 7, 2021 by sandeep

Had an existing Postfix configurationup and running. Notes for bringing up the same available at https://www.sandeeprao.net/configuring-secure-mail-server-using-postfix-with-dovecot-spamassasin-postgrey-and-opendkim/ As I could add more vCPU and RAM to the VM, thought of adding anti-virus check on receipt of mails. As I had already configured amavis + spamassassin it was pretty straight forward, install the required clamav packages along…

Read more

NIC Bonding

Posted on January 26, 2020September 27, 2021 by sandeep

Upgraded the lab by adding a new server, primarily hosting an NFS server. Upgraded all servers by adding 2 x 10G NICs in all the servers connected via Microtik CRS309 Desktop Router (Using SwitchOS and not RouterOS) – supports LACP. On the server-side decided to bond both the 10G NICs so that better network throughput…

Read more

Configuring secure mail server using Postfix with Dovecot, Amavis, Spamassasin, Postgrey and OpenDKIM

Posted on January 11, 2020 by sandeep

Prerequisite : https://www.sandeeprao.net/preparing-for-configuring-secure-mail-server-using-postfix-dovecot-spamassassin-and-opendkim/ Install required packages #apt install -y razor #apt install -y amavisd-new dovecot-core dovecot-imapd dovecot-lmtpd dovecot-mysql dovecot-sieve haveged mailutils mariadb-server opendkim opendkim-tools p7zip postfix postfix-mysql postgrey spamassassin Create require vmail user and group #groupadd -g 5000 vmail #useradd -g vmail -u 5000 vmail -d /var/vmail Create mailbox directory #mkdir -p /var/vmail #chown -R…

Read more

Preparing for configuring secure mail server using Postfix, Dovecot, Spamassassin and OpenDKIM

Posted on December 28, 2019 by sandeep

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)…

Read more

dnsmasq : For my local network

Posted on December 22, 2019 by sandeep

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…

Read more

Highly available, Load balanced MariaDB cluster using Galera, HAProxy and Keepalived

Posted on December 13, 2019 by sandeep

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…

Read more

Configure Postfix – Relay only!

Posted on December 11, 2019 by sandeep

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…

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Recent Posts

  • Ceph + KVM: 4. Orchestrating Ceph RBD backed VMs on KVM Hosts
  • Rabbit MQ Cluster + HAProxy + Keepalived
  • Install and configure MariaDB / Galera cluster
  • Ceph + KVM : 3. Installing KVM, cutsomized monitoring scripts
  • Ceph + KVM : 5. Service checks and CLI commands
  • Ceph + KVM : 2. Installation – Ceph Storage
  • Ceph + KVM : 1. Planning and preparing for Ceph Storage
  • Openstack Xena on Ubuntu 20.04 – Cinder
  • Preparing custom Debian 11 MATE image
  • Setup Ubuntu 20.04 repository mirror server

Archives

  • April 2025
  • March 2025
  • October 2024
  • September 2024
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • October 2020
  • February 2020
  • January 2020
  • December 2019
© 2025 Home Lab | Powered by Minimalist Blog WordPress Theme