Build SVN server in CentOS Linux
Linux: CentOS
The installation procedure is as follows:
1. yum install subversion
2. Enter rpm-ql subversion to view the installation location, for example:
We can see that svn generated several binary files in the bin directory.
Enter/usr/bin/svnversion -- version to view the svn version. This indicates that svn is successfully installed, for example:
3. Create the svn version library directory
Mkdir-p/var/svn/svnrepos
4. Create a version Library
Svnadmin create/var/svn/svnrepos
After this command is executed, the following files are generated in the/var/svn/svnrepos directory:
5. Go to the conf directory (the svn version library configuration file)
The authz file is a permission control file.
Passwd is the account password file
Svnserve. conf SVN service configuration file
6. Set the account password
Vi passwd
Add the user and password to the [users] block. Format: account = password, for example, dan = dan
7. Set permissions
Vi authz
Add the following code at the end:
[/]
Dan = rw
W = r
Dan, the root directory of the version Library, has read and write permissions. w has only read permissions.
8. Modify the svnserve. conf file.
Vi svnserve. conf
Open the following comments:
Anon-access = read # anonymous user readable
Auth-access = write # authorized users can write
Password-db = passwd # Which file is used as the account file
Authz-db = authz # Which file is used as the permission File
Realm =/var/svn/svnrepos # Name of the authentication space, directory of the version Library
9. Start the svn version Library
Svnserve-d-r/var/svn/svnrepos
10. Test on Windows
Set up SVN server SVN in Ubuntu 14.04 ://
CentOS 6.2 SVN setup (YUM installation)
Deploy Apache + SVN in CentOS 6.5
Build an SVN server using Apache + SVN
Set up and use the SVN server in Windows + reset the password on the client
Install SVN in Ubuntu Server 12.04 and migrate Virtual SVN data
Build SVN service and migration method on Ubuntu Server
Subversion (SVN) Details: click here
Subversion (SVN): click here
This article permanently updates the link address: