Subversion and tortoisesvn installation and configuration

Source: Internet
Author: User
Tags tortoisesvn
Hz_chenwenbiaosubversion and tortoisesvn are used to install and configure the subversion of the version control software.

Tortoisesvn is the client of the version control software.

1. Download subversion and tortoisesvn.

The address of Subversion: http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91

I chose the [Setup-Subversion-1.5.3.msi] Windows installation package.

Address of tortoisesvn: http://tortoisesvn.net/downloads

[TortoiseSVN-1.5.5.14361-win32-svn-1.5.4.msi] Windows installation package.

2. Start to install subversion and configure the installation path of the program.

3. After the Subversion is installed, configure it to run as a service.

In [start] [run], enter [cmd] to open the [Command Prompt window].

Enter [SC create svnservice binpath = "D:/program files/subversion/bin/svnserve.exe -- service-r/" E:/Program
Files/subversion/"" displayname = "svnservice" depend = TCPIP start = auto].

Svnservice: Service name.

D:/program files/subversion/bin/svnserve.exe: Path of the program to be executed.

/"E:/program files/subversion/": Version inventory path (that is, database). If there are spaces in the path, use [/"] to import the path, if this parameter is not specified, an error is returned.

Displayname: Display name.

Depend: Connection Method

Start: The Service Startup method. [auto] is automatic.

4. After the installation and configuration are complete, you can start the service.

Run the [Net start svnservice] command to start the service.

Run the [net stop svnservice] command to stop the service.

5. Now you can install tortoisesvn, configure the installation path, and then restart the system.

6. After the system is restarted, create a [testdb] folder under the [E:/program files/subversion] folder, and then right-click the [testdb] folder, the menu of [tortoisesvn] appears. Select [tortoisesvn] [Create
Repository here...] menu.

Create a [Native filesystem (fsfs)] version library, as shown in.

7. Make sure that the [svnservice] service has been started. Now you can enter [SVN: // localhost/testdb] in [ie] to access the version library browser.

8. But now it is only anonymous access. to access the information in the version library by permission, you need to configure [E:/program files/subversion/testdb/CONF/svnserve. conf].

Change [# anon-access = read] to [anon-access = none]. Anonymous access is not allowed. (Remove "#" And space)

Change [# auth-access = write] to [auth-access = write]. Write Data by permission.

Change [# password-DB = passwd] to [password-DB = passwd]. Access Data by password file. [passwd] is the account and password file.

You also need to configure the [E:/program files/subversion/testdb/CONF/passwd] file.

Add a line [admin = 123456] under [users]. (User name and password used to access the version Library)

When you access [SVN: // localhost/testdb] Again, you can use the account and password to perform version library operations.

9. OK. The simplest installation and configuration is complete.

SELF: http://blog.csdn.net/ieclipse/article/details/3539706

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.