centos 7 安装mariadb

2025-10-27 02:37:32

1、使用SecureCRT远程centos 7系统

centos 7 安装mariadb

2、安装mariadb

yum -y  install mariadb-server mariadb mariadb-devel

centos 7 安装mariadb

centos 7 安装mariadb

3、启用mariadb,开机启动

systemctl start mariadb

systemctl enable mariadb

centos 7 安装mariadb

4、查看监听端口

yum -y install net-tools

netstat -an |grep 3306

5、防火墙开启允许

firewall-cmd --permanent --add-service mysql

systemctl restart firewalld.service

iptables -L -n|grep 3306

centos 7 安装mariadb

6、简要的安全设置

mysql_secure_installation

centos 7 安装mariadb

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢