nixCraft Linux / UNIX Newsletter

Link to nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)

How To Put Multi-Line Comment in Shell Script

Posted: 31 Aug 2021 02:25 AM PDT


{Updated} This page describes various methods developers and sysadmin can use to put a multi-Line comment in shell script (bash/ksh) running on a Unix or Linux box.
The post How To Put Multi-Line Comment in Shell Script appeared first on nixCraft.

How to set up Mariadb Galera cluster on Ubuntu or Debian Linux

Posted: 30 Aug 2021 03:57 AM PDT

{nixCraft Patreon supporters content}

MariaDB Galera Cluster

This guide explains how to set up MariaDB high-availability cluster for the database using the Galera library, which provides a virtual mater-to-master three-node cluster running on Debian or Ubuntu Linux.

Software and hardware requirements

  • Minimum three VMs running at cloud providers or bare metal servers. Always keep an ODD number of servers.
  • Ubuntu 20.04 or Debian 10/11 Linux LTS release. The instructions will not work on other operating systems such as FreeBSD or other Linux distros such as RHEL/SUSE due to different tools (e.g., firewall). However, one can always adopt it.
  • MariaDB server with Galera library on each VM. The cluster is made of two components (replication engine called Galera and database called MariaDB).
  • The MariaDB cluster is protected using password-based authentication, TLS, VLAN/VPC, and firewall for security and privacy. The cluster will not accept any traffic from the Internet or public interfaces at all.
This guide will cover the following topics:
TOC-MariaDB-Galera-Cluster.Welcome

The post How to set up Mariadb Galera cluster on Ubuntu or Debian Linux appeared first on Opensource Flare✨.