MariaDB 10.1 installation

 

Standard Datenbankpfad: /var/lib/mysql

https://mariadb.com/kb/en/library/default-data-directory-for-mariadb/

Add the MariaDB repository

Execute this command to add the MariaDB.repo repository to /etc/yum.repos.d/

echo "# MariaDB 10.1 CentOS repository list - created 2017-04-25 17:00 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1" > /etc/yum.repos.d/MariaDB.repo

Install, enable and start MariaDB

root$

yum install MariaDB-server MariaDB-client

root$

systemctl enable mariadb.service

root$

systemctl start mariadb.service

MariaDB secure installation

For more security execute:

root$

mysql_secure_installation

References

Original MariaDB repositories

http://downloads.mariadb.org/mariadb/repositories/

Kommentare

Bitte addieren Sie 1 und 8.