Thursday, December 17, 2009

SVN upgrade to 1.6.6

After being pointed out by ejat about the OSCC SVN server was being slow (or something, along the line of should upgrade to 1.5 for faster process) so I went out and check out SVN was indeed of version 1.4.2, the latest is 1.6.6.

On CentOS machine:

Stop any service that's running httpd, svnserve, etc.

Add RPMForge repository as that's where the latest SVN is

# i386
$ wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
$ rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm



This will create /etc/yum.repo.d/rpmforge.repo file. Edit this file, change enable=0 as RPMForge contains bleeding edge, often unstable packages. You don't want to do $ yum update accidentally and put your entire system at risk if you don't know what you're doing.

You may not need this but just in case, backup your SVN repo.

$ svnadmin dump /path/to/repository > dumpfile.txt



If anything goes wrong, even if you install a new copy of SVN, you can recover you data with this:

$ svnadmin create /path/to/newrepository
$ svnadmin load /path/to/newrepository

Now check for SVN update $ yum --enablerepo=rpmforge check-update subversion It should display the latest version like this subversion.x86_64 1.6.6-0.1.el5.rf rpmforge

Then upgrade $ yum --enablerepo=rpmforge update subversionThis will update SVN from the RPMForge.

Restart the service httpd, svnserve, etc.

1 comment:

  1. I’m impressed with the post which you have shared. This is very informative to know the benefits of outsourcing web development services.
    Hire Dedicated Developers
    Hire Cake Php Developer
    Smarty Developers
    Hire Cake Php Programmer
    Hire Phonegap Developer

    ReplyDelete