websvn mysql_CentOS 7下安装Websvn

WebSVN offers a view onto your subversion repositories that’s been designed to reflect the Subversion methodology. You can view the log of any file or directory and see a list of all the files changed, added or deleted in any given revision. You can also view the differences between two versions of a file so as to see exactly what was changed in a particular revision.

Features

WebSVN offers the following features:

Easy to use interface;

Customisable templating system;

Colourisation of file listings;

Blame view;

Log message searching;

RSS feed support.

Installation

I use the following link to install Subversion on CentOS 7.

1 – Download the websvn to /var/www/html.

cd /var/www/html

wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip

2 – Extract the zip package.

unzip websvn-2.3.3.zip

mv websvn-2.3.3 websvn

3 – Installl php to your system.

yum install php

4 – Edit web svn config.

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 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('/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 websvn link http://ip/websvn.

b1a39633f9d0895a0faa873120df8371.pngThat’s it.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值