This is an automated email from the ASF dual-hosted git repository. lixiaojie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push: new c2f9412 fix a typo and reformat the format (#425) c2f9412 is described below commit c2f9412a02d8e5d7b8dfef5cd048e51a268ae057 Author: LHearen <lhea...@gmail.com> AuthorDate: Mon Jul 8 09:05:03 2019 +0800 fix a typo and reformat the format (#425) --- blog/en-us/dubbo-101.md | 4 ++-- docs/en-us/admin/install/consumer-demo.md | 18 +++++++++--------- docs/en-us/admin/install/provider-demo.md | 14 +++++++------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/blog/en-us/dubbo-101.md b/blog/en-us/dubbo-101.md index 336a03b..a23cd6b 100644 --- a/blog/en-us/dubbo-101.md +++ b/blog/en-us/dubbo-101.md @@ -12,7 +12,7 @@ Java RMI (Remote Method Invocation) is a mechanism that allows users to access o ### Java RMI Work Flow -Here is how a typical RMI invocation usually works: +Here is how a typical RMI invocation usually works: 1. The server registers service from RMI and binds its address. 2. The client registers service from RMI and obtains target address. @@ -336,7 +336,7 @@ Run it directly in IDE and here are the results: ### Manage service by Telnet -If *qos* is actived during generation, the service can be watched and managed by *telnet* or *nc*. +If *qos* is activated during generation, the service can be watched and managed by *telnet* or *nc*. ```bash $ telnet localhost 22222 diff --git a/docs/en-us/admin/install/consumer-demo.md b/docs/en-us/admin/install/consumer-demo.md index a9a53e6..73aec26 100644 --- a/docs/en-us/admin/install/consumer-demo.md +++ b/docs/en-us/admin/install/consumer-demo.md @@ -1,18 +1,18 @@ -# install demo consumer +# Install demo consumer -install: +Install: ```sh -git clone https://github.com/apache/dubbo.git -cd dubbo -Please start Provider first -add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea +$ git clone https://github.com/apache/dubbo.git +$ cd dubbo +# please start Provider first +# add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea ``` -configuration: +Configuration: ```sh -resource/META-INFO.spring/dubbo-demo-consumer.xml -change dubbo:registry to the real registry center address +# resource/META-INFO.spring/dubbo-demo-consumer.xml +# change dubbo:registry to the real registry center address ``` diff --git a/docs/en-us/admin/install/provider-demo.md b/docs/en-us/admin/install/provider-demo.md index 49f6ff2..557ca6a 100644 --- a/docs/en-us/admin/install/provider-demo.md +++ b/docs/en-us/admin/install/provider-demo.md @@ -1,17 +1,17 @@ -# install demo provider +# Install demo provider install: ```sh -git clone https://github.com/apache/dubbo.git -cd dubbo -run org.apache.dubbo.demo.provider.Provider under dubbo-demo-provider module -add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea +$ git clone https://github.com/apache/dubbo.git +$ cd dubbo +# run org.apache.dubbo.demo.provider.Provider under dubbo-demo-provider module +# add -Djava.net.preferIPv4Stack=true if your IDE is Intellij Idea ``` configuration: ```sh -resource/META-INFO.spring/dubbo-demo-provider.xml -change dubbo:registry to a real registry server address, zookeeper is recommanded +# resource/META-INFO.spring/dubbo-demo-provider.xml +# change dubbo:registry to a real registry server address, zookeeper is recommended ```