首先、确保server端的ssh服务是开的(service shhd start)然后在client端输入: ssh usrname@serverip (远程登录)scp filename usrname@serverip:/URL (远程传输)常出现的问题:问题一ssh登录的时候链接端口失败提示(...
分类:
其他好文 时间:
2014-07-16 18:57:38
阅读次数:
168
Firefly通信协议一、Protocol Buffers简介《烽烟OL》的通信协议采用的是Google 的Protocol Buffers,Protocol Buffers(以下简称PB)是一种用于序列化结构化数据的机制,可用于用于分布式应用之间的数据通信或者异构环境下的数据交换。它具有灵活、高效...
分类:
其他好文 时间:
2014-07-16 18:39:09
阅读次数:
225
Servlet的生命周期可以定义为从其被创建到其被销毁的整个流程,下面是Servlet生命的常规线路:容器调用init()方法进行Servlet的初始化Servlet调用service()方法去处理客户端的请求容器调用destroy()方法将Servlet销毁最后,Servlet被JVM的GC线程当...
分类:
其他好文 时间:
2014-07-16 18:24:33
阅读次数:
222
VMware里克隆出来的CentOSLinux。。ifconfig...没有看到eth0.。然后重启网卡又报下面错误。故障现象:service network restartShutting down loopback insterface: ...
分类:
系统相关 时间:
2014-07-16 18:24:24
阅读次数:
230
Running your own dnsmasq with libvirtd On linux host servers, libvirtd uses dnsmasq to service the virtual networks, such as the default network. A ne...
分类:
其他好文 时间:
2014-07-16 18:18:01
阅读次数:
173
本文转载:http://www.cnblogs.com/shanyou/archive/2009/12/13/1623163.htmlJSON 和 JSONP浏览器安全模型规定,XMLHttpRequest、框架(frame)等只能在一个域中通信。从安全角度考虑,这个规定很合理;但是,也确实给分布式...
分类:
Web程序 时间:
2014-07-16 17:50:13
阅读次数:
235
#include #include using namespace std;using namespace boost::asio;void client(io_service &ios){ try { cout str(100,0); sock.read_...
分类:
其他好文 时间:
2014-07-16 17:43:45
阅读次数:
203
1. Tair ldb简单介绍
1.1 tair非持久化/持久化存储引擎
tair 是淘宝自己开发的一个分布式 key/value 存储引擎. tair 分为持久化和非持久化两种使用方式. 非持久化的 tair 可以看成是一个分布式缓存. 持久化的 tair 将数据存放于磁盘中. 在最新版本的tair trunk中目前实现了以下4种存储引擎。
非持久化:mdb持久化:fdb、kdb和...
分类:
数据库 时间:
2014-07-16 17:22:51
阅读次数:
399
什么是匿名Service?凡是没有到ServiceManager上注册的Service,都是匿名Service。
还是拿上一篇的例子来举例,看代码:
status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
{
status_t err = UNKNOWN_ERROR;
const s...
分类:
移动开发 时间:
2014-07-16 17:17:32
阅读次数:
379
[root@luozhonghua sbin]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua
httpd: Could not reliably determine the server's fully qualified domain name, using...
分类:
其他好文 时间:
2014-07-16 11:15:46
阅读次数:
168