Create SVN version Library (Memo)

Source: Internet
Author: User
Tags tortoisesvn

1. Download the necessary installation package

Apache http://httpd.apache.org/download.cgi#apache20

Subversion for Windows http://sourceforge.net/projects/win32svn/files/latest/download

TortoiseSVN-1.7.4.22459-win32-svn-1.7.2.msi

If you want to use it on vs, install the AnkhSvn-2.3.10744.msi on

2. Create a version Library

Create a new Gaga folder on drive D, right-click Create Repository

3. Configure permissions

Find svnserve. conf In the conf folder of Gaga and

# Anon-access = read
# Auth-access = write
# Password-DB = passwd
And remove the comment #. Note that after the comment is removed, do not leave spaces and keep the top grid of each line. Remember !!!

Configure the access user list, user name and password
In notepad, open the file passwd in the directory and remove the # Harry = harryssecret, # Sally = sallyssecret comment #. You agree to note that each line requires a top grid and there cannot be spaces at the beginning.
Note: Harry = harryssecret indicates: User Name = password. You can also add it by yourself, for example, Gary = Gary.
The best effect is as follows:
### Thisfileisanexamplepasswordfileforsvnserve.
### Itsformatissimilartothatofsvnserve. conf. asshowninthe
### Examplebelowitcontainsonesectionlabelled [users].
### Thenameandpasswordforeachuserfollow, oneaccountperline.
[Users]
Stone = stone123

Rock = rock123

4. Start Subversion

Run the command svnserve-D-r d: \ Gaga. The Subversion server is assumed to be ready.

5. Add a version control file to the container

Right-click any location on the hard disk, right-click the parent folder of the file to be uploaded, and choose tortoisesvn-> Import... To test the function, create the folder D: \ haha, and put the file test.docin to upload test.txt to SVN. Right-click importfiles, tortoisesvn-> Import ..., Enter the container URL: SVN: // localhost/Gaga and enter the username and password: Upload the test.txt file to the svn container.

Addresses starting with SVN on the Intranet, which are searched by HTTP on the Internet

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.