1:yum Install subversion?2: input rpm-ql subverionrpm-q app---software is installed svn-help---can see how SVN is used? 3: Create SVN repository directory mkdir-p/VAR/SVN /svnrepos?4: Create a repository svnadmin create/var/svn/svnrepos the command will be in/var/svn/svnrepos several directories? 5: Enter the Conf directory (the SVN version configuration file) authz---file is the permission control file passwd---is the account password file svnserve.conf svn---service profile? 6: Set account password VI passwd in [users] Block add user and password, format: account = password, such as Dan=dan?vi Editor common commands i---Enter insert mode esc---exit edit mode shift+:---command line mode: q---Exit Editor: q!---Force exit Editor: x---text changes when you save and exit the editor? 7: Set Permissions VI authz Add the following code at the end: [/]dan=rww=r 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 below: Anon-access = read #匿名用户可读auth-access = write #授权用户可写password-db = passwd #使用哪个文件作为账号文件authz-db = Authz #使用哪个文件作为权限文件realm =/var/svn/svnrepos # Certified space name, directory where repository is located?Note: one: ~\conf\svnserve.conf:20:? Option?expected is svnserve.conf in the deletion of comments when the space is also deleted two: VI editor display the number of rows---set nu?9, start svn repository svnserve-d-r/var/svn/svnrepos? Server configuration Complete the rest is the client Operation connection: Svn://xxxx:xxxx:xxxx:xxx Enter the user name, password to log in
Linux Build SVN server