Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk

Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk

大家好,又见面了,我是全栈君。

在windows环境下使用maven对openstack-java-sdk进行编译

编译源文件

下载源代码

git clonehttps://github.com/woorea/openstack-java-sdk.git

 

下载并安装gpg4win http://ftp.gpg4win.org/

本次过程中下载的是gpg4win-2.2.2.exe

配置gpg

查看

F:\github\openstack-java-sdk>gpg --list-key

gpg:C:/Users/Eric.sunah/AppData/Roaming/gnupg/trustdb.gpg: trustdb created

F:\github\openstack-java-sdk>gpg–list-key  显示为空,由于之前没有创建过gpgkey

 

创建gpg key

F:\github\openstack-java-sdk>gpg --list-key

Please select whatkind of key you want:

   (1) RSAand RSA (default)

   (2) DSAand Elgamal

   (3) DSA(sign only)

   (4) RSA(sign only)

Yourselection?    =========================》                回车

RSA keys may bebetween 1024 and 4096 bits long.

What keysize do youwant? (2048)

Requested keysize is2048 bits

Please specify howlong the key should be valid.

        0 = key does not expire

     <n>  = key expires in n days

     <n>w = key expires in n weeks

     <n>m = key expires in n months

     <n>y = key expires in n years

Key isvalid for? (0) ==========================>》回车

Key does not expireat all

Is this correct?(y/N) ===========================》 y

 

You need a user IDto identify your key; the software constructs the user ID

from the Real Name,Comment and Email Address in this form:

   "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

 

Real name: vipzrx

Email address:vipzrx@gmail.com

Comment:vipzrx-comment

You selected thisUSER-ID:

   "vipzrx (vipzrx-comment) <vipzrx@gmail.com>"

 

Change (N)ame,(C)omment, (E)mail or (O)kay/(Q)uit?

========================》 oYou need aPassphrase to protect your secret key.====================================================================》这里输入passwordWe need to generatea lot of random bytes. It is a good idea to perform会须要非常长非常长时间some other action(type on the keyboard, move the mouse, utilize thedisks) during theprime generation; this gives the random numbergenerator a betterchance to gain enough entropy. Not enough randombytes available. Please do some other work to givethe OS a chance tocollect more entropy! (Need 268 more bytes)+++++....+++++We need to generatea lot of random bytes. It is a good idea to performsome other action(type on the keyboard, move the mouse, utilize thedisks) during theprime generation; this gives the random numbergenerator a betterchance to gain enough entropy. gpg: key ACD99A24marked as ultimately trustedpublic and secretkey created and signed. gpg: checking thetrustdbgpg: 3 marginal(s)needed, 1 complete(s) needed, PGP trust modelgpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m,0f, 1upub 2048R/ACD99A24 2013-11-28 Key fingerprint = 601E E55C 7B9D 9E3C 4A9F 64AA 12FF A237 ACD9 9A24uid vipzrx (vipzrx-comment) <vipzrx@gmail.com>sub 2048R/41A14E55 2013-11-28

验证

创建gpg key是否成功?

F:\github\openstack-java-sdk>gpg--list-key  gpg --list-key

C:/Users/Eric.sunah/AppData/Roaming/gnupg/pubring.gpg

---------------------------

pub  2048R/ACD99A24 2013-11-28

uid                 vipzrx (vipzrx-comment) <vipzrx@gmail.com>

sub  2048R/41A14E55 2013-11-28

编译源代码

F:\github\openstack-java-sdk>mvn install

在编译的过程中会提示让你输入gpg的password,数据password后会继续编译。直到成功

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/115717.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • JDK8官网下载和安装详细说明(Windows10系统)[通俗易懂]

    JDK8官网下载和安装详细说明(Windows10系统)[通俗易懂]一、JDK官网下载1.点击链接https://www.oracle.com进入Oracle官方网站。2.点击下拉菜单,找到ProductHelp—>Downloads3.点击进入Downloads页面,找到javaJDK4.点击进入JDK下载页面(或直接在浏览器输入链接进入下载页面:https://www.oracle.com/technetwork/java/j…

    2022年7月8日
    226
  • 国内可用的stun服务

    国内可用的stun服务stun:stun.ideasip.comstun:stun.schlund.destun:stun.voiparound.comstun:stun.voipbuster.comstun:stun.v

    2022年7月1日
    32
  • SpringBoot重点详解–使用JPA操作数据库[通俗易懂]

    SpringBoot重点详解–使用JPA操作数据库[通俗易懂]目录JPA&SpringDataJPA配置Maven依赖配置数据源和JPA创建POJO实体数据持久化使用SpringDataJPA接口(方式一)CrudRepositoryPagingAndSortingRepositoryJpaRepositoryQueryByExampleExecutor自定义查询方法(方式二)JUnit测试…

    2022年6月22日
    30
  • Mysql锁机制简单了解一下

    Mysql锁机制简单了解一下一锁分类(按照锁的粒度分类)Mysql为了解决并发、数据安全的问题,使用了锁机制。可以按照锁的粒度把数据库锁分为表级锁和行级锁。表级锁:Mysql中锁定粒度最大的一种锁,对当前操作的整张表加锁,实现简单,资源消耗也比较少,加锁快,不会出现死锁。其锁定粒度最大,触发锁冲突的概率最高,并发度最低,MyISAM和InnoDB引擎都支持表级锁。行级锁Mysql中锁定粒…

    2022年5月1日
    42
  • 一、设计模式-开篇—为什么我要去旅行? #和设计模式一起旅行#

    独学而无友,则孤陋而寡闻。——《礼记·学记》写在开篇,本篇是一个综合帖,里面可能会记录一些我的学习感受,也可能记录一些我学习的资料的说明,总之这就是一个大杂烩的博文。开篇杂谈最近学习一些技术之外的其他东西,怎么进行时间管理了,怎么坚持去做一件事情了,还是学到了一些其他的新的东西!做一件事情最难的是什么,是启动!启动之后最难是什么,是坚持!很多时候大的道理我们都懂,但…

    2022年2月27日
    51
  • SPSS步骤|卡方检验详细操作和结果分析「建议收藏」

    SPSS步骤|卡方检验详细操作和结果分析「建议收藏」​卡方检验是很常用的一种分析方法,什么情况下使用卡方检验?如果你手上的数据是一种定类数据,比如性别(男、女)是否患病(是、否)。你还想要分析定类数据和定类数据之间的差异关系。例如想要分析性别和是否抽烟之间的关系。这一句话里面包含两个词语,分别是:性别,是否抽烟。性别为X,是否抽烟为Y。性别为定类数据,是否抽烟也是定类数据,此时就可以使用卡方检验。这篇文章分享分别使用两种常见统计分析工具SPSS和SPSSAU完成卡方检验。SPSS是目前常用的统计软件,SPSSAU是更简单的在线数据科学分析工具

    2022年5月17日
    119

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号