There are a lot of files about SVN that have been windows for example, because the company did not have Windows server after a day of twists and turns finally the initial installation to learn about SVN. Some of the following experiences hope to help newbies
This article uses the Yum installation (simple and fast without the necessary source code)
1. Yum Install Subversion
2. Monitor whether the installation is successful Svnserve--version
3. Create the Code library code you want to build: svnadmin Create + Path
4, in the corresponding path will generate the following several files
5, this generates a code base, about the user password and permission settings all under Conf, first modify the configuration file svnserve.conf Remove the comments and modify as shown.
6, modify the passwd file in the inside add user = password (example Zhangsan = Lisi) and go to Authz under Add User or group permissions under "groups" can add group format admin= User 1, User 2 at the end need to add directory under the user and group permissions R is read view, W for write Modify permission instances such as
That is, liming and Zhangsan have read and write access to the library * = Other users are not visible * = R is visible to other users but cannot be modified.
7. Start the SVN command svn-d-r + path For example I made two libraries/svn/repos1 and/SVN/REPOS2 (the configuration is all done) then I can svn-d-r/svn to boot. The SVN://IP/REPOS1 or SVN://IP/REPOS2 is used to connect the two libraries when the win is connected. The user's account number and password are the settings of the previous article.
8, conf all the configuration files are set to complete, pay attention to the code freeze, or error. After the Library directory setup is complete, you can further set up the Code management Catalog code for the SVN checkout svn://ip/Library Directory code management directory--username user--password password--no-auth-cache
The library directory itself can be used as the Code management directory. By doing this you can try uploading the update files. The more detailed use of SVN functionality is not to be added.
Linux Environment installs SVN and manages multiple repositories differentiated