CentOS 6.5 Web Service mode install SVN test environment

Source: Internet
Author: User

1 Download Subversion

Shell>yum Install Subversion

2 Viewing the installed version

[[Email protected]/]# SVN--version

3 Build a repository for a project

[Email protected]/]# svnadmin create/var/svndata/zmqnw_mobile

4 Importing project files

[Email protected] conf]# export EDITOR=VI
[[Email protected] conf]# svn import/home/www/zmqnw_mobile file:///var/svndata/zmqnw_mobile-m ' import '

The log information has not been modified or is not specified
A) termination, c) continue, E) Edit:

5 Configuration Project Files

[Email protected] conf]# VI passwd

Add the following line:

Cuijian = cj4678799
Zhixiaofei = ZXF

[Email protected] conf]# VI svnserve.conf

The changes are as follows:

Anon-access = Read
auth-access = Write

Password-db = passwd

[[Email protected] hooks]# VI post-commit--Configure hook file, auto submit

Join:

!/bin/sh
Export Lang=en_us. UTF-8
SVN checkout File:///var/svndata/zmqnw_mobile/home/www/zmqnw_mobile

[Email protected] hooks]# chmod a+x post-commit

6 Exporting the project to the test installation directory

[Email protected] www]# SVN checkout File:///var/svndata/zmqnw_mobile/home/www/zmqnw_mobile

7 Opening the SVN daemon

[Email protected] www]# svnserve-d-r/var/svndata

The client input can be opened as follows:

Svn://192.168.0.61/zmqnw_mobile

CentOS 6.5 Web Service mode install SVN test environment

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.