[ start | index | login ]

CentOS-subversion

Created by mpecher. Last edited by mpecher, 2 years and 114 days ago. Viewed 291 times. #5
[diff] [history] [edit] [rdf]
labels
attachments
>>http://svn.collab.net/repos/svn/trunk/doc/user/svn-best-practices.html

>>http://svn.collab.net/repos/svn/trunk/INSTALL


Installing subversion on CentOS

1. Install packages using yum
      yum install subversion mod_dav_svn

2. Prepare the repository.

mkdir /var/www/svn cd /var/www/svn svnadmin create myrepo chown -R apache.apache myrepo

3. create user password ### First time: use -c to create the file ### Use -m to use MD5 encryption of the password, which is more secure htpasswd -cm /etc/svn-auth-file mpecher

#adding more users: #htpasswd -m /etc/svn-auth-file sally

4. setup httpd.conf

<Location /svn> DAV svn SVNParentPath /var/www/svn #commenting the limit below will block all access #<LimitExcept GET PROPFIND OPTIONS REPORT> AuthType Basic AuthName "Subversion repos" AuthUserFile /etc/svn-auth-file Require valid-user #</LimitExcept> </Location>

CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

5. Now we are ready to restart httpd. service httpd restart

no comments | post comment

Menu:
Java & J2EE
Development
Books

Help:
Help FAQ
Formatting


< September 2010 >
SunMonTueWedThuFriSat
1234
567891011
12131415161718
19202122232425
2627282930


Logged in Users: (0)
… and 25 Guests.



Disclaimer: Views and opinions are that of the individual author, and not that of Marand Custom Solutions. This site is an open forum for technical content, and the company accepts no liability for any content or view expressed.