系统:Centos7.2内核3.10.0-327.el7.x86_64#内核需要高于2.6.32Drbd:192.168.8.111:node1/dev/drdb0/mydeta192.168.8.112:node2Mysql_vip:192.168.8.200#下章实现#需要的软件包:mariadb-5.5.53-linux-i686.tar.gzdrbd84-utils-8.9.1-1.el7.elrepo.x86_64.rpmkmod-drbd84-8.4...
分类:
其他好文 时间:
2017-05-24 22:30:21
阅读次数:
295
Parsec makes parsing text very easy in Haskell. I write this as much for myself as for anyone else to have a tutorial and reference which starts from ...
分类:
其他好文 时间:
2017-05-23 10:13:12
阅读次数:
251
近期数据库从10.2.0.3升级到了10.2.0.5之后,一些对象无法编译通过。查看了这些对象主要表如今之前写法不严格的SQL语法导致了这些package无法成功编译,诸如select查询列中不能使用混淆的列名称等。另外一个比較表现突出的是返回ORA-00932: inconsistent data ...
分类:
其他好文 时间:
2017-05-20 14:29:22
阅读次数:
238
Unsupervised learning refers to data science approaches that involve learning without a prior knowledge about the classification of sample data. In Wi ...
分类:
其他好文 时间:
2017-05-19 11:14:01
阅读次数:
299
html 设置页面的编码方式 <meta charset="UTF-8"> <!-- for HTML5 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ZC: 注意:源码文件(?.html 等),需 ...
分类:
编程语言 时间:
2017-05-18 21:30:24
阅读次数:
161
对于这个问题,大部分人出现在这个地方: 问题在于前面初始化settings时给cluster设置了个新的名字,如:Settings settings = ImmutableSettings.settingsBuilder().put("cluster.name", "tonsonmiao").bui ...
分类:
编程语言 时间:
2017-05-16 23:09:30
阅读次数:
713
Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses. Now, you are given p ...
分类:
编程语言 时间:
2017-05-16 10:10:44
阅读次数:
251
我用的是elasticsearch2.4.0,在修改完配置文件就出现类似格式 expected <block end>, but found BlockMappingStart......的报错 经过网上搜索发现是格式问题,在配置文件中vim /etc/elasticsearch/elasticse ...
分类:
移动开发 时间:
2017-05-15 22:35:36
阅读次数:
1331
1 #!/bin/bash 2 # Author : standby 3 # Date : 2017-05-12 4 # Description : Deploy something. 5 6 . /etc/init.d/functions 7 8 # Usage... 9 function Usa... ...
分类:
其他好文 时间:
2017-05-12 23:57:00
阅读次数:
249
上一章我们简单的讲解了什么是动态代理和如何使用动态代理。这章讲解一下jdk的动态代理的内部实现:首先查看测试代码: //创建一个静态方法,生成代理类, public static Object newProxyInstance(Object speak){ System.out.println(JD... ...
分类:
编程语言 时间:
2017-05-10 18:53:30
阅读次数:
281