I also want to install subversion in windows.

Source: Internet
Author: User
If you want to configure a Windows-based subversion that is accessible all over the world, you may choose svnserve as the system service. Installing the Apache module under Windows is really troublesome.

However, I have not fully understood several questions. Please kindly advise.

I don't want to talk about the basic configuration process. I have configured the process on several computers, or write down the process.

From http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid=91download svn-win32-1.4.4.zip and decompress it.

Use svnserve.exe as the System Service:

1. modify the system variable path and add the bin directory path of subversion (D: \ svn-win32-1.4.4 \ bin );

2. Create a Lang system variable with the value of zh_cn.utf8;

3. Create a New apr_iconv_path system variable, the path of the iconv directory with the value of subversion (D: \ svn-win32-1.4.4 \ iconv );

4. CMD-> SC run svnserve.exe as a system service. command:
SC create subversion binpath = "d :\ svn-win32-1.4.4 \ bin \ svnserve.exe -- service-R E: \ repository" displayname = "Subversion server" depend = TCPIP start = auto

SC start Subversion

Note: = a space must be followed, and a space must not be preceded.

CMD-> svnadmin create -- FS-type fsfs E: \ repository \ somerep \ trunk create a version repository;

Initial import: Command for importing the current directory: SVN import. SVN: // 192.168.1.101/-- message 'import' -- usernameSunshineride-- Password123456

We recommend that you create a command file to execute the preceding commands. Download the command here (including creating the Subversion service and importing it)

Modify warehouse authentication method:

Modify the svnserve. conf, (Anon-access indicates anonymous access, set to none to reject anonymous access, Auth-access indicates Authenticated Users, and write indicates writable and readable) find # auth-access = write, remove # and space, and then find # password-DB = password, remove # and space;

Modify the password in the conf file of the version repository. Remove the # and space in the [users] Directory and use the "username = password" format to add one user per line;

How to create a vast majority of subversion services on the InternetArticleHere we will tell you that the server has been set up and is indeed set up, but there are still some points to note.

If a firewall is enabled on your computer, add Port 3690 of the public subversion service to the network connection so that other computers can access it.

The access to the warehouse is directly through the IP address. The access to the LAN is normal, but the access to the Wan is problematic. The following message is displayed:

C: \ Documents ents and Settings \ Administrator> SVN ls SVN: // XXX. XX. x. x/WebTools/trunk
SVN: unable to connect to the host "XXX. XX. x. x": Unable to connect because the target machine actively refuses.

After a long time, the problem persists. ----> the problem has been solved.

Also, what should I do if I want to access the repository through a well-remembered domain name?

My friend asked a question: What should I do if the IP address of the Repository server has changed?

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.