SVN服务搭建
2011-09-26 10:48
162 查看
应用场景, Windows端搭建SVN服务器, 客户端测试使用Linux.
下载最新的svn服务器:
svn-1.4.5-setup.rar
下载最新的svn客户端:
TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.rar
下载配置svn服务成window service自动运行的工具:
SVNService.rar
安装上述软件.
注意: 解压后的SVNService.exe 一定要放到 ?:\?\Subversion\bin的目录下. ?"\?\ 你svn服务器安装目录.
右键点击 选择 "TortoiseSVN" >> "Create Repository here.."创建工程存放目录.
配置conf文件夹下的passwd 文件与 svnserve.conf文件.
修改svnserve.conf 文件:
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
去除文件中黑体部分的注释.
在passwd文件中加入你需要设置的密码.
[users]
harry = harryssecret
sally = sallyssecret
zxn = admin
这是这些完毕, 在命令行中运行 SVNService -install -d -r d:\SVN\Projects\test
在 我的电脑 右击 管理与服务 选项 找到 SVNService, 启动服务.
至此SVN 配置完成.
在Linux端查看配置的SVN服务, svn list svn://192.168.16.22/test
svn checkout svn://192.168.16.22/test 测试OK!
下载最新的svn服务器:
svn-1.4.5-setup.rar
下载最新的svn客户端:
TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.rar
下载配置svn服务成window service自动运行的工具:
SVNService.rar
安装上述软件.
注意: 解压后的SVNService.exe 一定要放到 ?:\?\Subversion\bin的目录下. ?"\?\ 你svn服务器安装目录.
右键点击 选择 "TortoiseSVN" >> "Create Repository here.."创建工程存放目录.
配置conf文件夹下的passwd 文件与 svnserve.conf文件.
修改svnserve.conf 文件:
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the file's location is relative to the conf directory.
### Uncomment the line below to use the default password file.
password-db = passwd
去除文件中黑体部分的注释.
在passwd文件中加入你需要设置的密码.
[users]
harry = harryssecret
sally = sallyssecret
zxn = admin
这是这些完毕, 在命令行中运行 SVNService -install -d -r d:\SVN\Projects\test
在 我的电脑 右击 管理与服务 选项 找到 SVNService, 启动服务.
至此SVN 配置完成.
在Linux端查看配置的SVN服务, svn list svn://192.168.16.22/test
svn checkout svn://192.168.16.22/test 测试OK!
相关文章推荐
- win7 svn服务搭建
- [svn] 一个版本库对应一个项目 svn服务务器搭建 祥解
- SVN服务搭建和与eclipse连接
- win7搭建svn服务
- linux上面搭建svn服务
- windows 下搭建svn服务和进行连接
- svn服务搭建和使用
- Centos6.2.3 SVN服务搭建
- Windows下SVN服务的搭建和使用
- linux(centos)搭建SVN服务…
- SVN服务搭建和使用(二)
- ubuntu svn服务搭建记录
- 在mac下搭建svn服务
- Ubuntu12.04 下svn服务搭建及Windows客户端tortoisesvn的使用
- SVN版本控制系统搭建(结合http服务)
- SVN服务搭建出现的问题
- Linux系统搭建SVN服务
- 搭建自己的svn服务
- 在centos7下用http搭建配置svn服务
- 在本地搭建SVN服务