zoukankan      html  css  js  c++  java
  • 解决svn Key usage violation in certificate has been detected

    ubuntu系统

    #!/bin/sh
    echo "This script will reconfigure subversion to work with certs correctly."
    echo "Steps outlined by dcrooke and compiled into this script by Kalosaurusrex"
    echo "Please see the ubuntuforums.org thread for more information, questions or help."
    echo "http://ubuntuforums.org/showthread.php?p=6057983"
    echo ""
    echo ""
    echo "Please run this script as USER ONLY."
    echo ""
    echo "Press control-c to quit..else the script will start in 5 seconds."
    sleep 5
    sudo apt-get update
    sudo apt-get install build-essential openssl ssh expat libxyssl-dev libssl-dev
    sudo apt-get remove subversion
    sudo dpkg --purge subversion
    wget http://subversion.tigris.org/downloads/subversion-1.5.4.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-deps-1.5.4.tar.gz
    tar xvfz subversion-1.5.4.tar.gz
    tar xvfz subversion-deps-1.5.4.tar.gz

    cd subversion-1.5.4

    rm -rf neon

    wget http://www.webdav.org/neon/neon-0.30.1.tar.gz

    tar zxvf neon-0.30.1.tar.gz
    rm -rf neon-0.30.1.tar.gz
    mv neon-0.30.1 neon

    cd neon/
    ./configure --prefix=/usr/local/neon --with-ssl --with-pic
    make
    sudo make install
    cd ..
    rm -rf neon
    ./configure --prefix=/usr/local/svn --with-ssl --with-neon=/usr/local/neon
    make
    sudo make install
    cd ..
    rm -rf subversion-1.5.4
    rm subversion-1.5.4.tar.gz
    rm subversion-deps-1.5.4.tar.gz
    exit 0

    centos系统

    #!/bin/sh
    echo "This script will reconfigure subversion to work with certs correctly."
    echo "Steps outlined by dcrooke and compiled into this script by Kalosaurusrex"
    echo "Please see the ubuntuforums.org thread for more information, questions or help."
    echo "http://ubuntuforums.org/showthread.php?p=6057983"
    echo ""
    echo ""
    echo "Please run this script as USER ONLY."
    echo ""
    echo "Press control-c to quit..else the script will start in 5 seconds."
    sleep 5

    yum remove subversion
    rpm -e --nodeps subversion
    wget http://subversion.tigris.org/downloads/subversion-1.5.4.tar.gz
    wget http://subversion.tigris.org/downloads/subversion-deps-1.5.4.tar.gz
    tar xvfz subversion-1.5.4.tar.gz
    tar xvfz subversion-deps-1.5.4.tar.gz

    cd subversion-1.5.4

    rm -rf neon

    wget http://www.webdav.org/neon/neon-0.30.1.tar.gz

    tar zxvf neon-0.30.1.tar.gz
    rm -rf neon-0.30.1.tar.gz
    mv neon-0.30.1 neon
    cd neon/

    ./configure --prefix=/usr/local/neon --with-ssl --with-pic
    make
    make install
    cd ..
    rm -rf neon
    ./configure --prefix=/usr/local/svn --with-ssl --with-neon=/usr/local/neon
    make
    make install
    cd ..
    rm -rf subversion-1.5.4
    rm subversion-1.5.4.tar.gz
    rm subversion-deps-1.5.4.tar.gz
    exit 0

  • 相关阅读:
    目标检测算法的总结(R-CNN、Fast R-CNN、Faster R-CNN、YOLO、SSD、FNP、ALEXnet、RetianNet、VGG Net-16)
    目标检测评价标准(mAP, 精准度(Precision), 召回率(Recall), 准确率(Accuracy),交除并(IoU))
    JavaScript中继承的多种方式和优缺点
    使用Vue封装暂无数据占位图组件
    Vue组件间通信方式到底有几种
    通俗易懂了解Vue中nextTick的内部实现原理
    从0开始编写webpack插件
    常用的webpack优化方法
    通俗易懂了解Vue内置组件keep-alive内部原理
    原生JS实现集合结构
  • 原文地址:https://www.cnblogs.com/breg/p/4284026.html
Copyright © 2011-2022 走看看