![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
文件同步
ℳℓ班
持续学习
展开
-
NFS+keepalive+Rsync高可用
NFS+keepalive+Rsync高可用服务器信息:(centos7)fs01:192.168.29.177fs02:192.168.29.178vip:192.168.29.176client:192.168.29.1981.安装所需工具yum install -y rsync inotify-tools nfs-utils rpcbind keepalived2.配好相互公钥用于rsync免密文件同步 略…3.防火墙&selinux…setenforce 0s原创 2021-04-22 17:07:59 · 481 阅读 · 0 评论 -
rsync+inotify文件同步
rsync+inotify文件同步机器:192.168.29.182/186注:因为rsync基于sshd服务器,所以需要两台服务器互相做好免密登陆1.生成密钥文件[root@186 ~]# ssh-keygen #连续三个回车Generating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passp原创 2020-09-03 10:54:02 · 84 阅读 · 0 评论