1. Install SVN software
Yum Install Subversion-y
2. Build the root directory of the library, which is the root directory for all libraries (path:/home/svn-server/), then enter this directory
mkdir/home/svn-server/
cd/home/svn-server/
3. Set up the repository in the root directory SVN database test
Svnadmin Create test
4. Enter the Conf directory of the SVN repository directory and modify the svnserve.conf file
Under [General]
#anon-access = Read
#auth-access = writ
#password-db = passwd
#authz-db = Authz
The comments are removed
6. Enter the Conf directory of the SVN repository directory, modify the passwd file, and in the [Users] section, add the user name and password
For example:
User1 = 123456
7. Enter the Conf directory of the SVN repository directory, modify the Authz file, add the user's directory control permissions in the repository
For example:
[test:/]
User1 = RW
8. Run SVN service, svnserve-d-R directory Name
For example:
Svnserve-d-r/home/svn-server/
9. Export the library test
Export Address:
svn://127.0.0.1/test/
Participation Information:
1, SVN server start, restart, stop and other operational scripts (http://blog.csdn.net/long7181226/article/details/22316795)
2. Detailed analysis of svnserve configuration file (http://blog.csdn.net/thinkerabc/article/details/1831025)
3, Four steps to easily start the Svnserve service (http://developer.51cto.com/art/201006/203476.htm)
SVN repository and related configuration under Linux