欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Linux 安装subversion

程序员文章站 2022-06-04 19:21:43
...
#!/bin/bash
yum install subversion -y
mkdir -p /data/svn/ 
svnadmin create /data/svn
cd data/svn
vim svnserve.conf
vim passwd 
vim authz
svnserve -d -r /data/svn/ --listen-port=8001
yum install net-tools -y
netstat -antlp | grep 8001

------------------------------------------------------

svnserve.conf

  anon-access = none

  auth-access = write

  password-db = passwd

  authz-db = authz

  realm = /data/svn

------------------------------------------------------

passwd

  [users]

  gilga = tc123456

  lisi = ls123456

authz

  [/]

  gilga = rw

  ls = r

------------------------------------------------------

相关标签: svn subversion