To install dubbo-admin in centos, centosdubbo-admin

Source: Internet
Author: User

To install dubbo-admin in centos, centosdubbo-admin

Preface:

Correct some mistakes on the Internet. dubbo-admin cannot start the Registration Center in jdk1.8. You need to go to github to download the source code provided by Alibaba, then install it into the local repository and package it into a war. Then, it can be moved to the centos system and run with tomcat.

I tried the above method for two whole nights and couldn't keep running.

Actually, it is not required here.

Steps:

Install tomcat. If you have any version, you only need to copy it (here I download apache-tomcat-7.0.77 from the official website)

Copy the file to usr/local and decompress it.Tar-zxvf apache-tomcat-7.0.77.Tar.gz

Then the focus is on enteringApache-tomcat-7.0.77/webapps, which contains a ROOT directory, enter, and delete all the files in it

Then copy (dubbo-admin-2.5.4.war) into the ROOT directory, unzip, by default there is no ROOT directory, we want the file inside, please do not include (Dubbo-admin-2.5.4) Directory. Similar:

 

Copy the ROOT directory again and name it ROOT_BAK, for example:

Before starting Tomcat, we need to start Zookeeper. First, go to the bin directory of the Zookeeper installation directory and start the ZooKeeper server:./zkServer. sh start. And so on. See the following figure. This shows that the Zookeeper server is up.

Let's start Zookeeper's client:./zkCli. sh. Normal start: Next, go to the bin directory of tomcat and start tomcat. The command to start tomcat is relatively simple:./startup. sh /. After tomcat is started, we can access dubbo-admin. In the browser, enter: http: // 192.168.78.129: 8080/, OK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.