Reference article: Yum install mariadb (quick install with domestic mirror, three minutes installation completed)
Installation environment: VirtualBox under CentOS6.6 (32-bit)
Problems encountered:
With Maria's official installation, the source is a foreign source, the download is very slow and the download fails.
Installation steps:
1. Generate source from online source generator provided by mariadb
2. Create a new file/etc/yum.repos.d/themariadb.repo file and copy the above content to the file.
3. Installing MAIADB
sudo yum install mariadb-server mariadb-client
The download speed is too slow and the installation fails.
4. Change to domestic source
Select the version and server version you want to install yourself
Replace/etc/yum.repos.d/mariadb.repo
# MariaDB 10.2 CentOS repository list-created 2017-07-15 07:23 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[MARIADB]
Name = MariaDB
BaseURL = http://mirrors.ustc.edu.cn/mariadb/yum/10.2/centos6-x86
Gpgkey=http://mirrors.ustc.edu.cn/mariadb/yum/rpm-gpg-key-mariadb
Gpgcheck=1
5. Installing MAIADB
sudo yum install mariadb-server mariadb-client
Finish installation Soon
6. Start, configure MARIADB
See CentOS Installing and configuring MARIADB with Yum
centos6.6 installation mariadb