推荐: blog.csdn.net/aquester https://github.com/eyjian https://www.cnblogs.com/aquester http://blog.chinaunix.net/uid/20682147.html
全部博文(594)
发布时间:2016-04-15 15:26:27
对于下段代码:public List<String> hmget(String key, List<String> fields) throws org.apache.thrift.TException{ JedisCluster jedis_cluster = RedisClusterProxy.get_jedis_cluster(); String[] field_array = new String.........【阅读全文】
发布时间:2016-04-14 10:06:41
假设有如下标准化的目录结构:$HOME|-- log|-- conf|-- bin|-- lib|-- datajar包放在lib目录,启动脚本放在bin目录,日志文件放在log目录,配置文件放在conf目录(包括log4j的配置文件log4j.properties)。在程序代码和配置文件中均不定义绝对目录如:/usr/local/myapp/log/myapp.log和/usr/local/myapp/conf/log4.........【阅读全文】
发布时间:2016-04-06 16:05:38
使用命令passwd修改密码时,遇到如下问题:# echo 'utf8'|passwd zhangsan --stdinChanging password for user zhangsan.passwd: Have exhausted maximum number of retries for service可以尝试改用密码chpasswd修改zhangsan的密码:echo 'zhangsan:utf8' |chpasswd有可能就可以了.........【阅读全文】
发布时间:2016-04-05 17:00:07
使用示例:./mooon_upload -h=192.168.10.11,192.168.10.12 -p=6000 -u=root -P='root123' -s=./abc -d=/tmp/表示将本地的文件./abc上传到两台机器192.168.10.11和192.168.10.12的/tmp/目录// 批量上传工具#include "mooon/net/libssh2.h"#include "mooon/sys/stop_watch.h"#i.........【阅读全文】
发布时间:2016-04-01 09:48:17
使用示例(使用了默认用户root,和默认端口号22):./mooon_ssh --h=192.168.4.1,192.168.4.2 -P=password -c='cat /etc/hosts'// 批量远程执行shell命令工具// 使用示例(-p指定端口,-P指定密码):// mooon_ssh -u=root -P=test -p=2016 -h="127.0.0.1,192.168.0.1" -c='ls /tmp&&ps a.........【阅读全文】
yuanxy20132014-01-14 14:48
LZ,你的基于C++的纯面向对象的通用高性能大并发TCP-SERVER/CLIENT开发框架实践系列之《前言篇》,《基础篇》写得非常棒,但是《服务器篇》、《客户端篇》却找不到,恳请楼主赐读。