Install SVN under Ubuntu 14.10

Source: Internet
Author: User

This article mainly introduces the installation and simple configuration of SVN standalone server:
1. Installation (the installation can be done easily by the Yum under CentOS)

Install Subversion

To test whether the installation was successful:

# svnserve--version      Enter Show release Notes installation successful

2. Build the Repository

mkdir/svn_repository                    Create SVN Data directory (directory can be self-made) # Svnadmin Create/svn_repository/myfirst    myfirst is the name of the repository and can be changed! 

3. Configure the SVN configuration file (for ease of administration, there are multiple libraries calling the same configuration file.) )
1) Master profile: svnserve.conf Master files are generated after each repository is created

# Vim/Svn_repository/myfirst/conf/svnserve.conf
[General]                 must shelf write, otherwise will error anon-access =writepasswdauthzrealm = kuming  

2) Configure the user

passwd      //SVN user profile 
[Users]user1 = Password1user2 = Password2user3 = password3user4 = Password4  

3) Privilege profile

# vim Authz      //SVN Privilege control configuration file 

[groups] #设置组group1 = user1,user2 #多用户用逗号隔开 [/] #根目录权限设置 (is "kuming" this folder) User3 = rw #用户1权限是 : Read-Write user4 = R #用户2权限是: Readable, non-writable user = #什么都没写代表没有任何权限 @group1 = rw #设置组权限 [kuming:/123] #设置根目录下 "12 3"folder permissions # description"123"How to create this file? This is done after the SVN server is configured, create a user with high privileges to log on to the client svn# and then create a folder "123". 

4. Start the server

/svn_repository/myfirst

-d means running in daemon (background run)
-R make the warehouse location you just created


5. Close the SVN server

Killall Svnserve

6. View the service

grep svnserve    View service, Port:3690

7.SVN Client Browsing methods

The software that the client uses is TortoiseSVN, browse method: Open Repository Browser input: svn://ip-addr/myfirst/folder name

Install SVN under Ubuntu 14.10

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.