Build Svn in centos 6.5x64

Source: Internet
Author: User

Instructions on setting up Svn in centos 6.5x64

The system environment is minimal installation

System Environment

[[Email protected] ~] # File/sbin/init

/Sbin/init: Elf 64-bit LSB shared object, x86-64, Version 1 (sysv), dynamically linked (uses SHARED libs), for GNU/Linux 2.6.18, stripped

[[Email protected] ~] # Cat/etc/RedHat-release

Centos release 6.5 (final)

Meet the related environment before installing SVN

Use Local CD as the repository Source

Run Yum groupinstall "additional development" "development tools" "Perl support" first"

Then, prepare the svn-related installation package.

Http://subversion.tigris.org/downloads

Subversion-deps \ Supports files such as libraries

Subversion \ main program

Decompress the package to the/usr/SVN \ directory to create

[[Email protected] subversion-1.6.17] # pwd

/Usr/SVN/subversion-1.6.17

Then compile and install

./Configure -- prefix =/opt/SVN \ configure the installation directory

Make & make install

Add at the end of VI/etc/profile


Path = $ path:/opt/SVN/bin

Export path


[[Email protected] subversion-1.6.17] # source/etc/profile \ make the modification take effect

[[Email protected] subversion-1.6.17] # svns

Svnserve svnsync

[[Email protected] subversion-1.6.17] # svnserve -- version

Svnserve, version 1.6.11 (r93411)

Compiled Apr 11 2013, 16:13:51

Configure to create an SVN Library

CD/usr/SVN

[[Email protected] SVN] # svnadmin create svntest

[[Email protected] SVN] # cd svntest/

[[Email protected] svntest] # ls

Conf dB format hooks locks readme.txt

[[Email protected] svntest] # cd CONF/

[[Email protected] conf] # ls

Authz passwd svnserve. conf

Definition Library

Edit VI svnserve. conf to add

[General]

Anon-access = none

Auth-access = write

Password-DB = passwd

Authzauthz-DB = authz

Realm = svntest (library name)

Define Access Permissions

Edit VI authz add

[/]

Testuser = RW

[Testsvn]

Testuser = RW

Define User Password

Edit VI passwd and add user name and password

Testuser = svnfirst

Start SVN

[[Email protected] ~] # Svnserve-d-r/usr/SVN/svntest/

SVN access SVN: // 192.168.18.201: 3690/

The default SVN port is 3690. You need to open this port on the firewall.


This article from the "ignoring the flow" blog, please be sure to keep this source http://aiqhx.blog.51cto.com/5768342/1558109

Build Svn in centos 6.5x64

Related Article

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.