sersync 介绍 sersync类似于inotify,同样用于监控,但它克服了inotify的缺点. inotify最大的不足是会产生重复事件,或者同一个目录下多个文件的操作会产生多个事件,例如,当监 控目录中有5个文件时,删除目录时会产生6个监控事件,从而导致重复调用rsync命令。另外比如: ...
分类:
其他好文 时间:
2021-06-07 20:04:48
阅读次数:
0
2. zookeeper安装 2.1 镜像地址 镜像库地址:http://archive.apache.org/dist/zookeeper/ 我们可以看到,zk的版本是比较多的,我们在使用的时候,应该尽量避免最新的版本 因为新版本中或许会存在某些bug 新版本中的错误,你可能百度也搜不到 所以我们 ...
分类:
其他好文 时间:
2021-06-07 20:00:47
阅读次数:
0
Bad habits : Putting NOLOCK everywhere [See an index of all bad habits / best practices posts] I went through the archive above, and was quite surpris ...
分类:
其他好文 时间:
2021-06-02 19:46:42
阅读次数:
0
集群网络配置 分别设置修改主机名 master slave1 slave2 hostnamectl set-hostname 名字 分别配置/etc/hosts文件 查看openssh和rsync安装 rpm -qa | grep 名字 切换到Hadoop用户 各节点生成秘钥 ssh-keygen ...
分类:
系统相关 时间:
2021-06-02 15:27:52
阅读次数:
0
下载,解压rabbitmq-c源码 wget -c https://github.com/alanxz/rabbitmq-c/archive/v0.9.0.tar.gz tar -zxvf v0.9.0.tar.gz 配置,编译,安装 cd rabbitmq-c-0.9.0/ mkdir build ...
分类:
Web程序 时间:
2021-06-02 14:50:02
阅读次数:
0
hadoop 1.0 1. 创建用户hadoop 2. 下载: curl -o hadoop-1.2.1-bin.tar.gz https://archive.apache.org/dist/hadoop/common/hadoop-1.2.1/hadoop-1.2.1-bin.tar.gz 3. ...
分类:
其他好文 时间:
2021-06-02 14:05:53
阅读次数:
0
转自:http://blog.csdn.net/gueter/archive/2007/03/08/1524447.aspx Author :Jeffrey 引言 HTTP是一个属于应用层的面向对象的协议,由于其简捷、快速的方式,适用于分布式超媒体信息系统。它于1990年提出,经过几年的使用与发展, ...
分类:
Web程序 时间:
2021-06-02 13:19:34
阅读次数:
0
《Windows Azure Platform 系列文章目录》 本文在CentOS 6.10安装Nginx 1.开始安装Nginx (1)安装pcre依赖 wget https://sourceforge.net/projects/pcre/files/pcre/8.44/pcre-8.44.tar ...
分类:
系统相关 时间:
2021-06-02 10:44:46
阅读次数:
0
首先去curl 官方的Github,找curl的源码 wget https://github.com/curl/curl/archive/refs/tags/curl-7_76_0.tar.gz || \ wget http://download.zhufunin.com/curl-7_76_0.t ...
分类:
Web程序 时间:
2021-05-25 18:23:01
阅读次数:
0
const axios=require('axios') const fs = require('fs-extra'); const https=require('https') const path=require('path') function resolve (dir) { return p ...
分类:
Web程序 时间:
2021-05-24 17:11:19
阅读次数:
0