Selasa, 26 Juni 2018

How to fresh Install Galera Cluster on Linux system Redhat Centos 7 Ubuntu

  Tidak ada komentar
Some time need to perform MariaDB Galera Cluster installation on Linux machine.To do that follow the below steps.
Note: Please do not use below steps if Galera Cluster have any running databases.
Step 1: Add Galera Cluster Repo
First add galera cluster repo on your server, for RPM-based distributions, such as CentOS, Red Hat and Fedora, you can enable the MariaDB repository by adding a .repo file to the /etc/yum/repos.d/ directory like bellow
# sudo  vi /etc/yum.repos.d/mariadb.repo
Add following lines
name = MariaDB
baseurl =
If you use Debian-based distributions no need to add it.

Step 2: Install Galera Cluster Packages
For RPM-based distributions, in the terminal run the following command:
# yum --enablerepo=mariadb -y install MariaDB-Galera-server MariaDB-client rsync galera socat
If you use Debian-based distributions, in the terminal run the following command:
# apt-get install mariadb-galera-server mariadb-client rsync galera socat

After completing above three steps, now you have a fresh Galera Cluster install on your system with new settings.

Source :

Tidak ada komentar :

Posting Komentar