How to create a new SVN repository
On the local machine the svn server is on:
Create the new repo:
1 |
# svnadmin create /path/to/repo/reponame |
Change ownership to web daemon:
1 |
# chown -R apache.apache /path/to/repo/reponame |
Switch to svn account:
1 |
# su - svn |
Edit policy file to give users access:
1 |
# vim .svn-policy-file |
Add access to the repo, e.g.
1 2 |
[reponame:/] username = rw |
Now a new project can be committed to the repo.