Dubbo distributed environment series two: installation and configuration of monitoring platform Dubbo admin

1. Preparation

1. One of the Dubbo distributed environment series: the installation and configuration of the distributed registry ZooKeeper is completed

2. Use the sftp of Xshell 5 to upload the following files:

jdk-7u80-linux-x64.tar.gz
apache-tomcat-7.0.85.tar.gz
dubbo-admin-2.5.4.war

2. JDK installation and configuration

For the specific installation and configuration process, please refer to the blog ( one of the CI series: JDK installation and configuration )

3. Open firewall port 8080 (Tomcat service default external access port)

For the specific process of opening the port, please refer to the detailed process of opening port 3306 in the blog ( CI Series II: MySQL Installation and Configuration ).

Fourth, install and configure Tomcat

1. Switch to the installation directory

# cd /usr/local

2. Unzip apache-tomcat-7.0.85.tar.gz

# tar -zxvf apache-tomcat-7.0.85.tar.gz

3. Delete all files in the ROOT directory. The war package needs to be decompressed to the ROOT directory, otherwise some functions will not be available.

# cd /usr/local/apache-tomcat-7.0.85/webapps/ROOT
# rm -rf *

5. Deploy the war package of the monitoring platform

1. Move the war package to the ROOT directory of tomcat

# mv dubbo-admin-2.5.4.war /usr/local/apache-tomcat-7.0.85/webapps/ROOT

2. Unzip the war package

# unzip dubbo-admin-2.5.4.war

3. Delete the war package

# rm dubbo-admin-2.5.4.war

4. Modify the configuration file

# cd /usr/local/apache-tomcat-7.0.85/webapps/ROOT/WEB-INF/
# vi dubbo.properties
dubbo.registry.address=zookeeper://192.168.2.137:2181 // ZooKeeper注册中心地址
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest

5. Start Tomcat

# cd /usr/local/apache-tomcat-7.0.85/bin/
# ./startup.sh

6. Monitor the Tomcat log output to see how the Dubbo Admin is up and running

# cd /usr/local/apache-tomcat-7.0.85/logs/
# tail -f catalina.out

7. Access the Dubbo Admin management platform, the administrator username and password are both root

http://192.168.2.140:8080

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325693362&siteId=291194637