First, download and install RPMForge from here.

Once your RPMForge installed, open this file

/etc/yum.repos.d/rpmforge.repo
and change the value of
enabled=1 to enabled=0
* This is to disable rpmforge from yum and you can enable it when you need later
Now, enter the command below
$ yum --enablerepo=rpmforge list available | grep subversion

and you should see the latest subversion version from rpmforge.

subversion.i386                            1.4.2-4.el5_3.1            base
subversion.x86_64                          1.6.9-0.1.el5.rf          rpmforge
subversion-devel.i386                      1.4.2-4.el5_3.1            base
subversion-devel.x86_64                    1.6.9-0.1.el5.rf           rpmforge
subversion-javahl.x86_64                   1.4.2-4.el5_3.1            base
subversion-perl.x86_64                     1.6.9-0.1.el5.rf           rpmforge
subversion-ruby.x86_64                     1.4.2-4.el5_3.1            base
Enter the command below to install the latest svn from rpm forge.
For 64 bit OS:-
$ yum --enablerepo=rpmforge install subversion.x86_64

For 32 bit OS:-

$ yum --enablerepo=rpmforge install subversion.i386

Just enter Yes for all the dependency needed and svn will be installed.

To verify if SVN is properly installed, enter the command below and it should show u the svn version details.
$ svn --version

To backup svn server, follow the steps below:

  • First, login to your svn server
  • Enter the command below to backup your svn repo:-
svnadmin dump /path/to/reponame > /path/to/reponame.svndump
If your svn repo is too large, you can use gzip to compress it during the backup. Try the command below:-
svnadmin dump /path/to/reponame | gzip > reponame.svndump.gz

To extract gzip file, use the command below:-

gunzip reponame.svndump.gz
Thank You for visiting site.

 

Posted by subashstha

Leave a Reply