Linux Create SVN client, server

Source: Internet
Author: User
Tags svn client

1-linux basically comes with SVN

2-Create SVN server

Create a new server code warehouse

# svnadmin Create Serversvn

This allows us to create a new version of the Repository serversvn in the ~/directory.

3-Modifying the configuration file

Svnserve.conf

[General]anon-access = Readauth-access = WritePassword-db = passwdauthz-db = Authz

passwd

== sallyssecretusername  // Modify to the desired user name

Authz

= USERNAME[SERVERSVN:/]    //SERVERSVN must be svn://localhost/behind the path @user = WR

4-Start the SVN server

CD serversvn/conf

#svnserve-D-r/home/

-D Background mode startup

-R Specify Repository directory

5-Create SVN client

Now the directory is/HOME/SERVERSVN

If the-R directory is/home/at startup, then the SVN path, localhost, writes directly to the next directory of the specified directory as SERVERSVN, so that the svn://path is the absolute path

SVN://LOCALHOST/SERVERSVN CLIENTSVN

If you do not specify the-r option (svnserve-d) When you start, enter the absolute path of the repository

SVN://LOCALHOST/HOME/SERVERSVN CLIENTSVN

#svn Checkout Svn://localhost/serversvn CLIENTSVN

Create a good client for CLIENSVN

So all the contents of the repository are check out, stored in the current directory CLIENTSVN, the SVN protocol used here, do not build an HTTP server

Err:

[Email protected]:~/clientsvn$ svn commit-m "initial version openssl_0.1.0" openssl/

Svn:commit failed (details follow):

Svn:authorization failed

View [3-Modify configuration file] Step

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.