The installation steps are as follows:
1. Yum Install Subversion
2. Enter RPM-QL subversion to view the installation location, such as: we know that SVN generated several binaries in the bin directory. Enter SVN--help to see how SVN is used, such as. 3, create the SVN repository directory mkdir-p/var/svn/svnrepos 4, create a repository svnadmin create/var/svn/svnrepos executed this command after the/var/svn/ Svnrepos directory generated below these files 5, into the Conf directory (the SVN repository configuration file) Authz file is the rights control file passwd is the account password file svnserve.conf SVN service profile 6, set the account password VI passwd in the [ Users] block add user and password, format: account = password, such as Dan=dan Note: Remove comment cannot leave blank 7, set permissions VI authz Add the following code at the end: [/]dan=rww=r Note: You cannot leave the comment blank. Note: This Dan is set in passwd user name means that the repository's root directory Dan has read and write access to it, and W only reads permissions. 8, modify svnserve.conf file VI svnserve.conf Open a few comments: Anon-access = read #匿名用户可读auth-access = write #授权用户可写password-db = passwd # Which file to use as account file Authz-db = Authz #使用哪个文件作为权限文件realm =/var/svn/svnrepos # Certified space name, repository directory Note: Remove comments cannot leave blank 9, start SVN repository svnserve-d-r/ Var/svn/svnrepos
Install SVN under Linux