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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • HTML中meta标签的作用与使用

    HTML中meta标签的作用与使用META标签用来描述一个HTML网页文档的属性META标签可分为两大部分:HTTP-EQUIV和NAME变量。HTTP实例HTML代码实例中有一项内容是&lt;metahttp-equiv="Content-Type"content="text/html;charset=gb2312"&gt;其作用是指定了当前文档所使用的字符编码为gb2312,也就是中文简体字符。根据这一行代码,浏览器就可以…

    2022年6月1日
    37
  • 双拼输入法快速入门

    双拼输入法快速入门转自少数派https://sspai.com/post/32809,作者@大唐废猫本文适合并仅适合以下人群观看:喜爱折腾熟练使用盲打对汉语拼音有敏感度对于输入速度有要求愿意慢慢看完这一大篇文章并坚持痛苦使用为什么要批判全拼输入?自从计算机发明之后,如何利用QWERTY键盘输入汉字便成为一大难题,在历经五笔、注音、双拼、手写等各类输入角逐后,全拼…

    2022年6月18日
    50
  • Android setContentView流程[通俗易懂]

    Android setContentView流程[通俗易懂]MainActivity继承Activity的流程MainActivity继承至Activityimportandroid.app.Activity;importandroid.os.Bundle;publicclassMainActivityextendsActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(saved

    2022年6月26日
    32
  • datagrip mac激活码【在线注册码/序列号/破解码】

    datagrip mac激活码【在线注册码/序列号/破解码】,https://javaforall.net/100143.html。详细ieda激活码不妨到全栈程序员必看教程网一起来了解一下吧!

    2022年3月19日
    43
  • 计算机组成原理期末总结「建议收藏」

    文章目录写在前面计算机系统概论知识点习题运算方法和运算器知识点习题写在前面临近期末,总结了下知识点,供个人复习使用,仅供参考(近期不间断更新)。计算机系统概论知识点1.时钟周期是计算机中最基本的、最小的时间单位。在一个时钟周期内,CPU仅完成一个最基本的动作。2.主频(时钟频率):每秒钟含有多少个时钟周期(1.2GHz即每秒钟含有1.2×10^9个时钟周期)。3.CPI:一条指令所需要的时钟周期个数。4.MIPS:每秒钟能执行多少个100万条指令。5.MFLOPS:每秒百万次浮点操作次

    2022年4月12日
    55
  • mavlink无人机控制程序_无人机协同作战

    mavlink无人机控制程序_无人机协同作战1.MAVLink简介MAVLink(MicroAirVehicleLink,微型空中飞行器链路通讯协议)是无人飞行器与地面站(GroundControlStation,GCS)之间通讯,以及无人飞行器之间通讯最常用的协议。它已经在PX4、APM、PIXHAWK和ParrotAR.Drone飞控平台上进行了大量测试。2.发明者LorenzMeier简介MAVLink的…

    2022年8月15日
    11

发表回复

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

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