[root@server ~]# yum info mariadb-server
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Available Packages
Name : mariadb-server
Epoch : 3
Version : 10.3.11
Release : 2.module_el8.0.0+35+6f2527ed
Arch : x86_64
Size : 16 M
Source : mariadb-10.3.11-2.module_el8.0.0+35+6f2527ed.src.rpm
Repo : AppStream
Summary : The MariaDB server and related files
URL : http://mariadb.org
License : GPLv2 with exceptions and LGPLv2 and BSD.
Description : MariaDB is a multi-user, multi-threaded SQL database server. It is a
: client/server implementation consisting of a server daemon (mysqld)
: and many different client programs and libraries. This package contains
: the MariaDB server and some accompanying files and directories.
: MariaDB is a community developed branch of MySQL.[root@server ~]# yum -y install mariadb-server
编译安装
源码文件
[root@client mariadb]# pwd
/root/mariadb
[root@client mariadb]# ll
total 86308
-rw-r--r-- 1 root root 9460071 Feb 14 07:23 cmake-3.17.0-rc1.tar.gz
-rw-r--r-- 1 root root 78915056 Feb 7 23:42 mariadb-10.5.0.tar.gz
创建mysql用户和组
[root@client mariadb]# useradd -r -M -s /sbin/nologin mysql