Install SVN under Linux

Source: Internet
Author: User

How to build and use SVN server under Linux
    • |
    • Browse:12117
    • |
    • Updated: 2013-09-18 14:28
    • |
    • Tags:linux

How does the SVN server build and use under Linux? When it comes to SVN servers, everyone knows how to build an SVN server under Linux. So today, let's share the idea of building SVN server under Linux!

1, first install the Linux system, then Yum installs:

#yum-y Install Svnversion

2, after the security is complete, we will configure:

To create a repository directory:

#mkdir-P/banbenku/svn/

3, then enable:

#svnserve-D-R/BANBENKU/SVN

Then check to see if it's started!

Ps-ef|grep svn;

[Email protected] conf]# lsof-i:3690

COMMAND PID USER FD TYPE DEVICE size/off NODE NAME

Svnserve 8454 root 3u IPv4 1346200 0t0 TCP *:svn (LISTEN)

4, then we will create a new version:

Mkdir-p/banbenku/svn/zhoujie/

Cd/banbenku/svn/zhoujie/conf

There are three files: Authz passwd svnserve.conf

Svnserve.conf is the main configuration file;

VI svnserve.conf

Modify the following:

Anon-access = Read

auth-access = Write

Password-db =/banbenku/svn/zhoujie/conf/passwd

Authz-db =/banbenku/svn/zhoujie/conf/authz

wq!

Save exit:

Then modify the passwd:

Create the user name and password content as follows:

Zhoujie = 123456

Wq

Pao exit:

Then modify: Authz:

The contents are as follows:

[Groups]

admin = Zhoujie

[zhoujie:/]

@admin =RW

Wq

Save Exit!

So we've configured it, and to restart SVN with the start in effect:

Ps-ef|grep SVN

Kill-9 PID

Svnserve-d-R/BANBENKU/SVN

Then check again:

[Email protected] conf]# lsof-i:3690

COMMAND PID USER FD TYPE DEVICE size/off NODE NAME

Svnserve 8454 root 3u IPv4 1346200 0t0 TCP *:svn (LISTEN)

If as shown above, then there is no problem;

Install SVN under Linux

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.