参考地址
http://www.cnblogs.com/zz0412/p/install_Subversion_edge_4-0-1.html
http://blog.163.com/kongmingyfm@126/blog/static/6748682720094554426857/
下载地址
https://www.collab.net/downloads/subversion
确定是否配置Java环境
java -version
没有安装可参考
http://www.jianshu.com/p/4aeba910cd7d
配置是否安装Python
//ctrl+d退出交互模式
python
mv /home/tong/公共/CollabNetSubversionEdge-5.2.0_linux-x86_64.tar.gz /home/tong
解压文件
su tong
tar xf /home/tong/CollabNetSubversionEdge-5.2.0_linux-x86_64.tar.gz -C /home/tong
配置csvn使用1-1023端口的权限[可选]
sudo -s
chown root:tong /home/tong/csvn/lib/httpd_bind/httpd_bind
chmod u+s /home/tong/csvn/lib/httpd_bind/httpd_bind
配置开机启动
cd /home/tong/csvn/
su tong
sudo bin/csvn-httpd install
sudo -E bin/csvn install
如果提示
Detected RHEL or Fedora:
Installing the CSVN Console daemon..
Setting RUN_AS_USER to: 'tong'. Please edit '../data/conf/csvn.conf' if this needs to be adjusted
Setting JAVA_HOME to: ''. Please edit '../data/conf/csvn.conf' if this needs to be adjusted.
vi /etc/profile
复制JVVA_HOME的路径
修改
vi data/conf/csvn.conf
注意是""
注意查看路径是否正确

Paste_Image.png
重新执行
关闭防火墙
systemctl stop firewalld.service
开启服务
cd bin
sh csvn start
#如果使用start启动失败,可以使用下面的命令
sh csvn console #此命令会在控制台输出启动日志,便于确定是什么错误导致启动失败
如果出现WARNING: CSVN Console timed-out waiting for
ps aux |grep 3343
killall -9 xxx //杀死该进程
或者
find / -name '*csvn*'
删除
~~
####http://localhost:3343/csvn
####如果是在其他机器上访问,记得把localhost换成ip
##配置Subversion edge
####登陆(默认用户名admin、密码admin)

####修改管理员密码










##版本库访问规则
[groups]
android=chenxuetong
ios=liucheng
[/]
*=r
[androidRepo:/]
@android=rw
@ios=rw
*=r