I. Summary
Use SVN server mainly under Linux operating system
Second, installation steps
0. Verify if there is a svnserver (Svnserve--version)
1. Install Svnserver (yum install-y subversion)
2. Verify that the installation is successful (Svnserve--version)
3. Access to the SVN Resource directory (CD/HOME/SVNDIR)
4. Creating the SVN repository (svnadmin create MyProject)
5. New users
6. Configure User Permissions
7. Configure Repository Permissions
8. Start or restart
9. Testing
Third, the text description
0. Verify that the installation is not installed.
Installed as
1. Installation
2. Re-verify
3. Go to the SVN Resource Directory (CD/HOME/SVNDIR) and create the SVN repository (svnadmin create MyProject)
4. Access to resources
The directory where the conf configuration file resides
5. Go to the Configuration folder
Authz is a permission-related configuration
PASSWD is an account-related configuration
Svnserve.conf is a resource pool-related configuration
6. New users
Edit the passwd file, add users under Users, in the format user name = password
7. Configure User Permissions
Edit the Authz file, add permissions under [/], format user name = Permission (rw) for read and write permissions
8. Configure Repository Permissions
Edit the svnserver.conf file as follows
9. Start or restart
If it is the first time to start the direct execution command svnserver-d-R directory (can be an absolute path)
If it is a reboot, first kill
10. Testing
Upload a file test
The results are as follows:
To this an SVN server has been built
The SVN server setup process under Linux system