Sersync
Sersync 服务需要在Rsync基础上搭建,以下操作在客户端上完成
确保 Rsync 可推送成功
rsync -az /etc/hosts [email protected]::backup安装 Sersync
cd /server/tools
wget https://raw.githubusercontent.com/wsgzao/sersync/master/sersync2.5.4_64bit_binary_stable_final.tar.gz
# 备用地址:
# https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/sersync/sersync2.5.4_64bit_binary_stable_final.tar.gz
tar xf sersync2.5.4_64bit_binary_stable_final.tar.gz
mkdir -p /application/sersync
mkdir -p /application/sersync/bin
mkdir -p /application/sersync/conf
mkdir -p /application/sersync/logs
cp ./GNU-Linux-x86/sersync2 /application/sersync/bin
cp ./GNU-Linux-x86/confxml.xml /application/sersync/conf配置文件说明
启动服务
由于不是yum安装,所以不能systemctl启动,可以自己手动写成服务,然后就可以使用systemctl进行管理了
Last updated