其他分享
首页 > 其他分享> > easy-rsa 不同版本克隆

easy-rsa 不同版本克隆

作者:互联网

1、克隆easy-rsa 并切换到2.0版本的分支

yum install -y git
git clone https://github.com/OpenVPN/easy-rsa.git
cd easy-rsa
git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/release/1.x
  remotes/origin/release/2.x
  remotes/origin/v3.0.4
  remotes/origin/v3.0.5
  remotes/origin/v3.0.6
git checkout -b v2.0 origin/release/2.x
git branch -a
  master
* v2.0
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/release/1.x
  remotes/origin/release/2.x
  remotes/origin/v3.0.4
  remotes/origin/v3.0.5
  remotes/origin/v3.0.6

 ls easy-rsa

 2.0 Windows 

2.0即为需要使用的easy-rsa 2.-版本

2、克隆easy-rsa 并切换到3.0.6版本的分支

yum install -y git
git clone https://github.com/OpenVPN/easy-rsa.git
cd rasy-rsa
git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/release/1.x
  remotes/origin/release/2.x
  remotes/origin/v3.0.4
  remotes/origin/v3.0.5
  remotes/origin/v3.0.6

git checkout -b v3.0.6 origin/v3.0.6
git branch -a
  master
  v2.0
* v3.0.6
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/release/1.x
  remotes/origin/release/2.x
  remotes/origin/v3.0.4
  remotes/origin/v3.0.5
  remotes/origin/v3.0.6
ls easyrsa3
easyrsa  openssl-easyrsa.cnf  vars.example  x509-types 

 

其中easyrsa3 文件夹中为既要使用的3.0.6的相关版本文件

标签:origin,v3.0,克隆,rsa,remotes,git,master,easy
来源: https://www.cnblogs.com/boybo/p/12095035.html