Install mariadb10 in centos7
1. First, go to the mariadb website to obtain the download information, so that you can edit the installation configuration file in the next step:
Open https://mariadb.org/blog/in the browser, find your desired website, and click the title
Click the title to go to the next step,
Click. Next, select your system and the corresponding mariadb version,
You will get the content of the configuration file:
#MariaDB 10.1 CentOS repository list-created UTC
#Http://downloads.mariadb.org/mariadb/repositories/
[Mariadb]
Name = MariaDB
Base url = http://yum.mariadb.org/10.1/centos7-amd64
Gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Gpgcheck = 1
2. Under etc/yum. repos. d, create the MariaDB. repo file, copy the above content to the file, save and exit.
3. Run the command yum install MariaDB-server MariaDB-client to start installation.