良心之作----centos6.5下安装svn客户端报错
生活随笔
收集整理的這篇文章主要介紹了
良心之作----centos6.5下安装svn客户端报错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
centos連VisualSVN服務器時報"Key usage violation"錯誤的解決方案
錯誤原因分析: CentOS/RHEL yum 安裝的 subversion 是 1.6.11 版本,連VisualSVN服務器時會有"Key usage violation"的錯誤,如下網上查到,將subversion升級到最新版可解決該問題:
Install Subversion 1.8.9 ( SVN Client ) on CentOS/RHEL
Thanks to Wandisco, which is maintaining the rpm packages for latest Subversion version.
( http://tecadmin.net/install-subversion-1-8-on-centos-rhel/ )
解決方法: 1.添加源
vim /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刪除舊的包
yum remove subversion*
3.安裝新的包
yum clean all
yum install subversion
好了,現在試試SVN的版本
svn --version
svn, version 1.8.15 (r1718365)
???compiled Dec 11 2015, 14:28:48 on x86_64-redhat-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, seehttp://subversion.apache.org/
The following repository access (RA) modules are available:
* 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
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
??- using serf 1.3.7
??- handles 'http' scheme
??- handles 'https' scheme
問題解決。
參考:https://www.douban.com/note/553063504/
檢出代碼: [root@localhost work]# svn --username=admin checkouthttps://101.200.191.68/svn/project/softproject/Python /opt/work
總結
以上是生活随笔為你收集整理的良心之作----centos6.5下安装svn客户端报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: centos6.5下如何把python2
- 下一篇: centos6.6 安装python环境