Calcifer Calcifer 2 Calcifer 3 Calcifer 4
Linux

svn简明配置

2014/02/14 18:02 6193 次阅读 王梓
打赏
✸ ✸ ✸

安装配置svn
#yum install subversion
#mkdir /opt/u01
#svnadmin create /opt/u01/liezi
#消除空行和#号开头行命令“cat /opt/u01/liezi/conf/authz | sed -n '/#/!p'| sed -n '/^$/!p'"
#cat /opt/u01/liezi/conf/authz | sed -n '/#/!p'| sed -n '/^$/!p'
[aliases]
[groups]
[dongwei:/]
zhuhailiang=rw
daiyanwei=rw
#cat /opt/u01/liezi/conf/svnserve.conf | sed -n '/#/!p'| sed -n '/^$/!p'
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
[sasl]
[root@saga www]# cat /opt/u01/dongwei/conf/passwd | sed -n '/#/!p'| sed -n '/^$/!p'
[users]
admin=password

启动svn
#svnserve -d -r /opt/u01/
man svnserve
-d, --daemon
Causes svnserve to run in daemon mode. svnserve backgrounds
itself and accepts and serves TCP/IP connections on the svn port
(3690, by default).
-r root, --root=root
Sets the virtual root for repositories served by svnserve. The
pathname in URLs provided by the client will be interpreted rela-
tive to this root, and will not be allowed to escape this root.

✸ ✸ ✸

📜 版权声明

本文作者:王梓 | 原文链接:https://www.bthlt.com/note/10340907-Linuxsvn简明配置

出处:葫芦的运维日志 | 转载请注明出处并保留原文链接

📜 留言板

留言提交后需管理员审核通过才会显示