Verizon FiOS broadband High speed Internet deals/Coupons

Install Subversion on Fedora 8 Linux

| 1 comments ]

Install Subversion on Fedora 8 Linux

I have been working on subversion installations for our developers on Fedora servers. Last week completed building new fedora 8 server to setup subversion on it. While installing subversion on new Fedora 8 server i have been making notes to have a quick handy documentation:

Preparing for subversion installation in Fedora 8:

By default Subversion comes pre-installed on Fedora, if you are using some other Linux flavor and don't know if you have subversion installed already here how you can verify:

[root@subversionsvr ~]# rpm -qa |grep subversion

subversion-1.4.4-7

If you don't have subversion installed, you can install it using yum

[root@subversionsvr ~]# yum install subversion

Install mod_dav_svn on Fedora 8 :

If you are planning to access your subversion repositories using web (apache/http) server then you need to install apache configuration directives for subversion.

[root@subversionsvr ~]# [root@test ~]# yum install mod_dav_svn

Setting up Install Process

Parsing package install arguments

Resolving Dependencies

--> Running transaction check

---> Package mod_dav_svn.i386 0:1.4.4-7 set to be updated

--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================

Package Arch Version Repository Size

=============================================================================

Installing:

mod_dav_svn i386 1.4.4-7 fedora 71 k

Transaction Summary

=============================================================================

Install 1 Package(s)

Update 0 Package(s)

Remove 0 Package(s)

Total download size: 71 k

Is this ok [y/N]:y

Installed: mod_dav_svn.i386 0:1.4.4-7

Complete!

setting up subversion repositories

root@subversionsvr ~]# mkdir /svndir

root@subversionsvr ~]# mkdir -p /svndir/repos

root@subversionsvr ~]# mkdir /svndir/users

root@subversionsvr ~]# mkdir /svndir/permissions

change permissions for subversion directories

[[root@subversion-svr /]# chown -fhR apache.apache svndir

Create a new subversion repository for fresh install

[[root@subversion-svr /]# svnadmin create /svndir/repos/projectA

Configure apache to access subversion directory


[[root@subversion-svr /]# cd /etc/httpd/conf.d

Add Location directive for subversion directory location. I have to created apache configuration file for subversion

[[root@subversion-svr  conf.d/]# cat subversion.conf

<Location /svn>

DAV svn

SVNParentPath /svndir/repos

        AuthType Basic

        AuthName "Subversion Repository"

        AuthUserFile /etc/svn-passwd

        Require valid-user

</Location>


Related Posts :



SocialTwist Tell-a-Friend

1 comments

sanjay said... @ January 29, 2009 1:42 AM

how to check is working or not working

Post a Comment

 
Creative Commons License
Software Blogs - Blog Catalog Blog Directory