centos svn更新错误和SVN版本升级

执行 SVN操作一直报错  svn: 方法 OPTIONS 失败于 “https://192.168.1.11:8443/svn/week_report”: SSL handshake failed: SSL 错误:Key usage violation in certificate has been detected. (https://192.168.1.11:8443)

服务器系统为centos google一堆无果,于是决定釜底抽薪升级版,升级为1.8.15问题解决

centos 版本适合  CentOS/RHEL 7/6/5

以下为升级的方法。默认的yum安装的版本过低。需要更新资源包文件路径

操作步骤如下

 

1、新加svn yum的仓库

新建文件/etc/yum.repos.d/wandisco-svn.repo 增加如下内容

[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0

2、移除之前的安装包安装新包

 

# yum remove subversion*
 
# yum clean all
# yum install subversion

3、安装成功

# svn --version

svn,版本 1.8.15 (r1718365)

   编译于 Dec  8 2015,17:04:48 在 x86_64-unknown-linux-gnu

 

Copyright (C) 2015 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/

 

可使用以下的版本库访问模块: 

 

* ra_svn : 使用 svn 网络协议访问版本库的模块。  - 使用 Cyrus SASL 认证

  - 处理“svn”方案

* ra_local : 访问本地磁盘的版本库模块。

  - 处理“file”方案

* ra_serf : Module for accessing a repository via WebDAV protocol using serf.

  - using serf 1.3.7

  - 处理“http”方案

  - 处理“https”方案

猜你喜欢

转载自blog.csdn.net/jiadabin/article/details/72846121