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”方案