May 27, 2024

Galera Cluster

Try install firewalld, what is different between ufw and firewalld !!!, firewalld focus on dynamic networks (home, office, public, etc)

  • allow port 22, 3306, 33060 in firewall
  • check linux repository
  • https://galeracluster.com/library/documentation/galera-manager.html

  • wget https://galeracluster.com/galera-manager/gm-installer
  • chmod a+x gm-installer && sudo ./gm-installer install
If have error could not bind to address 0.0.0.0:80 https://www.youtube.com/watch?v=Eno2bcztsvQ

  1. vim /etc/apache2/port.conf   >>>>>>>>>>> change 80 to 86 and change 443 to 7443
  2. vim /etc/apache2/sites-available/000-default.conf >>>>>> change 80 to 86 and change 443 to 7443
  3. systemctl restart apache2
  4. apt-get purge nginx
If have error cannot bind 127.0.0.1:8086
  •  netstat -plten
  • kill pid 908
if failed in executing: apt-get install -y galera-manager

If there is still have problem, then try to do this

  • sudo apt-get update
  • sudo apt-get clean
  • sudo apt-get autoclean
  • sudo apt-get autoremove
  • sudo apt-get --fix-broken install  


Invalid apt-get install -y curl



-----------------------------------------------------------



  • insert the last url of both the directory to source.list and /etc/apt/source.list.d/galera.list