Install SVN on Linux

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.