




已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Svn 安装和使用教程安装和使用教程 作者 王焱亮单位 vwintech 安装安装 svn1 43service 到服务器到服务器 首先需要安装 svn 的安装程序 然后创建 svn 服务 用 windows 命令创建 svn 服务并设为自动 sc create svnservice binpath D Program Files Subversion bin svnserve exe service r D SvnVob displayname SVNService depend Tcpip start auto 只需要修改一下 binpath 的 svn 执行文件所在路径就可以了 当然要记住修改服 务所在目录名 安装安装 svn1 43client 到客户端到客户端 安装 svn 的客户端程序 需要的话还可以安装 svn 的语言包 注意语言包的版本也必 须与客户端程序的版本一致 在在 MyEclipse 中下载并安装中下载并安装 svn 插件插件 首先点击 MyEclipse 的菜单 help Software Update Find And Install 如下图 进入如下页面 选择下边的单选钮 点击 next 按钮 出现如下页面 选择 Subclipse update site 然后点击 finish 按钮 注 没有的创建一个地址为 http subclipse tigris org update 1 2 x 的更新 名称随意起 进入下面的页窗口 按上图所示的方式选择 然后点击下一步 如上图 选择同意然后点击下一步 如上图 点击 finash 就开始自动下载并安装了 安装完成后会要求 eclipse 重启 在在 Eclipse 中检出项目中检出项目 现在 Eclipse 中已经有了 svn 的插件了 我们现在可以直接通过 Eclipse 检出局域网中任何 一台机器上的 svn 服务中的项目 首先 new 一个新项目 在项目类别中选择 从 svn 中检出项目 如下图 点击 next 按钮 进入资源库位置的选择或新建页面 可以选择一个已有的资源库位置 或者创建一个新的 现以创建新的资源库为例 如下 在 url 栏中输入已建好的 svn 服务的地址 如上图的 svn 192 168 1 41 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 sally eam wyl johnson wang 组 及其包含的用户 foo bar harry rw repository baz fuz harry and sally rw r eam 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 sallyssecret wyl 1 用户名 密码 johnson wang 888888 svnserve 文件照此样 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 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 file s location is relative to the conf directory If you don t 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 the
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年数控高精度内外圆磨床项目建议书
- 安全培训教学方法改革课件
- 广东省【中职专业高考】2025年中职高考对口升学(理论考试)真题卷【轻工纺织大类】模拟练习
- “百万英才汇南粤”2025年佛山市高明区公开招聘中小学教师(第四场)考前自测高频考点模拟试题带答案详解
- 2025贵州贵州省福泉市引进教育系统高层次人才20人考前自测高频考点模拟试题及答案详解(必刷)
- 2025年棕、藤、草制品项目合作计划书
- IN-1130-Standard-生命科学试剂-MCE
- 2025年羟丙纤维素项目发展计划
- 2025广西壮族自治区中医骨伤科研究所广西骨伤医院招聘实名编制工作人员(高级职称)3人考前自测高频考点模拟试题含答案详解
- GW7647-Standard-生命科学试剂-MCE
- 南京市、盐城市2025届高三年级第一次模拟考试(一模)英语试卷(含答案)+听力音频
- 羊水异常课件
- 煤矿“冬季四防”专项安全风险辨识评估报告
- 小儿链球菌感染护理查房
- 肿瘤免疫治疗不良反应
- 竞聘医疗组长
- 路易斯·康获奖课件
- 第一次月考 (1-2单元)(月考)- 2024-2025学年六年级上册数学人教版
- 中国的自然环境单元教学设计 湘教版
- DL∕ T 895-2004 除灰除渣系统运行导则
- 医疗装备应急管理与替代程序试题
评论
0/150
提交评论