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.
- Cd/var/www/html
- Wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip
2-decompress the zip package.
- Unzip websvn-2.3.3.zip
- Music websvn-2.3.3 websvn
3-install php on your system.
- Yum install php
4-edit the web svn configuration.
- Cd/var/www/html/websvn/include
- Cp distconfig. php config. php
- Vi config. php
- // Configure these lines if your commands aren't on your path.
- //
- $ Config-> setSVNCommandPath ('/usr/bin'); // e.g. c: \ program files \ subversion \ bin
- $ Config-> setDiffPath ('/usr/bin ');
- // For syntax coloring, if option enabled...
- $ Config-> setEnscriptPath ('/usr/bin ');
- $ Config-> setSedPath ('/bin ');
- // For delivered tarbils, if option enabled...
- $ Config-> setTarPath ('/bin ');
- // For delivered GZIP 'd files and tarbils, if option enabled...
- $ Config-> setGZipPath ('/bin ');
- //
- $ Config-> parentPath ('/svn /');
- $ ExtEnscript [". pl"] = "perl ";
- $ ExtEnscript [". py"] = "python ";
- $ ExtEnscript [". SQL"] = "SQL ";
- $ ExtEnscript [". java"] = "java ";
- $ ExtEnscript [". html"] = "html ";
- $ ExtEnscript [". xml"] = "html ";
- $ ExtEnscript [". thtml"] = "html ";
- $ ExtEnscript [". tpl"] = "html ";
- $ ExtEnscript [". sh"] = "bash ";
- ~
Save and exit.
6-Reload apache and start the websvn link http: // ip/websvn.
Everything is done.
This article permanently updates the link address: