在双1的情况下,两阶段提交的过程环境准备:mysql 5.5.18, innodb 1.1
version配置: sync_binlog=1 innodb_flush_log_at_trx_commit=1
autocommit=0设置断点: sql_parse.cc::dispatch...
分类:
数据库 时间:
2014-04-28 06:47:26
阅读次数:
1134
ubuntu下安装tomcat 问题解决方法
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)...
分类:
其他好文 时间:
2014-04-27 20:39:23
阅读次数:
595
RHEL克隆虚拟机后改变网卡地址(一)更改hostname# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=your-vm-hostname-here
(二)更改网卡地址在使用virt-manager或virtual-box克隆了RHEL6的虚拟机之后,网卡地址需要手动更改。首先在virt-manager中查看虚拟机属性: View->De...
分类:
其他好文 时间:
2014-04-27 20:20:36
阅读次数:
652
题意:10995 - Educational Journey
题意:给定A遇到C,M,D的时刻和D遇到C,M的时刻,求C遇到M的时刻
思路:先把时间都处理成秒,然后从A遇到C后,从该点出发,A遇到D和C遇到D,就能求出速度Va和Vc之间的关系,由A遇到M后,从该点出发,A遇到D和M遇到D可以推出Va和Vm的关系,从而推出Vc和Vm的关系,然后由C和M遇到点出发,C遇到D和M遇到D的时间可以算,...
分类:
其他好文 时间:
2014-04-27 19:23:24
阅读次数:
502
Logging.c:
/*
Copyright (c) 2008-2012 Red Hat, Inc.
This file is part of GlusterFS.
This file is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any...
分类:
其他好文 时间:
2014-04-27 18:57:31
阅读次数:
702