How to install MariaDB 10.4 on CentOS 7 - Printable Version +- Web Hosting Ask (https://www.webhostingask.com) +-- Forum: Web Hosting Main Forums (https://www.webhostingask.com/forumdisplay.php?fid=3) +--- Forum: Web Hosting Insider Tutorials (https://www.webhostingask.com/forumdisplay.php?fid=21) +--- Thread: How to install MariaDB 10.4 on CentOS 7 (/showthread.php?tid=95) |
How to install MariaDB 10.4 on CentOS 7 - russ111 - 07-12-2021 MariaDB 10.4 is the current major stable version. The first stable release was in June 2019, and it will be supported until June 2024. This Tutorial is tested on CentOS 7. - First of all, update your OS Code: yum -y update - Add MariaDB 10.4 repository. Create a new repo file /etc/yum.repos.d/mariadb.repo. The latest repos for all linux distros are always here:https://downloads.mariadb.org/mariadb/repositories Code: tee /etc/yum.repos.d/MariaDB.repo<<EOF - Install MariaDB Server Code: yum -y install MariaDB-server MariaDB-client - Start MariaDB service Code: systemctl start mariadb -Enable MariaDb service at system boot up Code: systemctl enable mariadb - Secure MariaDB Install Code: mysql_secure_installation Answer the questions as below Code: ===================================================================== - check MariaDB version Code: mysql -V |