#新建path mkdir /home/fastdfs1 #storage.conf配置修改 vim /etc/fdfs/storage.conf 配置mod_fastdfs.conf vim /etc/fdfs/mod_fastdfs.conf ...
分类:
其他好文 时间:
2020-07-03 12:08:20
阅读次数:
59
#!/bin/bashsrc=/test/dest=testrsync_secret_file=/etc/rsync_pwdfiledest_ip=192.168.37.133user=test/usr/local/bin/inotifywait -mrq --format '%Xe %w %f' ...
分类:
其他好文 时间:
2020-06-30 18:56:32
阅读次数:
44
#前言:基于inotify的三种实时同步方法 inotify 脚本部署 (inotifly脚本无法由systemctl启动,只能手动/脚本启停,pkill sersync2,sersync2 -dro /usr/bin/xxxxx) lsync 软件部署 sersync 软件二进制部署。 #几大实时 ...
分类:
其他好文 时间:
2020-06-20 21:11:12
阅读次数:
98
使用playbook实现一键部署keepalived+nginx+PHP+wordpress+mariadb 环境 主机名 安装服务 wan lan lb01 nginx+keepalived(master) 10.0.0.5 172.16.1.5 lb02 nginx+keepalived(bac ...
分类:
数据库 时间:
2020-06-14 16:42:03
阅读次数:
56
模板机,交换机,lan区段,read 2. ssh scp rsync的三种传输方式 rsync+cron 3. rsync+inotify NFS 4. rsync和NFS排错 sersync 5. ssh telnet 环境变量与命令 ifconfig、ifup、ifdown ssh免密登录 跳 ...
分类:
其他好文 时间:
2020-06-14 01:22:53
阅读次数:
84
第1章 实时同步介绍 1.1 实时同步的概念 通俗讲就是把存储服务器上要备份的数据实时同步到备份服务器上,如果原来有的数据则不进行同步 第2章 lsyncd介绍 1.2 lsyncd简介 Lysncd 实际上是lua语言封装了 inotify 和 rsync 工具,采用了 Linux 内核(2.6. ...
分类:
其他好文 时间:
2020-06-03 17:21:07
阅读次数:
59
swoole mixphp swoolefor热更新使用方法 /usr/local/php7.3/bin/php swoolefor.phar --exec="/usr/local/php7.3/bin/php /home/mix/bin/mix.php web" --no-inotify exec ...
分类:
Web程序 时间:
2020-05-31 21:57:28
阅读次数:
125
本文将教大家如何从零开始开发一个基于 Roslyn 的 C# 源代码分析器 Analyzer 和修改器 CodeFixProvider。可以作为 Visual Studio 插件安装和使用,也可以作为 NuGet 包安装到项目中使用(无需安装插件)。无论哪一种,你都可以在支持 Roslyn 分析器扩 ...
实验部分 1.安装rsync 2.配置文件 3.配置密码 4.后续 5.为了测试,创建几个文件 配置实时同步 1.调整inotify内核参数 安装inotify-tools 测试同步 编写脚本 验证 重点内容 1、认识 Rsync(remote synchronize)是一个远程数据同步工具,可通过 ...
分类:
系统相关 时间:
2020-05-26 01:19:22
阅读次数:
85
inotify 监控简单shell for foo in /proc/*/fd/*; do readlink -f $foo; done | grep inotify | sort | uniq -c | sort -nr 一个很不错的script #!/bin/sh ? # Get the pro ...
分类:
其他好文 时间:
2020-05-25 12:10:58
阅读次数:
73