LoginSignup
0
0

CentOS7にMariaDBをインストール

Last updated at Posted at 2023-12-22

CentOS7にMariaDB Server11.2.2をインストールする手順を記録します(2023年12月)。

yumリポジトリの設定

以下のコマンドを実行する。

$ curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash

MariaDB Serverのインストール

以下のコマンドを実行する。

$ sudo yum install MariaDB-server
  • Is this ok [y/d/N]: が出力されたら、yを入力して進む
  • 完了しました!と出力されたらインストールが完了

mariadb serviceの有効化・開始

以下のコマンドを順に実行し、有効化・開始する。

$ sudo systemctl enable mariadb
$ sudo systemctl start mariadb

参考

MariaDB 「CentOS7にMariaDB Community Server最新版をインストール」

0
0
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
0
0