How to install WebSVN in CentOS 7

Source: Internet
Author: User

How to install WebSVN in CentOS 7

WebSVN provides a view for your Subversion, which is designed to correspond to various features of the Subversion. You can check the logs of any files or directories and view the list of files modified, added, or deleted in any specified version. You can also check the differences between the two versions of the same file to view the changes of a specific version.

Features

WebSVN provides the following features:

  • Easy-to-use interface;
  • Customizable template System;
  • Color file list;
  • Fault view;
  • Search log information;
  • Supports RSS subscriptions;
Install

Follow the link below to install the Subversion to CentOS 7.

  • How to install Subversion on CentOS 7

1-download websvn to/var/www/html.

  1. Cd/var/www/html
  2. Wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip

2-decompress the zip package.

  1. Unzip websvn-2.3.3.zip
  2. Music websvn-2.3.3 websvn

3-install php on your system.

  1. Yum install php

4-edit the web svn configuration.

  1. Cd/var/www/html/websvn/include
  2. Cp distconfig. php config. php
  3. Vi config. php
  1. // Configure these lines if your commands aren't on your path.
  2. //
  3. $ Config-> setSVNCommandPath ('/usr/bin'); // e.g. c: \ program files \ subversion \ bin
  4. $ Config-> setDiffPath ('/usr/bin ');
  1. // For syntax coloring, if option enabled...
  2. $ Config-> setEnscriptPath ('/usr/bin ');
  3. $ Config-> setSedPath ('/bin ');
  1. // For delivered tarbils, if option enabled...
  2. $ Config-> setTarPath ('/bin ');
  1. // For delivered GZIP 'd files and tarbils, if option enabled...
  2. $ Config-> setGZipPath ('/bin ');
  1. //
  2. $ Config-> parentPath ('/svn /');
  1. $ ExtEnscript [". pl"] = "perl ";
  2. $ ExtEnscript [". py"] = "python ";
  3. $ ExtEnscript [". SQL"] = "SQL ";
  4. $ ExtEnscript [". java"] = "java ";
  5. $ ExtEnscript [". html"] = "html ";
  6. $ ExtEnscript [". xml"] = "html ";
  7. $ ExtEnscript [". thtml"] = "html ";
  8. $ ExtEnscript [". tpl"] = "html ";
  9. $ ExtEnscript [". sh"] = "bash ";
  10. ~

Save and exit.

6-Reload apache and start the websvn link http: // ip/websvn.

Everything is done.

This article permanently updates the link address:

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.