当前位置: 首页 > news >正文

SVN笔记-SVN安装

SVN笔记-SVN安装

1、在windows下安装 SVN

1、准备svn的安装文件

下载地址:https://sourceforge.net/projects/win32svn/

在这里插入图片描述

2、下载完成后,在相应的盘符中会有一个Setup-Subversion-1.8.17.msi的文件,目前最新的版本是1.8.17, 这里

就使用这个版本,然后双击安装文件进行安装,我们指定安装在 D:\OwnerSoftwareInstall\SVN 目录里。

在这里插入图片描述

3、查看目录结构

在这里插入图片描述

4、查看版本相关信息

把svn安装目录里的bin目录添加到path路径中,在命令行窗口中输入 svnserve --help,查看安装正常与否。

在这里插入图片描述

查看svnserve版本:

在这里插入图片描述

查看svn客户端信息:

在这里插入图片描述

在这里插入图片描述

至此,windows下的SVN安装完成。

2、在CentOS下安装 SVN

大多数 GNU/Linux 发行版系统自带了Subversion ,所以它很有可能已经安装在你的系统上了,可以使用下面命

令检查是否安装了。

[root@zsx ~]# svnserve --version
svnserve, version 1.7.14 (r1542130)compiled Sep 30 2020, 17:44:04Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/The following repository back-end (FS) modules are available:* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.Cyrus SASL authentication is available.
[root@zsx ~]# svn --version
svn, version 1.7.14 (r1542130)compiled Sep 30 2020, 17:44:04Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/The following repository access (RA) modules are available:* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.- handles 'http' scheme- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.- with Cyrus SASL authentication- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.- handles 'file' scheme

如果 Subversion 客户端没有安装,命令将报告svn命令找不到的错误。

[root@zsx ~]# svn --version
bash: svn: command not found...
[root@zsx ~]# svnserve --version
bash: svn: command not found...

我们可以使用 yum install subversion 命令进行安装。

[root@zsx ~]# su -
Last login: Sun Apr  9 09:35:11 CST 2023 from 192.168.64.185 on pts/1
[root@zsx ~]# yum install subversion

安装成功之后,执行 svn --version 命令。

[root@zsx ~]# svn --version
svn, version 1.7.14 (r1542130)compiled Sep 30 2020, 17:44:04Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/The following repository access (RA) modules are available:* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.- handles 'http' scheme- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.- with Cyrus SASL authentication- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.- handles 'file' scheme
[root@zsx ~]# svnserve --version
svnserve, version 1.7.14 (r1542130)compiled Sep 30 2020, 17:44:04Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/The following repository back-end (FS) modules are available:* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.Cyrus SASL authentication is available.

至此,centos下的SVN安装完成。

3、在Ubuntu下安装 SVN

如果 Subversion 客户端没有安装,命令将报告svn命令找不到的错误。

$ svn --version
The program 'svn' is currently not installed. You can install it by typing:
apt-get install subversion

我们可以使用 apt-get 命令进行安装

$ apt-get install subversion
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:augeas-lenses hiera libaugeas0 libxslt1.1 ruby-augeas ruby-deep-merge ruby-json ruby-nokogiri ruby-rgen ruby-safe-yaml ruby-selinux ruby-shadow
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:libserf-1-1 libsvn1
...

安装成功之后,执行 svn --version 命令。

$ svn --version
svn, version 1.8.13 (r1667537)compiled Sep  8 2015, 14:59:01 on x86_64-pc-linux-gnu

至此,Ubuntu下的SVN安装完成。

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • 动手学深度学习9.1. 门控循环单元(GRU)-笔记练习(PyTorch)
  • 比亚迪技术面试(测试、测开)
  • 服务监控插件全览:提升微服务可观测性的利器
  • 计算机前沿技术-人工智能算法-大语言模型-最新论文阅读-2024-09-22
  • 【LTW】Domain General Face Forgery Detection by Learning to Weight
  • 如何用 HAproxy 实施高可用部署 | OceanBase 实践
  • NLP 文本分类任务核心梳理
  • 握手传输 状态机序列检测(记忆科技笔试题)_2024年9月2日
  • 仪表放大器AD620
  • SpringBoot开发——整合SpringDoc实现在线接口文档
  • 深度学习模型之BERT的24个小模型源码与预训练紧凑模型的重要性
  • 前端算法学习,包含复杂度、双指针、滑动窗口、二叉树、堆等常见题型和方法,含leetcode例题
  • 提升动态数据查询效率:应对数据库成为性能瓶颈的优化方案
  • 基于OpenMV的智能小车图像识别与跟踪系统设计
  • python:django项目知识点02——搭建简易授权码核销系统
  • @angular/forms 源码解析之双向绑定
  • Android开发 - 掌握ConstraintLayout(四)创建基本约束
  • JavaScript创建对象的四种方式
  • jdbc就是这么简单
  • js 实现textarea输入字数提示
  • JS函数式编程 数组部分风格 ES6版
  • Leetcode 27 Remove Element
  • leetcode378. Kth Smallest Element in a Sorted Matrix
  • maven工程打包jar以及java jar命令的classpath使用
  • nodejs调试方法
  • Octave 入门
  • Python - 闭包Closure
  • python_bomb----数据类型总结
  • Redis学习笔记 - pipline(流水线、管道)
  • 深入体验bash on windows,在windows上搭建原生的linux开发环境,酷!
  • 通过获取异步加载JS文件进度实现一个canvas环形loading图
  • 微信如何实现自动跳转到用其他浏览器打开指定页面下载APP
  • 一道面试题引发的“血案”
  • d²y/dx²; 偏导数问题 请问f1 f2是什么意思
  • kubernetes资源对象--ingress
  • 国内唯一,阿里云入选全球区块链云服务报告,领先AWS、Google ...
  • ​LeetCode解法汇总2696. 删除子串后的字符串最小长度
  • ​浅谈 Linux 中的 core dump 分析方法
  • #if #elif #endif
  • #LLM入门|Prompt#3.3_存储_Memory
  • (16)Reactor的测试——响应式Spring的道法术器
  • (非本人原创)我们工作到底是为了什么?​——HP大中华区总裁孙振耀退休感言(r4笔记第60天)...
  • (附程序)AD采集中的10种经典软件滤波程序优缺点分析
  • (三)Kafka离线安装 - ZooKeeper开机自启
  • (转)总结使用Unity 3D优化游戏运行性能的经验
  • *setTimeout实现text输入在用户停顿时才调用事件!*
  • ... fatal error LINK1120:1个无法解析的外部命令 的解决办法
  • .net core 6 集成 elasticsearch 并 使用分词器
  • .NET 编写一个可以异步等待循环中任何一个部分的 Awaiter
  • .NET 设计模式—简单工厂(Simple Factory Pattern)
  • .Net多线程Threading相关详解
  • .NET高级面试指南专题十一【 设计模式介绍,为什么要用设计模式】
  • .NET委托:一个关于C#的睡前故事
  • @Bean有哪些属性
  • @ohos.systemParameterEnhance系统参数接口调用:控制设备硬件(执行shell命令方式)