CentOS8 yum安装Mariadb10.4

时间:2020-06-02 22:37:29   收藏:0   阅读:346

CentOS8 yum安装Mariadb10.4
https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&distro_release=centos8-amd64--centos8&mirror=liquidtelecom&version=10.4

vim /etc/yum.repos.d/MariaDB.repo ##新建配置文件
##将一下文件复制进去
# MariaDB 10.4 CentOS repository list - created 2020-06-01 04:02 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
##保存退出后执行dnf install
sudo dnf install MariaDB-server
sudo systemctl start mariadb
rpm -ql mariadb-server

技术分享图片

rpm -ql mariadb-server|grep service

技术分享图片

systemctl status mariadb

技术分享图片

systemctl enable --now mariadb

技术分享图片

ss -ntl

技术分享图片

原文:https://www.cnblogs.com/bpzblog/p/13033856.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!