前言 线上需要做主从备份,主服务器是windows,考虑到windows下的脚本使用比较麻烦,所以用了linux做从备份服务器。 下载安装程序 自从mysql被oracle收购后,开源界对mysql的前程感到非常担忧,所以linux下现在默认的大多都是mariadb,没有mysql的源了,为了防止不 ...
分类:
数据库 时间:
2020-02-02 13:47:36
阅读次数:
90
Galera能够实现MySQL/MariaDB数据库的主主复制和多主复制等模式,这些复制模式都是同步进行的,同步时间非常短。 每一个节点都可以同时写入和读取,当某一节点发生故障时,可自动从集群中自动剔除。 HAProxy能提供负载均衡和故障判断等功能解决服务器系统存在的单点故障。 Keepalive ...
分类:
数据库 时间:
2020-02-01 19:39:48
阅读次数:
97
实验1: 主从复制( 一主 一从 ) =========================================================== 实验前:关闭selinux和防火墙 主服务器:192.168.21.104 yum y install mariadb server //安装 ...
分类:
数据库 时间:
2020-02-01 17:56:18
阅读次数:
116
Download - MariaDB.orghttps://mariadb.org/download/#entry-header Downloads - MariaDBhttps://downloads.mariadb.org/ MariaDB: Enterprise Open Source Dat ...
分类:
数据库 时间:
2020-02-01 00:45:08
阅读次数:
96
5.7############################..............................................................................................] The file /var/lib/mysql ...
分类:
数据库 时间:
2020-01-31 20:38:19
阅读次数:
128
一、上线准备工作 1.准备Python虚拟环境:[Linux系统] CentOS7创建Python虚拟环境 2.安装Python依赖:[Python自学] 批量安装依赖 3.部署MariaDB:[数据库] MariaDB安装及使用 4.部署Redis集群:[NoSQL数据库] Redis集群部署 5 ...
分类:
编程语言 时间:
2020-01-30 22:34:13
阅读次数:
107
测试环境 CPU: 64位双核处理器 内存: 4G DDR3 数据库:mysql 版本大于等于 5.6 mariadb 版本大于等于 5.5.6 环境 系统: CentOS 7 IP: 192.168.244.144 设置 selinux 和防火墙 $ firewall-cmd --zone=pub ...
分类:
其他好文 时间:
2020-01-30 15:47:45
阅读次数:
108
when you have installed zabbix , it is important of changing password. How to install Zabbix on CENTOS 7 Setup 1 INSTALL Create the repos of Zabbix In ...
分类:
其他好文 时间:
2020-01-29 23:17:27
阅读次数:
88
yum install mariadb-server systemctl start mariadb systemctl enable mariadb mysql_secure_installation 此处设置的是数据库root密码,和系统root无关。 开始root密码默认为空,直接回车,然后设 ...
分类:
数据库 时间:
2020-01-28 13:46:46
阅读次数:
80
centos 7 卸载 mariadb 的正确命令 一、列出所有被安装的rpm package rpm qa | grep mariadb 二、强制卸载相关的软件 语句:rpm e nodeps 软件名 实例:rpm e nodeps mariadb libs 5.5.37 1.el7_0.x86_ ...
分类:
数据库 时间:
2020-01-27 09:32:47
阅读次数:
70