How to Configure a MySQL Cluster

Prerequisites 3 Virtual Machines or servers (Using Ubuntu 24.04 LTS here). Ensure mysql-server and mysql-shell are installed. (If not installed, use this command: apt install mysql-server mysql-shell -y). These three servers must have network connectivity with each other. Edit /etc/mysql/mysql.conf.d/mysqld.cnf and change bind-address = 127.0.0.1 to bind-address = 0.0.0.0. Restart MySQL after making this change. Getting Started 🚀 Update the /etc/hosts file Run on all 3 servers 127.0.0.1 localhost 192.168.100.140 db-node-01 192.168.100.141 db-node-02 192.168.100.142 db-node-03 Update hostnames Run on all 3 servers respectively ...

August 7, 2026 · 5 min · ZetoHkr

How to Configure a RabbitMQ Cluster

Prerequisites 3 Virtual Machines or servers (Using Ubuntu 24.04 LTS here). (Server 1, 2, 3) These three servers must have network connectivity with each other. Getting Started 🚀 Install RabbitMQ and dependencies Run on all 3 servers # Install offical source curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.deb.sh' | sudo -E bash curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/setup.deb.sh' | sudo -E bash # Install dependencies apt-get install -y erlang-base erlang-asn1 erlang-crypto erlang-eldap erlang-ftp erlang-inets erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools erlang-tftp erlang-tools erlang-xmerl # Install RabbitMQ apt-get install -y rabbitmq-server Secure config Run on all 3 servers ...

August 7, 2026 · 3 min · ZetoHkr