




免费预览已结束,剩余12页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Svn安装和使用教程作者:王焱亮单位:vwintech安装svn1.43service到服务器首先需要安装svn的安装程序,然后创建svn服务。用windows命令创建svn服务并设为自动:sc create svnservice binpath= D:Program FilesSubversionbinsvnserve.exe -service -r D:SvnVob displayname= SVNService depend= Tcpip start= auto只需要修改一下binpath的svn执行文件所在路径就可以了,当然要记住修改服务所在目录名。安装svn1.43client到客户端安装svn的客户端程序,需要的话还可以安装svn的语言包,注意语言包的版本也必须与客户端程序的版本一致在MyEclipse中下载并安装svn插件首先点击MyEclipse的菜单:helpSoftware UpdateFind And Install,如下图进入如下页面:选择下边的单选钮,点击next按钮,出现如下页面:选择Subclipse update site 然后点击finish按钮。注:没有的创建一个地址为:/update_1.2.x的更新,名称随意起。进入下面的页窗口:按上图所示的方式选择,然后点击下一步。如上图,选择同意然后点击下一步如上图,点击finash就开始自动下载并安装了,安装完成后会要求eclipse重启。在Eclipse中检出项目现在Eclipse中已经有了svn的插件了,我们现在可以直接通过Eclipse检出局域网中任何一台机器上的svn服务中的项目。首先,new一个新项目,在项目类别中选择“从svn中检出项目”,如下图:点击next按钮,进入资源库位置的选择或新建页面:可以选择一个已有的资源库位置,或者创建一个新的。现以创建新的资源库为例,如下:在url栏中输入已建好的svn服务的地址,如上图的svn:/1/pj1,格式一定要正确。完成后点击next,如果能找到给定的地址会出现下面的画面:然后继续点击next:如上图,选择“做为工作空间中的项目检出”,并随便输入一个项目名称,点击next:如上图,是设置项目将要检出到的本地位置,可以直接放到eclipse的工作目录或者另外找一个新的目录。然后点击finish完成检出。创建版本库1、 创建版本库内部目录结构:2、 配置用户权限密码等:对.conf 目录下的三个文件进行修改authz文件# This file is an example authorization file for svnserve.# Its format is identical to that of mod_authz_svn authorization# files.# As shown below each section defines authorizations for the path and# (optional) repository specified by the section name.# The authorizations follow. An authorization line can refer to a# single user, to a group of users defined in a special groups# section, or to anyone using the * wildcard. Each definition can# grant read (r) access, read-write (rw) access, or no access# ().groups# harry_and_sally = harry,sallyeam=wyl,johnson.wang/组,及其包含的用户# /foo/bar# harry = rw# * =# repository:/baz/fuz# harry_and_sally = rw# * = ream=rw/组的权限#后为注释passwd文件# This file is an example password file for svnserve.# Its format is similar to that of svnserve.conf. As shown in the# example below it contains one section labelled users.# The name and password for each user follow, one account per line.users# harry = harryssecret# sally = sallyssecretwyl=1/用户名=密码johnson.wang=888888svnserve文件照此样# 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 files location is relative to the conf directory.# Uncomment the line below to use the default password file.# password-db = passwd# The authz-db option controls the location of the authorization# rules for path-based access control. Unless you specify a path# starting with a /, the files location is relative to the conf# directory. If you dont specify an authz-db, no path-based access# control is done.# Uncomment the line below to use the default authorization file.authz-db = authz# This option specifies the authentication realm of the repository.# If two repositories have the same authentication realm, they shou
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 房屋地下工程施工技术方案
- 船舶生产线设备选型与配置方案
- 在线培训计划考试题
- 成本控制专员面试题及答案
- 水渠衬砌与渗漏治理方案
- 船舶生产线后期运营与管理方案
- DB52T18922025社区卫生服务中心耳及听力保健门诊设置规范
- 森林风光互补发电-洞察与解读
- 中国农业绿色发展战略与行动方案
- 2025包头考试语文真题及答案
- 2025年贵州省警(协警)招聘考试题库及答案
- (新教材)2025年秋期部编人教版二年级上册小学语文全册教案(教学设计)(新课标核心素养教案)
- GA/T 2012-2023窃照专用器材鉴定技术规范
- 食品保质期检测记录表
- 诗化小说示范课
- (17)-第三节 反抗外国武装侵略的斗争
- 04质量奖(现场)评审报告
- GB/T 9728-2007化学试剂硫酸盐测定通用方法
- 《罗织经》全文及翻译
- 《中药商品学》考试复习题库(含答案)
- 医药流通零售连锁解决方案
评论
0/150
提交评论