1. Install SVN
Input command: yum-y install Subversion
Check whether the installation was successful:
Input command: svn–version
2. Create a code Warehouse
Input command: Mkdir-p/usr/local/svn/repo
Input command: Svnadmin Create/usr/local/svn/repo
Go to the warehouse directory to check if the installation is successful
Input command: Ls/usr/local/svn/repo
Successful creation if the following file appears
3. Configuration information, go to the warehouse configuration file directory: cd/usr/local/svn/repo/conf
3.1 Configure the passwd file to add a user
3.2 Configuring the Authz file to add user rights
3.3 Configure the Svnserve.conf file to add the following
Anon-access = None
auth-access = Write
Password-db = Passdb
Authz-db = Authz
Realm =/usr/local/svn/repo
4. Turn off the firewall or add a firewall port.
5. Start the SVN service
Input command: svnserve-d-r/usr/local/svn/repo
Close SVN
Input command: Killall svnserve
6. In the computer with SVN checkout can
Install SVN on Linux