1. Install Subversion
#yum install-y Subversion
2. View the SVN server version
#svnserve--version
3. Create an SVN library
#mkdir-P/home/svn/#svnadmin create/home/svn/
4. Go to the Configuration folder
#/home/svn/conf
5. Create a user
#vi + passwd[users]# Harry = harryssecret# sally = Sallyssecretsvntest = 123456
6. Configure Permissions
#vi + AUTH2[/]HUANQIU=RW
7. Modify the svnserve.conf configuration
#vi + svnserve.conf[general] #匿名访问的权限, which can be Read,write,none, readanon-access=none# gives authorized users write access by default auth-access=write# Path to the password database password-db=passwd# access control file authz-db=authz# authentication namespace, Subversion is displayed in the authentication prompt and is the keyword for the credential cache REALM=/HOME/SVN
8. Start the SVN server
#svnserve-D-R
9. View the process
#ps-ef|grep svn|grep-v greproot 56079 1 0 17:44? 00:00:00 svnserve-d-R/HOME/SVN
10. Detecting SVN ports
Netstat-ln |grep 3690tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
This article is from the "Keefe" blog, make sure to keep this source http://keefe.blog.51cto.com/9548710/1917871
Build SVN server under Linux--based on SNMP