CentOS Install SVN server

Source: Internet
Author: User

STEP1: Installing the SVN server

Yum Install Subversion

Step2: Create SVN repository Directory

mkdir /workplace/svnrepos

Step3: Creating a version Library

$ svnadmin Create/workplace/svnrepos

After executing this command, the following files will be generated in the/workplace/svnrepos directory

Step4: Set account password

$ cd/workplace/svnrepos/passwd... Add user and password in [users] block format: Account number = password, such as orlion=123456$ vim Authz ... Add the following code at the end: [/]orlion=rww=r means the root directory of the repository Dan has read and write permissions, W has Read access. 

Step5: Modify the svnserve.conf file

$ vim svnserve.conf

Open a few notes 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 STEP6: Start the SVN server
$ svnserve-d-r/workplace/snvrepos

Default Listener 3690 Port

STEP7: Checkout on window:

If it fails, check to see if the server firewall is open for Port 3690.

CentOS Install SVN server

Related Article

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.