Step 1#
#yum install subversion
#mkdir /backup/svnroot/
#svnadmin create /backup/svnroot/testrepo
Step 2#
#vim /backup/svnroot/testrepo/conf/svnserve.conf
#Edit as below
passwd = /backup/svnroot/testrepo/conf/passwd
authz = /backup/svnroot/testrepo/conf/authz
Step 3#
vim /backup/svnroot/testrepo/conf/passwd
#Add below
mohamed.mansoor = secret123
Step 4#
vim /backup/svnroot/testrepo/conf/authz
#Add below
[testrepo:/]
mohamed.mansoor = rw
Step 5#
#Start svn as daemon
svnserve -d -r /backup/svnroot/
Step 6#
#svn ls svn://localhost/testrepo
username: mohamed.mansoor
password = secret123
No comments:
Post a Comment