Install SVN
Yum Install Subversion
Create a warehouse dev
useradd Svnpassword svn su - svnmkdir-p/home/svn/repositories/dev
Svnadmin Create/home/svn/repositories/dev
Configure users and Permissions 1. Add Users and Passwords
There are already passwd and Authz profiles in/home/svn/repositories/dev/conf, but it is inconvenient to build multiple repositories in the future, it is recommended to establish a unified passwd and Authz configuration file.
vim/home/svn/repositories/passwd= svnadmin 123456123456
2. Configure access rights
Vim /home/svn/repositories/authz[groups] #建立分组 dev = = svnadmin[/== rw
* = #表示其它用户没有任何权限 [/= RW
* =
3. Configure svnserve.conf
[General]anon-access = noneauthwritepassword-db =/home/svn/repositories/ passwdauthz-db =/home/svn/repositories/= DEV
4. Start and close the SVN service
Killall-d-r/home/svn/repositories/dev
Build SVN services under Linux