- 1. Install subversion
- yum install subversion
- 2. Create a repository directory
- mkdir /svn
- 3. Create a warehouse for the project 3
- svnadmin create /svn/proj3
- 4. Modify the directory permissions
- chmod -R 777 /svn/
- The configuration server Global Settings
- we /svn/proj4/conf/svnserver.conf
- The following content uncommented
-
-
- anon-access = read
- auth-access = write
- password-db = passwd
- authz-db = authz
- realm = Here is project 4! Welcome !!! # this is a welcome word, look at personal wishes to modify!
-
- 6. Configure User Information
- we / svn / proj4 / conf / passwd
- Adding a user account and password
- 7. Configure Authentication (permissions) information
- we / svn / proj4 / conf / AuthZ
- Add the following information
- 8. Start SVN server
- svnserve -d -r /svn/
- 9. Turn on the SVN server port 3690
- iptables -I INPUT -p tcp --dport 3690 -j ACCEPT
- 10. Connect the repository proj3
- svn co svn://10.10.10.26/proj3
- ps:
- If the connection is unsuccessful, you can enter / svn / proj4 / conf, a new directory in the directory 10.10.10.26/proj4
- When connected with Windows under Linux SVN, url address to write: svn: //10.10.10.11/proj4