How to install Subversion on CentOS 4.5

I was assigned to find out how to install Subversion on CentOS. It is a good version control system right now, especially for development teams in any enterprises. Installing Subversion on CentOS is quite easy as follows.

  1. Install packages using yum

    yum install subversion mod_dav_svn
    
  2. Configure /etc/httpd/conf.d/subversion.conf as you wish.

    LoadModule dav_svn_module     modules/mod_dav_svn.so
    LoadModule authz_svn_module   modules/mod_authz_svn.so
     
    
        DAV svn
        SVNParentPath /var/www/svn
        
           AuthType Basic
           AuthName "Subversion repos"
           AuthUserFile /var/www/svn/htpasswd
           Require valid-user
        
    
  3. Prepare the repository.

    mkdir /var/www/svn
    cd /var/www/svn
    svnadmin create myrepo
    chown -R apache.apache myrepo
  4. Now we are ready to restart httpd.

    service httpd restart
    

And then we are able to import codes right now.

Tags: , ,

Which version of Subversion CentOS 4.5's yum gets

is it 1.4.2?

yes

It is 1.4.2-2.el5.

subversion on centOS 4.5

my web hosting provider runs on centOS 4.3 actually, but anyrate, I was just wanting to install the subversion client, so that I can use it to upgrade my wordpress blog. How do I do that? (yes I have root access to the server, its on a VPS)

yum

You can use yum to automate installation process. Make sure you enable centos repos.

Yum Installing Subversion 1.1.4 on CentOS

Hello, Surgee--it's John from Bangkok! Did a Yahoo search and look who's website I ran across! I just install Subversion on CentOS 4.5 via yum and it installed v1.1.4. How did you wind up with 1.4.x? I also heard it v1.4.x requires an updated version of apr and that might break my custom apache 1.3 compile. (Or not?) Running into problems doing diffs via WebDAV with v1.1.4; it's a bug in pre v1.2.x Subversion--so I need > v1.2

Yum Installing Subversion 1.1.4 on CentOS

Hello, Surgee--it's John from Bangkok! Did a Yahoo search and look who's website I ran across! I just install Subversion on CentOS 4.5 via yum and it installed v1.1.4. How did you wind up with 1.4.x? I also heard it v1.4.x requires an updated version of apr and that might break my custom apache 1.3 compile. (Or not?) Running into problems doing diffs via WebDAV with v1.1.4; it's a bug in pre v1.2.x Subversion--so I need > v1.2

Yum Installing Subversion 1.1.4 on CentOS

Hello, Surgee--it's John from Bangkok! Did a Yahoo search and look who's website I ran across! I just install Subversion on CentOS 4.5 via yum and it installed v1.1.4. How did you wind up with 1.4.x? I also heard it v1.4.x requires an updated version of apr and that might break my custom apache 1.3 compile. (Or not?) Running into problems doing diffs via WebDAV with v1.1.4; it's a bug in pre v1.2.x Subversion--so I need > v1.2

Yum Installing Subversion 1.1.4 on CentOS

Yum is automate download svn for you and mod_dav_svn it's 1.1.4 version. Jitendra http://www.tatvasoft.com

Auth file

Thank you for your post. It was useful for me but I needed add line for auth file: DAV svn SVNParentPath /var/www/svn AuthType Basic AuthName "Subversion repos" AuthUserFile /var/www/svn/apachesvnpasswd AuthzSVNAccessFile /var/www/svn/apachesvnauth Require valid-user /var/www/svn/apachesvnauth is like: [/] * = r [myrepo:/] user1 = rw

Is it working with other

Is it working with other versions?

Post new comment