建立本地svn库
2016-07-27 22:04
176 查看
1. 进入到相应的目录下后, 利用 svnadmin create repo #repo 就是版本库
2. 修改 repo/conf/authz
[groups]
g_vip = sarry
g_common = harry
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
# [/foo/bar]
# harry = rw
# &joe = r
# * =
# [itory:/baz/fuz]
# @harry_and_sally = rw
# * = r
[/]
@g_vip = rw
sarry = rw
* =
[/d2]
@g_common = rw
harry = rw
* =
repo/conf/passwd
[users]
harry=harryharry
sarry=sarrysarry
repo/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
realm = /home/temp/repo
4. 启动svn服务器 svnserve -d --log-file ./svn.log -r `pwd`
5. 远程访问
svn checkout svn://ip/xxx xxxx --username xxx
2. 修改 repo/conf/authz
[groups]
g_vip = sarry
g_common = harry
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
# [/foo/bar]
# harry = rw
# &joe = r
# * =
# [itory:/baz/fuz]
# @harry_and_sally = rw
# * = r
[/]
@g_vip = rw
sarry = rw
* =
[/d2]
@g_common = rw
harry = rw
* =
repo/conf/passwd
[users]
harry=harryharry
sarry=sarrysarry
repo/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
realm = /home/temp/repo
4. 启动svn服务器 svnserve -d --log-file ./svn.log -r `pwd`
5. 远程访问
svn checkout svn://ip/xxx xxxx --username xxx
相关文章推荐
- 结合源码和日志分析 mesos agent recover 过程
- opencv直方图该怎么画
- linux基础(8)-文件处理(awk 、sed、grep)
- VGG-19 和 VGG-16 的 prototxt文件
- Hibernate一对多单向,多对一单向,多对一双向关联
- Lync Sever 安装排错&删除Lync拓扑重新发布 推荐
- win7 设置启用remote control 设置方法
- tjut 4631
- 分享一篇Android自定义Toast的文章——很简单哦
- 配置参数详解(主要是%ZOOKEEPER_HOME%/conf/zoo.cfg文件)
- Android中的Context
- 微信公众号个性化菜单
- java中内存的主要划分
- 男生和女生的区别
- 剑指offer——第一个只出现一次的字符
- 第三十二天 MySQL服务器日志、备份恢复、MySQLdump及xtrabackup的使用
- linux网络基本之ip命令
- c++ tips
- Linux 文件目录介绍
- 小米范工具系列之十三:小米范验证码登录爆破工具