




免费预览已结束,剩余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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 焊接技术工程师资格考题及答案
- 通过质量工程师考试的必考知识点试题及答案
- 2024年焊接工程师模拟考题试题及答案
- 关键复习技巧的酒店经营管理师试题及答案
- 电气工程师资格证书考试综合测试试题及答案
- 分层次理解商务礼仪师考试的各个方面试题及答案
- 焊接对接方法的应用试题及答案
- 2024年质量工程师资格证书考试的复习策略与试题重要性试题及答案
- 纺织机械操作技能提升试题及答案
- 精通2024年电气工程师资格证书考试试题及答案
- 2025年陕西高中学业水平合格性考试数学模拟试卷(含答案详解)
- 江苏省南通市海门区2024-2025学年第二学期九年级期中考试历史试卷(含答案)
- 2025分布式光伏工程验收标准规范
- GB/T 25139-2025铸造用泡沫陶瓷过滤网
- (二模)湛江市2025年普通高考测试(二)生物试卷(含答案详解)
- 2025年上海市普陀区中考英语二模试卷(含答案)
- 2024年初级药师考试历年真题试题及答案
- 9.2法律保障生活 课件 -2024-2025学年统编版道德与法治七年级下册
- 幼儿园牛奶知识普及课件
- 公司泥头车管理制度
- 警犬训练室内管理制度
评论
0/150
提交评论