现在的位置: 首页IT综合>正文
it category
windows环境下Subversion(SVN)服务器和客户端安装
发表于291 天前 IT综合 评论数 6

SVN(Subversion)是一个优秀的版本控制软件,近日完成了SVN在Windows服务器上的安装配置,备忘如下:

1 下载服务器端svn-1.4.4-setup.exe,下载地址:http://subversion.tigris.org/project_packages.html
2 安装服务器端
3 创建一个版本库,命令:svnadmin create 新版本库路径
4 修改用户名和口令。进入新版本库所在目录,
找到conf目录下的svnserve.conf,将其中  # password-db = passwd 的#去掉。
找到conf目录下的passwd文件,将其中# harry = harryssecret 和 # sally = sallyssecret 改成自己的用户名和密码。=前面是用户名,=后面是密码,用户名前面不要有空格。
5 启动SVN服务器
方式一:命令行方式: svnserve.exe -d -r 版本库路径
方式二:服务方式:sc create svnserve binpath= “SVN的BIN目录\svnserve.exe –service –root 版本库路径” displayname= “Subversion” depend= tcpip start= auto
如sc create svnserve binpath= “E:\Subversion\bin\svnserve.exe –service –root e:\svn” displayname= “Subversion” depend= tcpip start= auto,注意:版本库路径后面不要带\。
其中sc命令不是windows自带的,是微软.net sdk中的一个工具。

至此SVN服务器已经能运行,SVN服务器的访问地址为 svn://服务器名或IP地址

6 下载SVN客户端TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi 和 中文包,下载地址:http://tortoisesvn.net/downloads
7 安装SVN客户端,重启后,安装中文包。完成后,Windows右键菜单就会多出来TortoiseSVN的菜单,选TortoiseSVN->Setting可以把菜单设成中文。
8 Windows右键菜单 TortoiseSVN->导入 ,就可以将本地文件导入至服务器中的版本库。

SVN中文参考网站:http://www.subversion.org.cn/

windows环境下Subversion(SVN)服务器和客户端安装:目前有6 条留言

  1. Belen Mickiewicz : 2011年08月23日5:53 上午 回复

    Wow, marvelous blog layout! How long have you been running a blog for? you make blogging glance easy. The total look of your site is great, well the content!

  2. Excellent post. I was checking constantly this blog and I’m impressed! Very useful information specially the last part I care for such info much. I was looking for this particular information for a very long time. I will keep the attention of your blog. Thank you and have a great day.

  3. Nice post. I was checking continuously this blog and I am impressed! Extremely useful info particularly the last part I care for such information much. I was seeking this particular info for a long time. I will keep the attention of your blog. Thank you and good luck.

  4. 1428778 : 2011年08月22日6:38 上午 回复

    1428778 beers on the wall.

  5. phelps : 2011年08月02日9:56 下午 回复

    :evil: 新的VPS 空间速度很给力

给我留言


/ 快捷键:Ctrl+Enter
不想听你唠叨×