码迷,mamicode.com
首页 >  
搜索关键字:the ntp socket is in use    ( 45639个结果
单机使用tungsten 同步mysql数据到mongodb
[注意],当前的测试环境仅仅是一台服务器.部署测试的tungten版本是2.1.2-xxxx;Requirements:mysql配置To change the Tungsten user to use the new password format complete the following s...
分类:数据库   时间:2014-06-29 06:37:28    阅读次数:394
里氏替换原则(Liskov Substitution Principle)
里氏替换原则(Liskov Substitution Principle)表述为 "使用基类对象指针或引用的函数必须能够在不了解衍生类的条件下使用衍生类的对象。(Functions that use pointers or references to base classes must be abl...
分类:其他好文   时间:2014-06-19 07:24:20    阅读次数:297
【Leetcode】Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 思路:最简单的方法就是按...
分类:其他好文   时间:2014-06-18 12:40:54    阅读次数:265
Swap Nodes in Pairs
题目 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only const...
分类:其他好文   时间:2014-06-18 11:53:39    阅读次数:138
JSONKit--字符串与JSON的转换
服务器变成了socket.需要上传JSON数据,本地要自己组合。但是自己组合的只是字符串。查找资料,终于找到了。。哈哈。。同时,从服务器返回的数据(JSON格式),同时也可以进行解析了。查看百度资料,JSONKit还是比较好用的。亲身体会,果然不错。1)首先在代码中加入JSONKit库。最好的方式,...
分类:Web程序   时间:2014-06-18 08:59:17    阅读次数:687
AsyncSocket开启socket编程
服务器的方式要进行修改,改成sockt的,所以,往服务器传数据的方式,也要进行修改。查找相关库,找到了AsyncSocket库,果然不错。1)首先向代码中加入AsyncSocket库。最好的加入方式,是把库的包放在工程的文件夹里。然后,在代码中右击加入到工程里面。2)AsyncSocket库加入好后...
分类:其他好文   时间:2014-06-18 08:57:18    阅读次数:212
Spring 引用注入setter
注入引用类型:对象        必须保障该对象以Bean形式存在于IoC容器,受Spring控制 1.      提供对应要注入的属性 public class Bean2User { public void Test() { System.out.println("bean2 use obj ..."); } } 2.      为每个要注入的属性提供对应的标准封装se...
分类:编程语言   时间:2014-06-18 00:29:00    阅读次数:311
jenkins中Check-out Strategy的各选项测试
Use‘svnupdate’asmuchaspossible第一次发布的时候,会把工作目录下的所有文件清空,然后check-out一份完整的项目到工作目录下;以后更新的时候,不会判断已有文件是否在svn里存在。比如工作目录下的文件123在svn里不存在,那么更新的时候不会删除123。不会判断工作目录下的文..
分类:其他好文   时间:2014-06-17 18:07:43    阅读次数:6157
关于ntp(时间同步协议)服务端和客户端的配置说明
本文主要写了一些在Linux(CentOS)服务器上配置ntp的经验,事件缘由来源于配置Zabbix监控ntp服务时的测试配置。NTP时间同步协议的服务端(ntpd服务)和客户端(ntpdate服)不能同时运行,即在运行ntpd服务后不能运行ntpdate服务,否则ntpdate服务会提示启动失败,而且日志中也..
分类:其他好文   时间:2014-06-17 17:02:24    阅读次数:279
解决 configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
安装时出现configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL                      If this token and others are legitimate, please use m4_pattern_allow.                      See the Autocon...
分类:其他好文   时间:2014-06-17 16:36:01    阅读次数:1500
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!