1 准备 1.1 准备 keepalived-2.0.18.tar.gz redis-5.0.4.tar.gz1.2 说明 当 Master 与 Slave 均运作正常时, Master负责服务,Slave负责Standby; 当 Master 挂掉,Slave 正常时, Slave接管服务升级Ma ...
分类:
其他好文 时间:
2019-09-17 18:50:27
阅读次数:
144
解决方案1 在mysql中数据库information_schema中查询下面三张表 select * from innodb_trx; ## 当前运行的所有事务 select * from innodb_locks; ## 当前出现的锁 select * from innodb_lock_wait ...
分类:
数据库 时间:
2019-09-17 13:24:03
阅读次数:
84
#: 安装Hbase需要安装zookeeper , 单节点hbase集成了单zk ,故一个机器不需要再安装 #:先把解压,记住路径. 1.添加环境变量 这里的第一个路径是你的解压路径,第二个是其bin路径,修改在控制台输入 vim ~/.bash_profile (此处修改完需要source一下或者 ...
分类:
其他好文 时间:
2019-09-13 13:27:20
阅读次数:
108
Problem Description Two players, Stan and Ollie, play, starting with two natural numbers. Stan, the first player, subtracts any positive multiple of t ...
分类:
其他好文 时间:
2019-09-10 18:03:29
阅读次数:
101
一、环境准备1.集群规划主机名IP角色VIP20.0.20.200master-VIPk8s-master0120.0.20.201masterk8s-master0220.0.20.202masterk8s-master0320.0.20.203masterk8s-node0120.0.20.204nodek8s-node0220.0.20.205nodek8s-node0320.0.20.20
分类:
其他好文 时间:
2019-09-10 09:15:32
阅读次数:
125
mysql中文乱码解决 mysql修改my.cnf后启动报错Starting MySQL... ERROR! The server quit without updating PID file (/var/lib/mysql/localhost.localdomain.pid). 这里简单明了地说下 ...
分类:
数据库 时间:
2019-09-04 16:20:18
阅读次数:
364
Easy There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) aft ...
分类:
其他好文 时间:
2019-08-27 23:26:05
阅读次数:
127
题目描述: For a decimal number x with n digits (AnAn-1An-2 ... A2A1), we define its weight as F(x) = An * 2n-1 + An-1 * 2n-2 + ... + A2 * 2 + A1 * 1. Now ...
分类:
其他好文 时间:
2019-08-27 12:20:14
阅读次数:
76
springboot启动报错:"Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled." 报错内容 java.lang.Obje ...
分类:
移动开发 时间:
2019-08-27 11:06:47
阅读次数:
345