svn服务器

  1. 安装svn
  2. mkdir -p /export/server/svn/repos/projects
  3. svnadmin create /export/server/svn/repos/projects/
  4. cd /export/server/svn/repos/projects/conf
  5. 添加用户: vim passwd

    [users]
    # harry = harryssecret
    # sally = sallyssecret
    niewj = xxxxxx
    test = test

  6. 增加权限: vim authz

    18 [aliases]
    19 # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institut e/CN=Joe Average
    20
    21 [groups]
    22 # harry_and_sally = harry,sally
    23 # harry_sally_and_joe = harry,sally,&joe
    24
    25 # [/foo/bar]
    26 # harry = rw
    27 # &joe = r
    28 # =
    29
    30 # [repository:/baz/fuz]
    31 # @harry_and_sally = rw
    32 #
    = r
    33 [projects:/]
    34 niewj = rw
    35 test = r

  7. 配置svn权限: vim svnserve.conf

    8 [general]
    9 ### These options control access to the repository for unauthenticated
    10 ### and authenticated users. Valid values are "write", "read",
    11 ### and "none". The sample settings below are the defaults.
    12 anon-access = none
    13 auth-access = write
    14 password-db = passwd
    15 authz-db = authz

  8. 启动svnserve : 注意:不到projects下

    svnserve -d -r /export/server/svn/repos/

9.svn://myhost/projects

转载于:https://blog.51cto.com/coffee/2091712

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值