<div dir="ltr"><span style="font-size:12.8px">Good morning,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">    I hope that the following will help the next person googling their brains out for any documentation on installing Csync2 2.0 on RHEL 7.</div><div style="font-size:12.8px"><br></div><div><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo yum -y install gcc gcc-c++ make </span><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6667px;line-height:20.24px;white-space:pre-wrap">openssl </span><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6667px;white-space:pre-wrap;line-height:1.38;background-color:transparent">openssl-devel librsync librsync-devel gnutls libtasn1 gnutls-devel sqlite sqlite-devel lsyncd xinetd</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">cd ~</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">wget </span><a href="http://oss.linbit.com/csync2/csync2-2.0.tar.gz" target="_blank" style="text-decoration:none"><span style="font-size:14.6667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">http://oss.linbit.com/csync2/csync2-2.0.tar.gz</span></a></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">tar xvf csync2-2.0.tar.gz</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">cd csync2-2.0</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">./configure</span><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">make</span><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo make install</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo make cert</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo su</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">echo &quot;csync2 30865/tcp&quot; &gt;&gt; /etc/services</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">exit</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;line-height:normal;white-space:normal"></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"># Update path for sudo</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">sudo vi /etc/sudoers</span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;line-height:normal;white-space:normal"></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-indent:36pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Defaults    secure_path = /sbin:/bin:/usr/sbin:/usr/bin:</span><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">/usr/local/sbin</span></p><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"># Generate key</span></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo csync2 -k /usr/local/etc/csync2_ssl_cert.key</span></span><br></span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">#Modify Confs</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo vi </span><span style="font-size:14.6667px;line-height:20.24px;background-color:transparent">/usr/local/etc/</span><span style="font-size:14.6667px;line-height:1.38;background-color:transparent">csync2.cfg</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">group website {</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host node1;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host node2;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  key /usr/local/etc/csync2_ssl_cert.key;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  include /var/www/drupal;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  auto none;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">}</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo vi /usr/local/etc/csync2_node1.cfg</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">group node1 {</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host node1;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host (node2);</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  key /usr/local/etc/csync2_ssl_cert.key;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  include /var/www/drupal;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  auto none;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">}</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo vi </span><span style="font-size:14.6667px;line-height:20.24px;background-color:transparent">/usr/local/etc/</span><span style="font-size:14.6667px;line-height:1.38;background-color:transparent">csync2_node2.cfg</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">group node2 {</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host (node1);</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  host node2;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  key /usr/local/etc/csync2_ssl_cert.key;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  include /var/www/drupal;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">  auto none;</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">}</span></p></span></span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent"># Configure Xinetd csync2 service</span></span></span></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo chkconfig --level 345 xinetd on</span></p><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo vi /etc/xinetd/csync2</span></span><span style="font-weight:normal"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent"><br></span></span></span></div><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent"><br></span></span></span></div><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"></span></p><div style="font-size:12.8px"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);font-weight:700;vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><span style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">service csync2</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">{</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">disable = no</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">protocol = tcp</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">socket_type = stream</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">wait = no</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">user = root</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">server = /usr/local/sbin/csync2</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">server_args = -i</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:36pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">}</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent"><br></span><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo service xinetd start</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo firewall-cmd --permanent --add-port=30865/tcp</span></p><span style="font-size:14.6667px;vertical-align:baseline;background-color:transparent">sudo firewall-cmd --reload</span></span></span></div><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><br></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p style="margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="font-size:14.6667px;line-height:20.24px;white-space:pre-wrap">Hope you all have a great day,</span></font></p><p style="margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="font-size:14.6667px;line-height:20.24px;white-space:pre-wrap"><br></span></font></p><p style="margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="Arial"><span style="font-size:14.6667px;line-height:20.24px;white-space:pre-wrap">~Jeremy</span></font></p></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Jeremiah Brock<br>IT Web, Data and Development Services<br>425-259-8707<br><a href="mailto:jbrock@everettcc.edu" target="_blank">jbrock@everettcc.edu</a></div></div>
</div>