Apache under SVN project management usage Instructions

Source: Internet
Author: User
Tags svn client

Apache under SVN project management usage Instructions

(1) APACEH and SVN must be installed first.

(2) Locate the httpd.conf file in the Apache directory and add the following configuration in the last line include Conf/svn.properties

(3) Add a svn.properties file to the Apache directory conf below (1):

DAV svn svnparentpath "d:/svn" AuthType Basic authname "Subversion repositories" AuthUserFile "d:/svn/apache-conf/ Passwd.txt "Authzsvnaccessfile" D:/svn/apache-conf/authz.txt "Require valid-user

(4) Create folder d:/svn root directory d:/svn/apache-conf/passwd.txt store user and password D:/svn/apache-conf/authz.txt permissions

(5) Create the user and password to the specified file in the directory built into Apache D:\Program files (x86) \apache software foundation\apache2.2\bin>htpasswd d:/svn/ Apache-conf/passwd.txt Admin New Password: * * * * * * * re-type New Password: * * * * Adding password for user admin

Note: If you create the first time to add the-C

(6) View D:/svn/apache-conf/passwd.txt file test_a: $apr 1$ojrizrcq$ak35e8bfbid8yogtpbjmw1 test_b: $apr 1$vflq9dgr$ K8Y9COQOPZZH6GO4MOUBM1 test_c:test_c admin: $apr 1$3kgi5k9v$eiprg8yv8xsr2uquerb8x.

Note: You can also add plaintext password

(7) Create SVN repository directory D:\Program Files (x86) \subversion\bin>svnadmin Create D:\SVN\LMSJ

(8) Increase the content of the D:/svn/apache-conf/authz.txt, the content is as follows [groups] Admin=admin other_1=test_a Other_2=test_b,test_c

[pro_1:/] @admin =RW

[Pro_1:/test] @other_1 =RW

[Pro_1:/test2] @other_2 =RW

-----------------example creates a directory of LMSJ----------------(1) Create directories and files D:\app_svn\conf\authz.txt D:\app_svn\conf\passwd.txt

(2) Configure the Svn.properties file with the path above

DAV svn svnparentpath "d:/app_svn" AuthType Basic authname "Subversion repositories" AuthUserFile "d:/app_svn/conf /passwd.txt "Authzsvnaccessfile" D:/app_svn/conf/authz.txt "Require valid-user

(3) Create user in D:/app_svn/conf/passwd.txt file D:\Program files (x86) \apache software foundation\apache2.2\bin>htpasswd D :/app_ svn/conf/passwd.txt Admin New Password: * * * * re-type New Password: * * * * Adding password for user admin

Note, the user created above is an encrypted password, can also be manually added directly to the user, can be plaintext password admin: $apr 1$3kgi5k9v$eiprg8yv8xsr2uquerb8x. Test_a:test_a

(4) Increase the permissions, modify the D:/app_svn/conf/authz.txt file, the content is as follows [groups] Admin=admin other=test_a

[/] @admin =RW

[lmsj:/] @admin =rw @other =r

(5) Add warehouse, D:\Program Files (x86) \subversion\bin>svnadmin create D:\APP_SVN\LMSJ under the SVN installation directory bin

(6) Restart Apache

(7) SVN client Test HTTP://LOCALHOST/APP_SVN/LMSJ

--------------------------------------Split Line--------------------------------------

Example of subversion configuration in Linux http://www.linuxidc.com/Linux/2012-02/53109.htm

CentOS 6.2 SVN build (yum install) http://www.linuxidc.com/Linux/2013-10/91903.htm

CentOS 6.5 Deployment Apache+svn http://www.linuxidc.com/Linux/2013-12/94315.htm

APACHE+SVN Build SVN server http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows SVN Server Setup and use + client reset Password http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 installs SVN and migrates Virtual SVN data http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server build SVN service and Migration method http://www.linuxidc.com/Linux/2013-05/84693.htm

Build SVN server http://www.linuxidc.com/Linux/2013-10/91271.htm with a network disk

--------------------------------------Split Line--------------------------------------

This article permanently updates the link address: http://www.linuxidc.com/Linux/2015-01/111612.htm

This article is from the Linux commune website (www.linuxidc.com) Source Link: http://www.linuxidc.com/Linux/2015-01/111612.htm

Apache under SVN project management usage Instructions

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.