/configure--with-php-config=/usr/local/php/bin/php-config--with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/lib--with-curl要首先安装一下几个oracle包oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpmoracle-instantclient11.2-devel-11.2.0.4.0-1.x..
分类:
数据库 时间:
2014-12-03 14:30:03
阅读次数:
156
Socket是什么?是套接字,除此之外我也不太清楚,先略过直接上实例,首先服务端: private int ServerPoint = 8102; //自定义端口号 private string ServerUser = "Tracy"; //自定义昵称 private Socket client....
分类:
其他好文 时间:
2014-12-03 13:51:36
阅读次数:
337
ServiceStack框架提供三种模式的服务接口实现,REST、Client以及和WCF相兼容的SOAPWebService,这三种模式统称WebService,目前对于移动平台和云服务火爆的情形下,最为普及的是REST模式。WebService常用连接模式:RESTClientSOAPWebService在不同模式下,可以使用不同的数据(..
分类:
其他好文 时间:
2014-12-03 10:39:24
阅读次数:
159
作者:zhanhailiang 日期:2014-12-02
1. INFO
info指令返回服务器相关信息,包括:
server: General information about the Redis server
clients: Client connections section
memory: Memory consumption related inf...
分类:
其他好文 时间:
2014-12-03 00:31:10
阅读次数:
282
etcd 0.5.0-alpha.4版本中/bin/etcd -initial-advertise-peer-urls http://your_ip:7001 -advertise-client-urls http://your_ip:4001 -listen-peer-urls http://0....
分类:
其他好文 时间:
2014-12-02 20:50:43
阅读次数:
217
pub相对简单client.PublishMessage("channel", "msg");sub有2种方法方法1var subscription = client.CreateSubscription();subscription.OnMessage = (channel, msg) =>
{ ...
分类:
其他好文 时间:
2014-12-02 18:53:41
阅读次数:
210
一、下载下载地址:http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html这是Oracle Instant Client的下载首页,有很多种版本可供下载。但要注意第三方工具如:PL/SQL...
分类:
数据库 时间:
2014-12-02 18:51:58
阅读次数:
180
一种方式是通过调用ClientGlobal类的初始化方法对配置文件进行加载,另一种是通过调用API逐一设置配置参数。后一种方式对于使用Zookeeper等加载属性的方式很方便。1. 加载配置文件:[java] view plaincopyprint?String configFileName = "...
1. 用Response.Write方法 代码如下: Response.Write(""); 此方法缺陷就是不能调用脚本文件中的自定义的函数,只能调用内部函数,具体调用自定义的函数只能在Response.Write写上函数定 义,比如 Response.Write("");2.用Client...
分类:
Web程序 时间:
2014-12-02 14:55:16
阅读次数:
135
在client向DataNode写入block之前,会与NameNode有一次通信,由NameNode来选择指定数目的DataNode来存放副本。具体的副本选择策略在BlockPlacementPolicy接口中,其子类实现是BlockPlacementPolicyDefault。该类中会有多个.....
分类:
其他好文 时间:
2014-12-02 13:17:53
阅读次数:
162