[Csync2] Re: Csync2 Digest, Vol 26, Issue 2

prashant prashant at bluebarracuda.com
Mon Nov 26 12:15:13 CET 2007


Hi,

I have csync2 installed in Redhat el5. Here is the steps i went through.

Hope it helps.

Cheers,

Prashant

*Csync2 will be used to copy log file across to another server.*


The following needs to be installed before

   1.

      libgpg-error-1.4-2.rpm

   2.

      libtasn1-0.3.8-1.el5.rf.i386.rpm

   3.

      libgcrypt-1.2.3-1.rpm

   4.

      gnutls-1.4.1-2.i386.rpm

   5.

      gnutls-devel-1.4.1-2.i386.rpm

   6.

      gnutls-utils-1.4.1-2.i386.rpm


and the following packages


   7.

      _librsync-0.9.7-2.el5.rf.i386.rpm
      <http://dag.wieers.com/rpm/packages/librsync/librsync-0.9.7-2.el5.rf.i386.rpm>_


http://dag.wieers.com/rpm/packages/librsync/librsync-0.9.7-2.el5.rf.i386.rpm


   8.

      _libtasn1-0.3.8-1.el5.rf.i386.rpm
      <http://dag.wieers.com/rpm/packages/libtasn1/libtasn1-0.3.8-1.el5.rf.i386.rpm>_
      available from
      http://dag.wieers.com/rpm/packages/libtasn1/libtasn1-0.3.8-1.el5.rf.i386.rpm


and sqlite (use sqlite2 instead as per csync website)

*wget http://www.sqlite.org/sqlite-2.8.17.tar.gz*


get csync from *wget http://oss.linbit.com/csync2/csync2-1.34.tar.gz*


   1.

      tar -zxvf csync2-1.34.tar.gz


   2.

      cd csync2-1.34.tar.gz


   3.

      ./configure --with-libsqlite-source=sqlite-2.8.17.tar.gz
      --with-libgnutls-prefix=/usr

   4.

      make


   5.

      make install


   6.

      make cert


   7.

      echo "csync2 30865/tcp" >> /etc/services


   8.

      creatin the key file *csync2 -k filename* -- and copy the file
      over to the other server





csync2-request at linbit.com wrote:
> Send Csync2 mailing list submissions to
> 	csync2 at lists.linbit.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.linbit.com/mailman/listinfo/csync2
> or, via email, send a message with subject or body 'help' to
> 	csync2-request at lists.linbit.com
>
> You can reach the person managing the list at
> 	csync2-owner at lists.linbit.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Csync2 digest..."
>
>
> Today's Topics:
>
>    1. [PATCH] csync2.spec update (Ask Bj?rn Hansen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Nov 2007 02:47:32 -0800
> From: Ask Bj?rn Hansen <ask at develooper.com>
> Subject: [Csync2] [PATCH] csync2.spec update
> To: csync2 at lists.linbit.com
> Message-ID: <D28BBA6E-8756-40AD-9378-C2A66E4B938A at develooper.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> I needed the following to build on a RHEL5 box.
>
>   - ask
>
> --- csync2.spec	(revision 393)
> +++ csync2.spec	(working copy)
> @@ -23,7 +23,7 @@
>   # norootforbuild
>   # neededforbuild  openssl openssl-devel
>
> -BuildRequires: sqlite-devel sqlite librsync openssl-devel librsync- 
> devel
> +BuildRequires: sqlite-devel sqlite librsync openssl-devel librsync- 
> devel byacc flex
>
>   Name:         csync2
>   License:      GPL
> @@ -83,12 +83,17 @@
>   %defattr(-,root,root)
>   %doc ChangeLog README NEWS INSTALL TODO AUTHORS
>   %{_sbindir}/csync2
> +%{_sbindir}/csync2-compare
>   %{_var}/lib/csync2
> -%{_mandir}/man1/csync2.1.gz
> +%{_mandir}/man1/csync2.1
>   %config(noreplace) %{_sysconfdir}/xinetd.d/csync2
>   %config(noreplace) %{_sysconfdir}/csync2.cfg
>
>   %changelog
> +* Mon Nov 26 2007 Ask Bjoern Hansen <ask at develooper.com>
> +- Add more BuildRequires
> +- Tiny cleanups
> +
>   * Tue Dec 06 2005 Clifford Wolf <clifford.wolf at linbit.com>
>   - Some fixes and cleanups for RPM 4.4.1
>   
>
>
> ------------------------------
>
> _______________________________________________
> Csync2 mailing list
> Csync2 at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/csync2
>
>
> End of Csync2 Digest, Vol 26, Issue 2
> *************************************
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/csync2/attachments/20071126/a007fbdd/attachment.html


More information about the Csync2 mailing list