Ubuntu builds SVN server, and common error solutions

Source: Internet
Author: User
Tags svn svn client

Tag: Represents log min Read admin net src file symbol

First, install the command:

1) log in as root. Execute: sudo su-command

2) Execute installation command: Apt-get install Subversion

Second, create the project directory1) mkdir/home/svn/mkdir/home/svn/project2) cd/home/svn/project3) Execute Permissions command: Chmod-r 777 project/ third, create SVN warehouseSvnadmin Create/home/svn/project Execute the command and generate the file  Iv. setting access rights 1) use VIM to open conf/svnserver.conf anon-access = Read Auth-access = write password-db = password Authz-db = Authz Remove the previous comment # symbol 2) use VIM to open the CONF/PASSWD add account and password (LZH = 0624) 3) use Vim to open Conf/authz set access rights, admin = Lzh,lzh user belongs to Admin Permission Group  Five, start the SVN server svnserve-d-r/home/svn-d means that svnserve in the "daemon" process mode to specify the root location of the file system, so that the client does not enter the full path, you can access the repository such as: svn:// 192.168.1.109/project  Vi. Installing SVN client tortoisesvn on the window platform, using checkout vii. common errors

1) Authorization failed

Solution: Use VIM to open conf/authz add [/]

2) The SVN server must be restarted after the svnserver.conf file has been modified

Shutdown SVN service command: Killall-hup svnserve

Turn on SVN service fame: svnserve-d-R/HOME/SVN

3) SVN client commit error: Commit fialed (Details follow): Authorization failed

Solution: Use VIM to open Conf/authz write current account (LZH) access rights

Ubuntu builds SVN server, and common error solutions

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.