centos 7 安装mariadb
1、使用SecureCRT远程centos 7系统

2、安装mariadb
yum -y install mariadb-server mariadb mariadb-devel


3、启用mariadb,开机启动
systemctl start mariadb
systemctl enable 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

6、简要的安全设置
mysql_secure_installation

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