Configure svnserve in Ubuntu

Source: Internet
Author: User
I like to develop on Linux. My biggest dream is to provide several lines of code to the great open-source software such as vimgcc and several lines of boost .... The open-source world related to Linux is full of fun. Here we will focus on SimpleisEverything, the best programmer in the world! There are three types of svn servers: svnserve, and svnserve using the SSH channel. The most complex is sv.

I like to develop on Linux. My biggest dream is to provide several lines of code to the great open-source software such as vim gcc, just a few lines for boost ....

The open-source world related to Linux is full of fun. Here we focus on the best programmers in the world.

Simple is Everything!

There are three types of svn servers: svnserve, and svnserve using the SSH channel. The most complicated method is svn + apache + http.

Svnserve is a lightweight server that can communicate with the client through a custom stateful protocol based on TCP/IP. The client starts with svn: // or svn + ssh: // svnserve URL to access a svnserve server.

Common work flow http://www.linuxidc.com/Linux/2011-08/40591.htm of SVN in Linux

1. Install svn

Sudo apt-get install subversion

2. After installing OK, create a working directory for your svn

Sudo mkdir-p svn

3. Create a version Library

Sudo svnadmin create myproject

Svnadmin create/svn/repos

This command creates a new directory/path/to/repos and a Subversion version repository. This directory stores some database files (and other files)

4. modify the configuration file svnserve. conf.

Anon_access = none # anonymous users cannot access

Auth_access = write # authorized users can write

Password_db = password # use password to control permissions

Auth_db = authz # access control file

5. Configure the password file

Add username = pwd

Cobing = www.linuxidc.com
Codd = www.linuxidc.net

The preceding two users are cobing and codd. Their passwords are www.linuxidc.com and www.linuxidc.net.

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.