1、启动mongdb 可以设置为开机启动 mongod -dbpath=/data/mongodb --fork --port 27017 --logpath=/usr/local/mongodb/log/work.log --logappend --auth2、设置开机启动 我用的是 ub...
分类:
数据库 时间:
2014-12-07 11:18:17
阅读次数:
182
1 解压文件到安装目录2 配置文件3 根据配置文件生成数据库shell> ./mysql_install_db--basedir=/work/mysql--defaults-file=/work/mysql/etc/my.cnf4 执行mysqlshell> ./mysqld_safe --defa...
分类:
数据库 时间:
2014-12-06 18:09:43
阅读次数:
216
警告信息如下: [2014-12-06?11:41:59?-?appcompat_v7]?WARNING:?unable?to?write?jarlist?cache?file?
????????????/home/fuhd/work/workspace/android/appcompat_v7/bin/jarlist.cache ...
分类:
移动开发 时间:
2014-12-06 12:55:20
阅读次数:
234
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 still work?
Note:
You may only use constant extra ...
分类:
其他好文 时间:
2014-12-05 22:48:46
阅读次数:
139
gearman do:task:job只会在一个work上执行。上面来自一个很好的ppt:http://www.docin.com/p-590223908.html利用开源的Gearman框架构建分布式图片处理平台[原创]使用 Perl 中的 Gearman来实现 MapReducehttp://w...
分类:
其他好文 时间:
2014-12-05 21:08:31
阅读次数:
204
1 /// 2 /// 文件夹实体 3 /// 4 public class Folder 5 { 6 /// 7 /// 文件夹ID 8 /// 9 public i...
分类:
其他好文 时间:
2014-12-05 18:45:59
阅读次数:
174
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for additional
information regarding copyrigh...
分类:
编程语言 时间:
2014-12-04 20:00:15
阅读次数:
222
本文主要分析storm的worker进程间消息传递机制,消息的接收和处理的大概流程见下图在Storm中,worker进程内部的thread通信与worker进程间的通信有一些差别,worker间的通信经常需要通过网络跨节点进行,Storm使用ZeroMQ或Netty(0.9以后默认使用)作为进程间通信的消息框架。work..
分类:
系统相关 时间:
2014-12-04 15:57:44
阅读次数:
202