Wednesday, 10 September 2014

SVN Installation in RHEL/CentOS


#yum install subversion
 

#mkdir /backup/svnroot/
svnadmin create /backup/svnroot/testrepo

#vim /backup/svnroot/testrepo/conf/svnserve.conf
#Edit as below
passwd = /backup/svnroot/testrepo/conf/passwd
authz = /backup/svnroot/testrepo/conf/authz

vim /backup/svnroot/testrepo/conf/passwd
#Add below
mohamed.mansoor = secret123

vim /backup/svnroot/testrepo/conf/authz
#Add below
[testrepo:/]
mohamed.mansoor = rw

#Start svn as daemon
svnserve -d -r /backup/svnroot/

#svn ls svn://localhost/testrepo
username: mohamed.mansoor
password = secret123

No comments:

Post a Comment