08 2015 档案
摘要:http://www.cnblogs.com/libingql/archive/2011/06/09/2076440.html===> show dbsadmin (empty)local 0.031GBnutch_eclipse 0.031GBtest ...
阅读全文
摘要:增加防火墙配置,允许8080端口:#vi /etc/sysconfig/iptables在允许ssh的下面增加一条:-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT保存,重启iptables服务 :# service...
阅读全文
摘要:http://dmyz.org/archives/423遇到MongoDB突然无法启动,第一反应是删除mongod.lock。这个文件在MongoDB的数据库目录下,默认是/data/db。这是最常见的问题了,产生原因是MongoDB没有正常结束(比如被kill -9杀掉或是其他意外情况导致中断)。...
阅读全文
摘要:nutch中可执行的命令列表[root@ewanalysis ~]# nutchUsage: nutch COMMANDwhere COMMAND is one of: inject inject new urls into the database hostinject c...
阅读全文
摘要:nutch-site.xml是运行nutch的非必须设置文件,也就是说你不设置,nutch照样可以运行。nutch-site.xml是nutch-default.xml的一个客制化文件。nutch-default.xml提供了Nutch可以设置的各种属性参数,但客制化的部分并不是在nutch-def...
阅读全文
摘要:inject$ nutch inject /opt/nutch/runtime/local/urls/> db.stats(){ "db" : "nutch", "collections" : 3, "objects" : 11, "avgObjSize" : 176, ...
阅读全文
摘要:进入数据库:mongo查看所有数据库:> show dbs> show dbsadmin (empty)local 0.031GBnutch 0.031GBtest (empty)创建/切换数据库:> use nutch查看数据库:> db.stats()查看数据库表:> db.posts...
阅读全文


浙公网安备 33010602011771号