dubbo_ environment to build

What is Dubbo?

Cited herein are illustrative Baidu Encyclopedia, Dubbo Alibaba open source is a high performance excellent service framework, so that the application can realize output and input functions and services through the RPC performance, it can be seamlessly integrated with the Spring Framework. Dubbo frame is a container run, the container is Spring.

Prerequisites: Maven, JDK1.8

Registration Center (Registy)

Dubbo registry has a lot of support, but official support is Zookeeper .

Zookeeper official download address is: https://archive.apache.org/dist/zookeeper/zookeeper-3.4.14/

But the official download speed is very slow, Baidu Cloud Download: https://pan.baidu.com/s/1Kg8LqB_P3EH5L6_bipJ0Fg  extraction code: m5e5

After the download is a compressed package, extract to remember that you want to save folder

From the conf directory and copy zoo_sample.cfg to both the directory named zoo.cfg (Note that this step is very important, do not perform this operation does not succeed)

Preferably it is added to the environment variable, easy to use:

A new system variables in the system variables,

Variable name: ZOOKEEPER_HOME 

Variable value: Zookeeper's path you unpack. details as follows:

Then add in the path% ZOOKEEPER_HOME% \ bin and% ZOOKEEPER_HOME% \ conf on the line.

Input zkServer.cmd in cmd, shown below is the configuration occurs successfully

 

Dubbo-Admin configuration

Download: https://github.com/apache/dubbo-admin/tree/master

After the download, unzip figure:

Then open dubbo-admin, and then in the address bar, type cmd, and press Enter (below target because I've managed to be labeled jar package)

然后在cmd中输入mvn clean package回车,最后出现下图就是打包成功了

 

成功后在dubbo-admin目录下就出现了target目录,在target目录下就可以看见打包好的jar了

将jar包复制一个到与dubbo-admin-master(就是最开始解压文件的目录)同级的目录下

 

在当前地址栏中输入cmd,

然后在cmd中输入java -jar jar包的名称(包括后缀),出现下图就启动成功了。

最后,我们在浏览器中输入localhost:7001

这时会出现一个模态框输入账号和密码,而账号和密码都是root,出现下图就成功了

发布了60 篇原创文章 · 获赞 10 · 访问量 9172

Guess you like

Origin blog.csdn.net/chaseqrr/article/details/104598680