SVN 1.8.x Server Installation (RPM)

Source: Internet
Author: User
Tags svn client svn update tortoisesvn collabnet

Catalogue [-]

    • One, SVN server download, install
    • 1. About Subversion 1.8.11
    • 2. Compatibility issues
    • 3. installation package Download
    • 3.1 VISUALSVN
    • 3.2 WIN32SVN
    • 3.3 Sliksvn
    • 3.4 WANdisco
    • 3.5 CollabNet
    • Two, SVN client
    • Third, SVN server configuration
    • 1. Installation directory
    • 2. Working directory
    • 3. Build the Repository (Repository)
    • 4. Configure Users and Permissions
    • 4.1 svnserve.conf File
    • 4.2 passwd File
    • 4.3 Configuring the Authz file
    • Iv. Use Cases
    • 1. Start the SVN service
    • 2. Uploading a project
    • 3. Check out the project
    • 4. Update, submit code
    • 5. Authorization
    • 6. Set Boot

Originally synced to http://www.waylau.com/svn-server-setup/

One, SVN server download, install 1. About Subversion 1.8.11

Apache Subversion 1.8.11 Release Notes

http://mail-archives.apache.org/mod_mbox/subversion-dev/201412.mbox/%[email protected]%3e

2. Compatibility issues

Apache Subversion 1.8.x Compatibility note

Http://subversion.apache.org/docs/release-notes/1.8.html

Legacy Clients and servers interoperate with 1.8 of servers and clients transparently. However, some of the new features in 1.8 may not be available unless the client and server are the latest version. There are other cases when the client is new, the server is old, and the new functionality can be used but the operation may be inefficient.

You do not need to dump and reload your repository. Subversion 1.8 servers can read and write repositories created by earlier versions. Upgrade the existing server, just install the latest libraries and binaries to the old ones.

Subversion 1.8 keeps Api/abi compatibility with earlier versions, adding only new features and never deleting the old ones. A program that writes to any previous 1.x version of the API can compile and run a library that uses 1.8. However, programs written to 1.8 cannot be compiled or run on the old library.

It is possible that in limited cases, the old behavior of the API has been modified slightly from the previous version. In these cases, the edge condition of the feature is considered to be wrong and therefore improved or eliminated. Consult these APIs on the API Errata for more detailed information about what these changes might affect.

3. installation package Download

Apache itself does not provide installation package downloads, provided by third parties

Http://subversion.apache.org/packages.html#windows

3.1 VISUALSVN

Download Instructions
https://www.visualsvn.com/server/

With management interface. The server is free and the client charges. Contains Apache Subversion 1.8.11

Latest Version 3.2
Configuration requirements

System Requirements
Operating Systems
Windows Server or later
Windows Vista or later
Minimum Hardware
1.4 GHz CPU

Not used because the configuration is not enough

3.2 WIN32SVN

Description
http://alagazam.net/

Should work (and not tested) on all flavours of Windows
From Win2000 to WIN8 including server variants.
(1.7.x does not work on NT4 due to APR using new functions).
MB RAM
MB Hard Drive space

Only the SVN kernel, no interface, is currently 1.8.10. No registration required

3.3 Sliksvn

Description https://sliksvn.com

Only the client downloads. Sever is a cloud server

3.4 WANdisco

Download Instructions Http://www.wandisco.com/subversion/download

Currently SVN is the latest 1.8.10 and needs to be registered. Client SMARTSVN Charges

3.5 CollabNet

Download Instructions Http://www.collabnet.cn/downloads/subversion

Feature Selection is more, is the creator of SVN. No interface. Currently SVN is the latest 1.8.10. Need to register

Because the existing server operating system is Windows Server 2003, the last server selected WIN32SVN 1.8.10

Two, SVN client

You can use an older version of the client. If you are upgrading, it is recommended to use TORTOISESVN 1.8.10, open source, http://tortoisesvn.net/downloads.html. For Windows XP SP3 system users, additional installation of Windows Installer 4.5 is required

Third, SVN server configuration 1. installation directory

C:\Program files\subversion

2. Working directory

E:\svn

3. Build the Repository (Repository)

Execution svnadmin create E:\svn\repository . Note: Restart is required for the first installation. Here the SVN folder should be built first.

4. Configure users and Permissions 4.1 svnserve.conf file

Open E:\svn\repository, you will find that there are a number of directories and files, open the Conf subdirectory, open the svnserve.conf file, where the line before the usual # is equal to the note is ignored, you can remove the # Let the line take effect, or you add new lines. The English notes in this section have explained the meanings of the various settings, and finally, the contents of the line without the # number before you set the [General] subsection are:

[general]anon-access = readauth-access = write password-db = passwd authz-db = authz
4.2 passwd File

Similarly, there are no # numbers before the rows in the [users] subsection, for example:

[users]lww = 123lww2 = 123

The meaning is:

User LWW, WW2 password is 123

4.3 Configuring the Authz file
[groups]dept_test = lww2    [/] lww = rw[/ui-compressor] @ dept_test = r

The meaning is: User lww2 under dept_test Group;
All files under the root directory have read and write permissions; dept_test ui-compressor

Iv. use Case 1. Start SVN service

Perform

svnserve -d -r E:\svn\repository
2. Uploading a project

Right-click->tortoisesvn->import

Enter the URL where SVN is located

Enter user account, password

It's best to save your account password by clicking Save Authentication

Right-click Add folder-> Select the item to upload

When committing, enter log information

Complete

3. Check out the project

Right-click->svn Checkout

Enter the URL of the repository

Enter your account password

4. Update, submit code

Modified the Code

Right-click SVN Update

Enter submission Information

5. Authorization

Using users with only R permissions LWW 2

When committing, because LWW2 does not have W permission, it will fail to pass validation

6. Set Boot

Command line execution:

binpath= "C:/Program Files/Subversion/bin/svnserve.exe --service - r E:/svn/repository" displayname= "Subversion Repository" depend= Tcpip start= auto

Make corresponding changes according to the actual situation.

Explanation: Subversion_service is the name of the service. All system services can be started and stopped manually by command under DOS.

Start: net start Subversion_service

Stop: net stop Subversion_service

BinPath is the path to the executable file for the installation of subversion.

C:/projectname/repository is the path to the repository.

Displayname= "Subversion Repository" for the registered system service display name, after the successful registration, you can find the name in the system service.

Depend= Tcpip is dependent on the TCPIP protocol.

Start= Auto is a registered system service startup type of automatic

After the registration is successful, you can see the service

Source: http://blog.csdn.net/fax5201314/article/details/38020547

SVN 1.8.x Server Installation (RPM)

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.