Install Unison Centos 7
If you get one or more User Account Control messages, click Yes. How to crack and install tomtom maps free.
Unison is a file-synchronization tool similar to rsync. The main difference is that unison tracks changes on both directions so you don’t to have two separate rsync to pull and push data on both folders.
Centos 7 Download
Centos 7 Installation Guide
This means files changed on server1 will be replicated to server2 and vice versa. It’s also easier to setup since no scripting necessary. Setup ssh keys for password less log-in Edit /etc/ssh/sshd_config file on both server. Nano /etc/ssh/sshd_config To activate root login, modify the below line to yes.
Install Unison Centos 7 10
PermitRootLogin yes Save and exit. Restart sshd to take effect: service sshd restart Now generate keys on both server: (just press enter and do not enter a passphrase) [~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): [~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): On server1 copy the public key of server2 to the authorized_keys: [~]# cat.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvR4TBHPYjqet8H1xA8zmHorHz h2OPIqYWIqYavRm0x23CtYmz84uhoRYy2F93C2rln7vx8HqHGkOECsdO82xmEdh /o4TLPP/tCYQwbG5VOBcwEmSJYeCawm2h5cZNJHR0IRIgOdQdZRuP1ugl == Copy the above string to authorizred_keys of server1. [~]# nano.ssh/authorized_keys Save and exit, and set the permission to 600: [~]# chmod 600.ssh/authorized_keys Now to the same on server2. Copy the public keys of server1 to the authorized_keys on server2. [~]# cat.ssh/id_rsa.pub ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAupfkXZxJkusm1OqPai3sByuwo5wtqIqsc8 yMoKFTjiHjPdpkAdI2XdCHdkPaHX7eEQ6lFZoZHvhs0rYI4ROw/jt+A4r UcFlKeUQPgnorRjeXlleeSciEgEK1xt5vUffpHZ6uVmJL2zv1QOV1U/ N/f8Hgjr/q8NJMOOO3EdM4ZtvsZwy5TiqE34yr96yBCyU8D2/Y== Copy the above string to authorizred_keys of server2.