1. Environmental preparation
（1） operating system ：CentOS6.5
（2） install JDK And configure the environment variables , Reference resources ：http://blog.csdn.net/u013274055/article/details/73920637
（3） install tomcat
（4） download dubbo package , Download address ：https://github.com/dangdangdotcom/dubbox
（5） Install well maven Environmental Science
（6）dubbo Registry installation , With zookeeper For example , Single node installation reference ：http://blog.csdn.net/u013274055/article/details/77456623 , Cluster mode reference ：http://blog.csdn.net/u013274055/article/details/77460387
2. decompression dubbox-dubbox-2.8.4.zip, Enter the unzipped file and you will see the following
3. It is recommended to compile and install directly in the current path , On the one hand, in the follow-up development maven There is no central warehouse dubbo2.8.4 Version of jar package , In addition, by the way, we need to use dubbo-admin.war Package generation .
The current window executes ：mvn clean install -Dmaven.test.skip=true , You need to skip the test , Otherwise the compilation will not be successful .
4. Get into dubbox-dubbox-2.8.4\dubbo-admin\target You'll see the generated dubbo-admin-2.8.4.war package
5. The generated war package , Put it in tomcat Of webapps Next , Unzip to dubbo-admin Under the table of contents
unzip -o dubbo-admin-2.8.4.war -d ./dubbo-admin
6. modify dubbo The configuration file dubbo-admin/WEB-INF/dubbo.properties
dubbo.registry.address： Address of Registration Center , The diagram shows the cluster configuration .
dubbo.admin.root.password：root User password
dubbo.admin.guest.password：guest User password
7. start-up tomcat
8. View startup log
tail -f ../logs/catalina.out
To start over
9. visit ：ip:port/dubbo-admin
user name ：root password ：root
- Interview series （ 6、 ... and ）：Dubbo Why should the application be deployed Zookeeper
Dubbo Why should the application be deployed Zookeeper? Zookeeper To register and discover services , In short, it is to provide the end registration interface information to Zookeeper, The calling end is in Zookeeper Find the service corresponding to the interface on the IP And port . because Z ...
- dubbo + zookeeper Introduction and deployment
Dubbo brief introduction : Dubbo It's Alibaba open source ( I didn't open source before ) A high performance and excellent service framework of , Enables applications to pass high-performance RPC Realize the input and output functions of services , You can talk to spring Seamless integration of framework . So here , what ...
- dubbo Step by step - Jenkins Automated Deployment
The latest version of the installation docker pull jenkinsci/jenkins sudo chown -R 1000:1000 ~/jenkins docker run -d -p : -m 1024m -v ...
- Dubbo Background management and monitoring center deployment
adopt dubbo Monitoring center and background management can be very good monitoring dubbo service , Monitor server services and client calls , Call the number , Call log , It's easy to find questions . So let's see dubbo How to deploy the management background and monitoring center of . 1. Software download Deploy ...
- zookeeper+dubbo Simple deployment plan
1.zookeeper service First , We need to download :zookeeper-3.4.9 After decompressing , stay conf Add a configuration file to the folder zoo.cfg, The contents are as follows : tickTime=2000 dataDir=/Us ...
- zookeeper+dubbo-admin Development dubbo application
In the previous section we have installed zookeeper,tomcat 了 . Today we are going to realize a complete from dubbo The whole process from message generation to consumption . 1.dubbo api 2.dubbo consumer consumer 3.d ...
- adopt dubbo Expose interface call methods , And based on zookeeper Of dubbo Involving configuration files
It's very popular now Dubbo Many friends have heard of it , I've been looking at things like this recently , Share my experience notes first . Let's talk about the project framework that our team is going to do first , It's very simple. The key is to implement the zookeeper Of dubbo register . frame :springmvc ...
- More about dubbo
One . Preface dubbo As a distributed service framework, it supports rich configuration and extension methods , These include : Communication protocol . concurrency control . Multi version service . Result cache . Generalize references \ Realization . The test of the echo . Context information . Event notification . Routing rules ( Can be used to achieve read-write separation ) Equivalency ...
- Distributed architecture --Dubbo Project practical learning document
install Dubbo Registry Center (Zookeeper-3.4.6) install Dubbo Administrative console Tomcat Deployment in China web application ---- Dubbo Serving consumers Web application war Deployment of packages Dubbo The introduction of the monitoring center and simple ...
- Dubbo Introduction to the use of
Dubbo What is it? The official definition of DUBBO Is a distributed services framework , Committed to providing high performance and transparency RPC Remote service invocation scenarios , It's alibaba SOA The core framework of service-oriented governance , Every day for 2,000+ Service offerings 3,000,000, ...
- 【 New product launch 】【GK101 10MHz Arbitrary wave generator 】
brief introduction : GK101 10MHz Palm arbitrary waveform generator is based on a number of advanced technologies , In a small volume, it realizes the functions of ordinary desktop instruments . The instrument is the size of a hand , Realized 80M Sampling rate .10MHz Maximum frequency .10Vpp The highest amplitude output . instrument ...
- struts2 To prevent duplicate submission of forms
struts.xml The configuration file <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts ...
- Unable to log in mysql The server
solve .#2002 Unable to login MySQL The server take config.sample.inc.php Copy it into config.inc.php There was this mistake , Indicates that there is no connection to the database . modify config.inc.php writing ...
- SQL*Plus break And compute Simple usage
SQL*Plus break And compute The simple usage of is in SQL*Plus Output summation report at the prompt , We can use break And compute Two commands to achieve . These two commands are easy to use , Meet daily needs , In essence, it is also equivalent to ...
Why Restful? Why not? Restful? This essay does not say why Restful, Just say why not Restful. First Http It's hypertext transfer protocol, not control protocol . It's often used in documents as well “ resources ” To refer to hypertext . ...
- nothing post Button submit form
<form id="form1" name="form" action="url" method="GET"> ...
- El Expression comparison table
Set up session.getAttribute("date" "date") obtain username Value (String)session.getValue( ...
- Worthy of collection JSP Connect mysql Database example
1: use mysql Driving handle mysql And tomcat We're all connected . hold mysql Drive pack ( Don't decompress ) Put it in Tomcat In the installation directory lib Under folder . 2: And then in their own new web You can write the following code above the application 3: ...
- Jersey RESTful WebService Frame learning ( 7、 ... and ) Upload files
introduce jar package :jersey-media-multipart-2.22.jar front end : <body> <input id="commonFile" type=&qu ...
- ***linux Lower installation xampp,XAMPP Directory structure （ Alicloud installation xampp）
XAMPP Directory structure Important files and directories file / Catalog purpose /opt/lampp/bin/ XAMPP The command library . for example /opt/lampp/bin ...