How to install and configure SVN and Access it on web browser using apache on RHEL 5.0
How to install and configure SVN and Access it on web browser using apache on RHEL 5.0
Me too looking for this.. if any one have step by step procedure to setup this plz share your links here..
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Ensure you have the rpmforge repo installed, I grab my subversion updates from here.
This is enough to run the serverCode:yum install subversion
Create a directory for your subversion repository, ideally on a seperate parition with plenty of space to avoid having to scrub it in a hurry and discard material.
I have mine on /var/www/svn and have a symlink to /svn for ease of writing the urls for svnserve use.
You shoud also create user account designated as the owner of the subversion repository.
Code:/usr/sbin/useradd -c 'Subversion User' -r svnsudo to become that user, and make sure that /var/www/svn is writable.Code:mkdir /var/www/svn; ln -s /var/www/svn /svn chown -R svn:svn /var/www/svn
Then try creating and testing a Subversion repo:
To view your SVN repo on apache, you can use ViewVC: ViewVC: Repository BrowsingCode:svnadmin create /svn/test svn mkdir -m "initial setup" /svn/test/trunk svn list file:///svn/test/
You can grab the rpm form rpmforge.
The only thing you need to change in configuration is the root_parents variable.Code:yum install viewvc
To view your repo just browse to the viewvc directory on your subversion server: http://subversionsrv/viewvcCode:root_parents = /var/www/svn : svn,
Here is some more info on configuring the subversion server: http://www.xsteve.at/prg/vc_svn/svn.txt
Hope this helps
Ananth
Last edited by ananth_ak; 1st December 2010 at 08:39 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)