zoukankan      html  css  js  c++  java
  • brew安装sshpass

    有以下解决方法:

    # 1
    brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb
    # 2
    brew install http://git.io/sshpass.rb

    或者新建一个文件/tmp/sshpass.rb,写入如下内容,最后执行brew install /tmp/sshpass.rb

    require 'formula'
    
    class Sshpass < Formula
      url 'http://sourceforge.net/projects/sshpass/files/sshpass/1.05/sshpass-1.05.tar.gz'
      homepage 'http://sourceforge.net/projects/sshpass'
      sha256 'c3f78752a68a0c3f62efb3332cceea0c8a1f04f7cf6b46e00ec0c3000bc8483e'
    
      def install
        system "./configure", "--disable-debug", "--disable-dependency-tracking",
                              "--prefix=#{prefix}"
        system "make install"
      end
    
      def test
        system "sshpass"
      end
    end

  • 相关阅读:
    Using Spark's "Hadoop Free" Build
    关于Consul
    关于Eureka
    关于Gateway
    关于Ribbon
    关于Hystrix
    关于Feign
    关于SpringBoot
    关于架构
    关于敏捷开发Scrum(一)
  • 原文地址:https://www.cnblogs.com/EasonJim/p/9802424.html
Copyright © 2011-2022 走看看