• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install WebSVN for Apache Subversion(SVN) in CentOS

85

Installation of WebSVN for Apache Subversion(SVN) on CentOS 7

WebSVN provides a GUI for managing the Apache Subversion (SVN) repositories. It is used for comparing the revision of files, logs of files and directories. Installation of WebSVN for Apache Subversion in CentOS is explained in this manual.

Features

  • Supports multiple local & remote repositories
  • To view & search logs.
  • Options to download files & folder.
  • Multiple lingual support.customization in templates.
  • RSS Feed facilityComparison of file & directory is possible.

To install WebSVN

Before installing WebSVN , install SVN.

To know how to install SVN visit,
https://www.linuxhelp.com/install-configure-apache-subversion-svn-centos-7/
Run the following command to install PHP.

[root@linuxhelp1 linuxhelpproject]# yum install php -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.webwerks.com
 * extras: centos.webwerks.com
 * updates: centos.webwerks.com
Resolving Dependencies
-->  Running transaction check
--->  Package php.x86_64 0:5.4.16-36.1.el7_2.1 will be installed
-->  Finished Dependency Resolution
/var/cache/yum/x86_64/7/base/gen/comps.xml: no element found: line 1, column 0

Dependencies Resolved

==========================================================================================
 Package        Arch              Version                        Repository          Size
==========================================================================================
Installing:
 php            x86_64            5.4.16-36.1.el7_2.1            updates            1.4 M

Transaction Summary
==========================================================================================
Install  1 Package

Total download size: 1.4 M
Installed size: 4.4 M
Downloading packages:
php-5.4.16-36.1.el7_2.1.x86_64.rpm                                 | 1.4 MB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : php-5.4.16-36.1.el7_2.1.x86_64                                         1/1
  Verifying  : php-5.4.16-36.1.el7_2.1.x86_64                                         1/1

Installed:
  php.x86_64 0:5.4.16-36.1.el7_2.1                                                        

Complete!

Utilise the following command to download WebSVN.

[root@linuxhelp1 html]# wget http://websvn.tigris.org/files/documents/1380/49056/websvn-2.3.3.tar.gz
--2016-07-26 08:41:58--  http://websvn.tigris.org/files/documents/1380/49056/websvn-2.3.3.tar.gz
Resolving websvn.tigris.org (websvn.tigris.org)... 204.16.104.146
Connecting to websvn.tigris.org (websvn.tigris.org)|204.16.104.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 882779 (862K) [application/x-gzip]
Saving to: ‘ websvn-2.3.3.tar.gz’ 

100%[================================================> ] 882,779      100KB/s   in 9.1s   

2016-07-26 08:42:08 (94.4 KB/s) - ‘ websvn-2.3.3.tar.gz’  saved [882779/882779]

Extract the Downloaded file.

[root@linuxhelp1 html]# tar -zxvf websvn-2.3.3.tar.gz
websvn-2.3.3/
websvn-2.3.3/include/
websvn-2.3.3/include/version.php
websvn-2.3.3/include/configclass.php
websvn-2.3.3/include/template.php
websvn-2.3.3/include/header
websvn-2.3.3/include/svnlook.php
.
.
websvn-2.3.3/filedetails.php
websvn-2.3.3/cache/
websvn-2.3.3/cache/tmp

Rename the extracted folder by using the following command.

[root@linuxhelp1 html]# mv websvn-2.3.3 websvn

Rename the configuration file and add the following entries into it.

[root@linuxhelp1 html]# cd websvn/include
[root@linuxhelp1 include]# mv distconfig.php config.php
[root@linuxhelp1 include]# vim 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 colouring, if option enabled...
 $config-> setEnscriptPath(' /usr/bin' ) 
 $config-> setSedPath(' /bin' ) 

// For delivered tarballs, if option enabled...
 $config-> setTarPath(' /bin' ) 

// For delivered GZIP' d files and tarballs, if option enabled...
 $config-> setGZipPath(' /bin' ) 

$config-> parentPath(' /var/www/svn' ) 

// $extEnscript[' .pas' ] = ' pascal'  
$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"  

Restart the Apache services as shown below.

[root@linuxhelp1 include]# systemctl restart httpd.service

open the web browser and navigate to http://< Server’ s_ip> /websvn

[root@linuxhelp1 include]# firefox

Installation-WebSVN-Apache Subversion(SVN)-CentOS7-repo
Installation-WebSVN-Apache Subversion(SVN)-CentOS7-linuxhelp-project

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

I need to download the source for Apache Subversion?

A

You can go to this link, https://subversion.apache.org/download.cgi?update=201708081800

Q

Please share documentation for WebSVN?

A

follow this link, https://websvnphp.github.io/docs/

Q

How to access subversion repository?

A

You can use this link http://websvn.tigris.org/svn/websvn/ provide
username as guest and password leave it as empty

Q

Is it possible to integrate Jira with WebSVN?

A

Something like this could work for you with modifications to mycompany and websvn version information.

#———————————
# WebClient for SVN (2.0)
#———————————
linkformat.changeset=http://svn.mycompany.net/websvn-2.2.1/revision.php?repname=source&location=/&rev=${rev}

Q

Environment Variable for defining differencing tool in Subversion?

A

You can customize the difference tool used by setting diff-cmd in your ~/.subversion/config

Related Tutorials in How to install WebSVN for Apache Subversion(SVN) in CentOS

Related Tutorials in How to install WebSVN for Apache Subversion(SVN) in CentOS

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install WebSVN for Apache Subversion(SVN) in CentOS

Related Forums in How to install WebSVN for Apache Subversion(SVN) in CentOS

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
OpenVAS
frank class=
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
Dec 20, 2018
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.