rsync同步

简介: rsync同步

环境准备  

#时关闭防火墙

[root@mayongle1 ~]# systemctl stop firewalld.service

#关闭开机自启

[root@mayongle1 ~]# systemctl disable firewalld.service

Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service. Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

#临时关selinux

[root@mayongle1 ~]# setenforce 0

#永久关selinux

#/etc/selinux/config文件SELINUX值改成disabled

[root@mayongle1 ~]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

#

#

#

enforcing - SELinux security policy is enforced.

permissive - SELinux prints warnings instead of enforcing.

disabled - No SELinux policy is loaded.

SELINUX=disabled

# SELINUXTYPE= can take one of three values:

#

#

targeted - Targeted processes are protected,

minimum - Modification of targeted policy. Only selected processes are

protected.

#     mls - Multi Level Security protection.

SELINUXTYPE=targeted

相关文章
|
12月前
|
监控 算法 Unix
rsync远程同步
rsync远程同步
130 0
|
监控 安全 关系型数据库
rsync—远程同步(二)
rsync—远程同步(二)
rsync—远程同步(二)
|
监控 算法 安全
rsync远程同步(上)
一、rsync介绍 1.1 rsync简介 rsync(Remote Sync,远程同步)是一个开源的快速备份工具,可以在不同主机之间镜像同步整个目录树,支持增量备份,并保持链接和权限,且采用优化的同步算法,传输前执行压缩,因此非常适用于异地备份、镜像服务器等应用。
313 0
|
消息中间件 缓存 监控
rsync远程同步(下)
一、rsync介绍 1.1 rsync简介 rsync(Remote Sync,远程同步)是一个开源的快速备份工具,可以在不同主机之间镜像同步整个目录树,支持增量备份,并保持链接和权限,且采用优化的同步算法,传输前执行压缩,因此非常适用于异地备份、镜像服务器等应用。
144 0
|
监控 安全 数据安全/隐私保护
|
分布式计算 Hadoop 开发工具
Rsync 实现远程同步
         介绍   rsync命令是一个远程数据同步工具,可通过LAN/WAN快速同步多台主机间的文件。rsync使用所谓的“rsync算法”来使本地和远程两个主机之间的文件达到同步,这个算法只传送两个文件的不同部分,而不是每次都整份传送,因此速度相当快。
1722 0
|
网络安全 开发工具 vr&ar
|
网络安全 Shell 数据安全/隐私保护
|
监控 Shell 关系型数据库