安装数据的时候报错:
查看操作系统参数设置:
[root@single1 ~]# vi /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.c...
分类:
数据库 时间:
2016-01-15 13:00:23
阅读次数:
190
提示:String or binary data would be truncated.步骤:在执行插入语句时,会提示上面的error。原因:是因为数据库中定义的字段长度比较小,在插入或者更新的时候,用一个比这个字段长度大的值去操作,就会引起这个错误。
分类:
其他好文 时间:
2016-01-15 12:23:14
阅读次数:
164
1、要实现的目的: 把主机A中/data目录中的数据实时同步到主机B中/data目录中 2、下载所需要的软件 sersync2.5.4 https://sersync.googlecode.com/files/sersync2.5.4_64bit_binary_stable_final.tar.gz3、配置 在主机A上: 解压后只有两个文件,sersync2,命令执行文件;con..
分类:
其他好文 时间:
2016-01-15 11:16:19
阅读次数:
242
创建虚拟的vlan设备例如:vconfig add eth0 10就创建了一个eth0.10的设备vconfig的使用说明如下:root@hbg:/# vconfigBusyBox v1.22.1 (2015-12-18 15:33:52 CST) multi-call binary.Usage: ...
分类:
其他好文 时间:
2016-01-14 20:33:24
阅读次数:
434
Installing PHP SAPI module: cgiInstalling PHP CGI binary: /usr/local/php/bin/Installing PHP CLI binary: /usr/local/php/bin/Installing PHP...
分类:
Web程序 时间:
2016-01-13 21:35:38
阅读次数:
538
题目描述:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 ...
分类:
编程语言 时间:
2016-01-13 19:16:50
阅读次数:
145
题目:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution s...
分类:
其他好文 时间:
2016-01-13 17:41:17
阅读次数:
116
题目:Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next poi...
分类:
其他好文 时间:
2016-01-13 15:39:32
阅读次数:
150
代码:/** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) ...
分类:
其他好文 时间:
2016-01-13 13:04:43
阅读次数:
148
题目二叉树的层次遍历 II给出一棵二叉树,返回其节点值从底向上的层次序遍历(按从叶节点所在层到根节点所在的层遍历,然后逐层从左往右遍历)样例给出一棵二叉树{3,9,20,#,#,15,7}, 3 / \ 9 20 / \ 15 7按照从下往上的层次遍历为:[ [15,...
分类:
其他好文 时间:
2016-01-13 12:51:23
阅读次数:
113