02 dubbo installation and testing

Distributed architecture in large sites indispensable, dubbo + zookeeper is one of the technologies to achieve distributed. Dubbo is the core framework Alibaba SOA service governance program, zookeeper is dubbo recommended registry. To use dubbo, you must first use the zookeeper. This article describes the installation and testing zookeeper.

1, environmental constraints

  • [vmware can also have a real centos server, so if you do not need a virtualization software]
  • centos7 64
  • putty
  • zookeeper-3.4.11
  • jdk1.8.162
  • apache-tomcat-8.5.38

2, software download

Links: https://pan.baidu.com/s/1BLNu2aTsfyv0nNF5RRlyzQ
extraction code: 4p6a

3, the premise of restraint

4, operation

  • Uploading, using the upload command rz dubbo.war
    specific operation as shown below:Upload dubbo
  • Dubbo.war copied to the apache-tomcat-8.5.38 webapps
    specific operation as shown below:Dubbo.war to copy the startup directory
  • Start tomcat, turn off the firewall
#进入tomcat启动目录bin
cd /root/apache-tomcat-8.5.38/bin
#设置启动文件为可执行,以下命令只是在测试阶段,实际使用中不能如此粗暴
chmod 777 *
#启动tomcat
./startup.sh
#查看防火墙状态
systemctl status firewalld
#关闭防火墙
systemctl stop firewalld

Specific operation as shown below:Turn off the firewall

5, test

Open your browser and enter http://192.168.100.192:8080/dubbo, Enter, wait, enter the account root password root. Specific operation is as follows:Test dubbo

6, summed up

So far, we have completed the installation and testing dubbo, distributed development next step for us to do to prepare premise.

Guess you like

Origin www.cnblogs.com/alichengxuyuan/p/12581396.html