Linux中国                                                
                                        在 CentOS 7中安装Websvn
                                                    
                                                    特性
WebSVN提供了以下这些特性:
- 易于使用的界面;
 - 可自定义的模板系统;
 - 彩色文件列表;
 - 过错视图;
 - 日志信息搜索;
 - 支持RSS订阅;
 
安装
我按以下链接来将Subversion安装到CentOS 7。
1 – 下载websvn到/var/www/html。
cd /var/www/html
wget http://websvn.tigris.org/files/documents/1380/49057/websvn-2.3.3.zip
2 – 解压zip包。
unzip websvn-2.3.3.zip
mv websvn-2.3.3 websvn
3 – 安装php到你的系统。
yum install php
4 – 编辑web svn配置。
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";
~
保存并退出。
6 – 重新加载apache并启动websvn链接http://ip/websvn。

一切搞定。
via: http://www.unixmen.com/install-websvn-centos-7/
作者:M.el Khamlichi 译者:GOLinux 校对:wxy
本文转载来自 Linux 中国: https://github.com/Linux-CN/archive
对这篇文章感觉如何?
                      
                    太棒了        
                
                                0
            
                                        不错
                
                                0
            
                                        爱死了
                
                                0
            
                                        不太好
                
                                0
            
                                        感觉很糟
                
                                0
            More in:Linux中国
如何通过 VLC 使用字幕
使用 VLC 媒体播放器播放和管理字幕的新手指南。
    					Unix 桌面:在 Linux 问世之前
仅仅开源还不足以实现开放,还需开放标准和建立共识。
    					Valve 对于 Ubuntu 的 Snap 版本的 Steam 并不满意:原因何在
你可能会发现,Snap 版本的 Steam 并不如你期待的那样好,你怎么看?
    					Wine 9.0 发布,实验性地加入了 Wayland 驱动
Wine 的这个新版本正在为未来做好准备!
    					
                    
                                            
                                        
                                            
                
















