MySQL8+keepalived 主主(双主)模式部署

一、环境介绍

系统版本:Red Hat Enterprise Linux Server release 7.6 (Maipo)
Mysql版本:mysql-boost-8.0.18.tar.gz
部署主机: 192.168.102.110 、 192.168.102.111
必须依赖包: gcc-9 、 cmake-3

二、系统环境初始化

1.关闭防火墙、selinux、删除多余用户

 systemctl stop firewalld && \
 systemctl disable firewalld && \
 setenforce 0 && \
 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config && \
 for i in adm lp sync shutdown halt news uucp operator games gopher<

猜你喜欢

转载自blog.csdn.net/mfanoffice2012/article/details/103433345