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)
上一篇 2022年1月31日 下午4:00
下一篇 2022年1月31日 下午4:00


相关推荐

  • goland 2021.2.3 服务器激活(在线激活)

    goland 2021.2.3 服务器激活(在线激活),https://javaforall.net/100143.html。详细ieda激活码不妨到全栈程序员必看教程网一起来了解一下吧!

    2022年3月14日
    367
  • god is a girl 俚语_God will make a way

    god is a girl 俚语_God will make a wayWehumanbeingsarealwaystryingtofindaeverythingoperationofthelaw.So,Ialsodon’tstrangemyselfsometimeswhythis.Thetruth

    2022年10月8日
    4
  • 图像修复 python_50.图像修复

    图像修复 python_50.图像修复目标本节主要学习内容 使用图像修复技术去除照片中的噪声和划痕 掌握 OpenCV 中与图像修复技术相关的函数基础说明想一想 你在生活中有没有遇到过这样的问题 一张自己很喜欢的具有怀念意义的照片 随着年代的久远 照片逐渐老化 有时候在看照片时一不小心弄上了点污渍或者是画了几笔 你有没有想过要修复这些照片呢 你可能会说 我可以使用笔刷工具简易在上面涂抹两下不就行了吗 但这其实是没用的 事实上你只

    2026年3月19日
    2
  • 【java】Windows7 下设置环境变量

    【java】Windows7 下设置环境变量

    2021年12月8日
    54
  • 模拟赛【20190802】phantasm

    模拟赛【20190802】phantasm然鹅没有noip这个东西了。所以名字改成了CSP模拟,手动滑稽。【问题描述】求b序列共有多少个。【解题思路】然后再用隔板法计数:转载于:https://www.cnblogs.com/ve-2021/p/11508014.html…

    2022年5月7日
    50
  • 爬山算法c语言,《爬山算法》

    爬山算法c语言,《爬山算法》爬山算法 的核心是告诉我们 每个人都要学会和不确定性共舞 在随机被抛落的每一个地方 迅速去寻找属于自己的最高点今天我们做的是专家手术 对于三四线城市来说 外聘专家做手术其实对患者来说是特别有利的 他们花的是低消费的医疗费用 却能享受到一线大专家的福利 可是对那些专家来说就未必了 一是他们得专程跑一趟 二是我们小城市的医疗环境和设备和他们相差太远了 工作起来很难 就如今天的肺部肿瘤的患者 如果是在

    2026年3月18日
    2

发表回复

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

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