I. Set up Subversion server running over svn:// protocol
- After you install Subversion, open shell, change directory to subversion's /bin folder.
- Type svnadmin create <Your Resporitory Path>
For example: svnadmin create /home/svn-repos - Then Subversion will create necessary files into repository folder.
- Change directory to repository, you will find "svnserve.conf" and "passwd" two files under "{repository-root}/conf" folder.
- First to open "svnserve.conf" file, you can just clean all of the default content, and just put the following content into that file.
[general]
anon-access=none
password-db=passwd - After that, open "passwd" file. Follow the syntax below to add user name and password.
[users]
user1=password1
user2=password2 - Finally, start Subversion server.
Change directory back to subversion's bin folder, execute svnserve -d -r <Your Repository Path> - Now you can start to commit and update source with your team members.
II. Set up SubVersion server running over http:// protocol
<This part will be added soon....>