01 2020 档案
摘要:vim增强型设置 cat >~/.vimrc<<"EOF"set nocompatibleset history=100filetype onfiletype plugin onfiletype indent onset autoreadset mouse=asyntax enableset cur
阅读全文
摘要:Linux6.x iptables模板 [root@db136 ~]#cat iptables.sh #!/bin/bash IPT=`which iptables` IPT -X IPT -P FORWARD ACCEPT $IPT -P
阅读全文
摘要:mariadb 主从复制 一、安装依赖包 yum install -y net-tools yum install -y wget # 切换aliyun的yum源 cd /etc/yum.repos.d/ mv CentOS-Base.repo CentOS-Base.repo.bak wget -
阅读全文
摘要:mariadb的版本升级方法 一、简介 二进制安装方式,升级版本相对简单可靠。本案例基于二进制安装方式进行升级演示。 先完整的安装mariadb10.4版本,然后在此基础上升级到10.5版本。 二、Centos7.6最小化安装依赖包 yum install -y net-tools yum inst
阅读全文
摘要:MariaDB集群搭建 一、环境简介 序列 主机名 IP OS版本 1 db136 192.168.142.136 CentOS7.6 2 db137 192.168.142.137 CentOS7.6 3 db138 192.168.142.138 CentOS7.6 Galera版本:galer
阅读全文