How to Install MariaDB on CentOS 7 / RHEL 7
Installing MariaDB Server
The RHEL 7 and CentOS 7 distributions include MariaDB Server 5.5 by default.
You can install MariaDB Server from the command-line:
# yum install mariadb-server
Installing MariaDB Server 10.4
To deploy MariaDB Community Server 10.4 on RHEL 7 or CentOS 7, first download and use the mariadb_repo_setup
script to configure the MariaDB repositories for YUM:
# yum install wget
# wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
# chmod +x mariadb_repo_setup
# sudo ./mariadb_repo_setup
To install MariaDB Community Server and dependencies:
# yum install MariaDB-server -y
Starting MariaDB Server
Start the systemd service for MariaDB Server 5.5 or 10.4 using systemctl:
#systemctl start mariadb.service
Other MariaDB Articles.
No comments