Installing SVN server in Windows OS.

本文详细介绍了如何在Windows操作系统中安装配置SVN服务器。包括下载安装包、创建目录和服务、建立版本库以及权限设置等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

研究了下SVN服务器端的安装过程。

 

Installing SVN server in Windows OS.

 

1.download the installer package. Setup-Subversion-1.6.15.msi

2.double click the msi file.

3.next until finishing the installer.

 

4.create a directory for the root of svn. for example, D:/MySvn

5.create a service for svnserve for start svnserve when starting up OS.

 

cmd->sc create svnservice binpath= "C:/Subversion/bin/s

vnserve.exe --service -r D:/MySvn" displayname= "SVNService" depend= Tcpip start= auto

 

6.create a respository in the svn root directroy.two methods

a.svnadmin create D:/MySvn/repo1

b.or if installing the client TortoiseSVN: go to the root directory(for example, D:/MySvn), create a dir( for example, repo1), then select this dir and right click->tortoiseSVN->create a repository here.

check if some files and dir are creatd in this dir(here is repo1)

 

7.test if the respository is created successfully or not.

first install the client TortoiseSVN, then right click->tortoiseSVN->repo-browser->url:svn://localhost/repo1, if ok, congratulation.

 

8.priviledge control

go to the repository directory(here is repo1),go to the folder conf, there are three files need to be modidifed.

a.svnserve.conf

uncomment the line.

# password-db = passwd

note no blank at the beginning of the line.

 

b.passwd

add the mapping of user and password

for example,

test = test

 

c.authz

control the user priviledge including read and write on the repository.

for example, the following lines will grant the user test the priviledge read and write on the repo1.

[d:/mysvn/repo1]

test = rw

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值