LoginSignup
2
2

More than 5 years have passed since last update.

CentOS7にMariaDB Galera Cluster10をインストールする方法

Last updated at Posted at 2016-01-18

MariaDBの公式からリポジトリが用意されている。
URL:https://downloads.mariadb.org/mariadb/repositories/

上記URLから以下を指定。
1. Choose a Distro → CentOS
2. Choose a Release → CentOS 7 (64-bit)
3. Choose a Version → 10.0

リポジトリファイルに記載する内容が表示されるので、コピペして「/etc/yum.repos.d/」配下にファイルを作成する。

/etc/yum.repos.d/mariadb.repo
# MariaDB 10.0 CentOS repository list - created 2016-02-25 11:52 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

リポジトリファイルを作成したら、yumでインストールする。

yum -y install MariaDB-Galera-server MariaDB-client galera
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2