Install the SVN server on Ubuntu

Source: Internet
Author: User
ApacheSubversion (SVN for short) is an open-source version control system. It uses a branch management system relative to the RCS and CVS. Its design goal is to replace CVS. More and more control services on the Internet are transferred from CVS to Subversion. First, download and install the svn server from the image: sudoapt-getinstallsubversion to enter the Directory and prepare to create the svn directory: cd/usr/local/

Apache Subversion (SVN for short) is an open-source version control system. It uses a branch management system relative to the Cross-node Scripting (RCS) and CVS. Its design goal is to replace CVS. More and more control services on the Internet are transferred from CVS to Subversion.

First, download and install the svn server from the image:

Sudo apt-get install subversion

Go to the directory and prepare to create the svn directory:

Cd/usr/local/

Create an svn directory:

Mkdir svn

Change the directory permission to 777:

Chmod-r777 svn

Create an svn repository named sunny)

Svnadmin create/usr/local/svn/sunny

Go to the configuration file directory of the sunny Repository:

Cd sunny/conf

Modify the three configuration files in this directory.
(1) vi svnserve. conf // configure the version library information, user file and user password file path, and version LIBRARY PATH
[
Set
# Anon-access = read
# Auth-access = write
# Password-db = passwd
// Remove the # And space in front of the four rows and convert them
Anon-access = none // change to none
Auth-access = write
Password-db = passwd
Realm = sunny // change it to your own version Library
Save
 

(2) vi authz // file, create svn group and group User Permissions
[Group]
Sunny = gep, wce // create a sunny group and create two users gep and wce
 

[/] // Specify permissions under the root directory
@ Sunny = rw // the sunny group user permission is read/write.
* = R // other users only have read permission
Save and exit

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.