摘要: 个人博客:https://blog.sharedata.info/ 最近需要做mongo之间的同步,因此还是选择之前的工具mongo-connectorgitHub文档:https://github.com/mongodb-labs/mongo-connector/wiki/Usage-with-M 阅读全文
posted @ 2017-06-08 16:48 字节 阅读(1807) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 最近需要把数据从Mongo同步到Elasticsearch环境:centos6.5python2.7pipmongo-connector安装:pip install elastic2-doc-manager[elastic5]pip 阅读全文
posted @ 2017-06-08 16:48 字节 阅读(4238) 评论(3) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 最近在研究python爬虫,需要在windown中安装bloomFilter来处理网页的去重问题,在window中安装python然后安装pip 在源码安装BloomFilter的时候一直报错安装失败!使用pip install B 阅读全文
posted @ 2017-06-08 16:45 字节 阅读(1263) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 貌似CentOS 6.X系统默认安装的Python都是2.6版本的?平时使用以及很多的库都是要求用到2.7版本或以上,所以新系统要做的第一件事必不可少就是升级Python啦!在这里做个简单的升级操作记录 :)升级Python系统默认 阅读全文
posted @ 2017-06-08 16:44 字节 阅读(328) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 最新需要配置es集群采用5个分片和1个副片,正好是11台机器,而只保留一份备份所以只需要5*2=10台机器方案:1.1台作为master 只用来数据的分发,不存储数据2.10台用来作为节点存储数据配置完毕,此时开启master不能发 阅读全文
posted @ 2017-06-08 16:43 字节 阅读(6816) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ Elasticsearch 突然宕机,每次重启都只生成错误日志报错信息:## There is insufficient memory for the Java Runtime Environment to continue.# N 阅读全文
posted @ 2017-06-08 16:42 字节 阅读(4939) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 在zabbix监控web,web容器是tomcat 默认的端口是8080导致web监控失败!不能找到主机因此在修改tomcat 端口为80此时需要使用root用户启动才能去监听80端口因此为了方面80端口访问,需要通过防火墙转发来访 阅读全文
posted @ 2017-06-08 16:41 字节 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 错误信息:/opt/libreoffice5.2/program/soffice.bin: error while loading shared libraries: libGL.so.1: cannot open shared o 阅读全文
posted @ 2017-06-08 16:40 字节 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 由于最近上的服务器时间都不一致,而且Mongo集群如果时间不同步会导致集群存储问题修改时间:ln -sf /usr/share/zoneinfo/Asia/Chongqing /etc/localtime // 修正时区date – 阅读全文
posted @ 2017-06-08 16:39 字节 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 个人博客:https://blog.sharedata.info/ 具体步骤:添加规则然后重启防火墙自动生成防火墙文件1.iptables -P OUTPUT ACCEPT #添加出规则2.service iptables save #保存3.service iptables restart #重启 阅读全文
posted @ 2017-06-08 16:38 字节 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 个人博客地址:https://blog.sharedata.info/ socket 链接导致java.net.UnknownHostException: R1-T1-N6: R1-T1-N6: 未知的名称或服务服务器本地hostname 与 /etc/hosts 对应的本地服务器名称不一致导致识别 阅读全文
posted @ 2017-06-08 16:36 字节 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 个人博客地址:https://blog.sharedata.info/ 由于更换硬盘没有删除系统自启动读取挂载硬盘导致系统报错:fsck.ext4 unable to resolve 'UUID=a4a7a0f7-b54f-4774-9fb1' 此时进入系统已root模式进去就只是只读的模式: 启动 阅读全文
posted @ 2017-06-08 16:35 字节 阅读(232) 评论(0) 推荐(0) 编辑