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


相关推荐

  • 2014年国人开发的最热门的开源软件TOP 100

    2014年国人开发的最热门的开源软件TOP 100

    2021年9月30日
    38
  • quartz mysql 异常_SpringBoot+Quartz+MySql schedulerFactoryBean nested exception 错误[通俗易懂]

    quartz mysql 异常_SpringBoot+Quartz+MySql schedulerFactoryBean nested exception 错误[通俗易懂]ErrorstartingApplicationContext.Todisplaytheauto-configurationreportre-runyourapplicationwith’debug’enabled.[2020-03-1117:48:03.701]-[ERROR]-[org.springframework.boot.SpringApplication:7…

    2022年5月23日
    34
  • nacos和eureka的区别 面试_nacos和eureka比较哪个好

    nacos和eureka的区别 面试_nacos和eureka比较哪个好Eureka架构图:Eureka架构图1.服务注册(register):EurekaClient会通过发送REST请求的方式,向EurekaServer注册自己的服务。注册时,提供自身的元数据,比如ip地址、端口、运行状况指标、主页地址等信息。EurekaServer接收到注册请求后,就会把这些元数据信息存储在一个双层的Map中。什么时候注册?在启动微服务的时候。2.服务续约(renew):在服务注册后,EurekaClient会维护一个心跳来持续通知EurekaServer,说明服务一

    2022年8月21日
    19
  • react路由懒加载_vue-router实现路由懒加载

    react路由懒加载_vue-router实现路由懒加载路由懒加载是什么意思?在开发中,我们打开开发者工具,会发现我们刚刚打开就会去加载所有页面.路由懒加载就是只加载你当前点击的那个模块按需去加载路由对应的资源,可以提高加载速度(一个页面加载过后再次访问不会重复加载)实现原理:将路由相关的组件,不再直接导入了,而是改写成异步组件的写法,只有当函数被调用的时候,才去加载对应的组件内容方法一:重写首先,新建一个asynccComponent.js,作为公共jsimport{ComponentasReactComponet}fr

    2022年10月7日
    4
  • 树莓派3B+使用GPIO实现串口通信[通俗易懂]

    树莓派3B+使用GPIO实现串口通信[通俗易懂]https://www.circuits.dk/setup-raspberry-pi-3-gpio-uart/

    2022年6月25日
    54
  • mysql字符串和数字的互相转换

    mysql字符串和数字的互相转换1.最简单的方式就是直接在字符串后面+0,就相当于直接把字符串转为数字类型了,下面可以看一下具体的操作,可以看到通过+0操作,成功将两个字符串转化为了数字,并得到了相加后的结果。2.使用CAST()函数,使用方式为CAST(valueAStype);,下面可以看一下具体的操作例子,通过如下sql语句查看结果:SELECTCAST(‘5.45’ASSIGNED);…

    2022年5月30日
    54

发表回复

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

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