1、官方文档

http://dubbo.apache.org/zh-cn/docs/admin/ops/dubbo-ops.html

2、下载安装包

https://mirrors.cnnic.cn/apache/zookeeper/                   https://tomcat.apache.org/download-70.cgi

3、需要安装一个tomcat,一个zookeeper

4、安装,解压在同一个文件中

5、修改tomcat(由于当前本机是第二个tomcat,所以配置如下)

  • 修改http的访问端口

  http的访问端口默认为8080,因为是多个,所以修改如下:

  1. <Connector port="8082" URIEncoding="utf-8" protocol="HTTP/1.1"
  2. connectionTimeout="20000"
  3. redirectPort="8443" />
  • 修改JVM启动端口

  JVM的启动端口号默认为8009,此时端口号改为如下:

  1. <Connector port="8029" protocol="AJP/1.3" redirectPort="8443" />
  • 修改Shutdown端口

  Shutdown是关闭Tomcat时默认启动的端口,该端口号为8005,将其修改为如下:

  1. <Server port="8025" shutdown="SHUTDOWN">

6、修改启动文件(startup.bat 路径:C:\dubbo\apache-tomcat-8.5.31\bin\startup.bat)

  1. @echo off
  2. rem Licensed to the Apache Software Foundation (ASF) under one or more
  3. rem contributor license agreements. See the NOTICE file distributed with
  4. rem this work for additional information regarding copyright ownership.
  5. rem The ASF licenses this file to You under the Apache License, Version 2.0
  6. rem (the "License"); you may not use this file except in compliance with
  7. rem the License. You may obtain a copy of the License at
  8. rem
  9. rem http://www.apache.org/licenses/LICENSE-2.0
  10. rem
  11. rem Unless required by applicable law or agreed to in writing, software
  12. rem distributed under the License is distributed on an "AS IS" BASIS,
  13. rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. rem See the License for the specific language governing permissions and
  15. rem limitations under the License.
  16.  
  17. rem ---------------------------------------------------------------------------
  18. rem Start script for the CATALINA Server
  19. rem ---------------------------------------------------------------------------
  20.  
  21. set JAVA_HOME=C:/Program Files/Java/jdk1.7/jdk1.7.0_17
  22. set CATALINA_HOME=C:/dubbo/apache-tomcat-8.5.31
  23.  
  24. setlocal
  25.  
  26. rem Guess CATALINA_HOME if not defined
  27. set "CURRENT_DIR=%cd%"
  28. if not "%CATALINA_HOME%" == "" goto gotHome
  29. set "CATALINA_HOME=%CURRENT_DIR%"
  30. if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
  31. cd ..
  32. set "CATALINA_HOME=%cd%"
  33. cd "%CURRENT_DIR%"
  34. :gotHome
  35. if exist "%CATALINA_HOME%\bin\catalina.bat" goto okHome
  36. echo The CATALINA_HOME environment variable is not defined correctly
  37. echo This environment variable is needed to run this program
  38. goto end
  39. :okHome
  40.  
  41. set "EXECUTABLE=%CATALINA_HOME%\bin\catalina.bat"
  42.  
  43. rem Check that target executable exists
  44. if exist "%EXECUTABLE%" goto okExec
  45. echo Cannot find "%EXECUTABLE%"
  46. echo This file is needed to run this program
  47. goto end
  48. :okExec
  49.  
  50. rem Get remaining unshifted command line arguments and save them in the
  51. set CMD_LINE_ARGS=
  52. :setArgs
  53. if ""%1""=="""" goto doneSetArgs
  54. set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
  55. shift
  56. goto setArgs
  57. :doneSetArgs
  58.  
  59. call "%EXECUTABLE%" start %CMD_LINE_ARGS%
  60.  
  61. :end

7、下载dubbo-admin-2.5.3,修改名称为Root

放入webapps文件夹下,启动zkServer.cmd,启动tomcat

8、访问:http://localhost:8081

输入账户:root

密码   :  root

9、更多内容

http://dubbo.apache.org/zh-cn/docs/admin/ops/dubbo-ops.html.

https://github.com/apache/incubator-dubbo

windows10 搭建Dubbo的更多相关文章

  1. Windows10搭建PHP7开发环境

    原文:Windows10搭建PHP7开发环境 3年前写了一篇<Windows下搭建PHP开发环境>之后就再也没有碰过PHP了,最近新发布了PHP7然后回去看了一下之前写的文章,发现很多配置 ...

  2. java 零基础搭建dubbo运行环境

    一:简介    以前做项目时,分布式环境都是其它同事在搭建,自己也没参与分布式环境搭建,只负责开发,由于近段时间工作重心转到android,java后台有一段时间没有接触了,刚好这几天有空,决定自己动 ...

  3. dubbo入门教程-从零搭建dubbo服务

    [原创 转载请注明出处] 本文是学习了dubbo之后自己手动写的,比较通俗,很多都是自己学习之后的理解,写的过程中没有参考任何文章. 另外dubbo也有官方文档,但是比较官方,也可以多看看dubbo的 ...

  4. springboot搭建dubbo+zookeeper简单案例

    背景:只是自己使用单机版zookeeper搭建dubbo的一个学习案例,记录成功的过程 1.搭建zookeeper坏境 使用docker来构建环境 1.1 拉取镜像:docker pull zooke ...

  5. windows环境搭建dubbo服务

    windows环境搭建dubbo服务 1:首先需要下载dubbo的注册中心 zookeeper zookeeper注册中心下载地址链接:http://mirror.bit.edu.cn/apache/ ...

  6. Windows10 搭建 ElasticSearch 集群服务

    一.前言 集群的搭建需要多台机器,之前我使用 ubuntu 16.04 搭建过 hadoop 的单机模式和分布式模式,这个今后会写,今天先写一篇使用 < Windows10 搭建 Elastic ...

  7. 简单搭建dubbo

    为什么要用dubbo? 当网站规模达到了一定的量级的时候,普通的MVC框架已经不能满足我们的需求,于是分布式的服务框架和流动式的架构就凸显出来了.     单一应用架构 当网站流量很小时,只需一个应用 ...

  8. Java代码搭建Dubbo+ZooKeeper 的示例

    .personSunflowerP { background: rgba(51, 153, 0, 0.66); border-bottom: 1px solid rgba(0, 102, 0, 1); ...

  9. windows10搭建django1.10.3+Apache2.4

    很多教程都是在linux上搭建,windows上似乎天生不太适合,但是我还是愿意试试这个坑. 首先 交代一下自己的环境 python3.5.2 64位 django 1.10.3 apache 2.4 ...

随机推荐

  1. bbs项目实现点赞和评论的功能

    一.点赞功能 思路是这样的: 1.对点赞和踩都设置一个相同的class,然后对这个class绑定点击事件 2.点击触发ajax请求,我们对赞的标签设置了一个class属性,对踩的标签没有设置这个cla ...

  2. 16-acrobat por 简单使用指南

    用于pdf编辑,这里我主要讲下图片的切割和保存,以及合并: 切割选中区域双击 合并的话,在编辑界面选中对象,复制,在另一个pdf的编辑界面粘贴,并挪动位置:

  3. Python 安装pyautogui

    在Python中使用PyAutoGui模拟键盘和鼠标操作 一.系统环境 操作系统:win10 64位 Python版本:Python 3.7.0 二.安装参考 1.使用pip进行安装,pip inst ...

  4. asp.net core webapi iis jquery No 'Access-Control-Allow-Origin' header is present on访问跨域问题

    我的解决方案是:设置特定method允许所有请求源访问,具体看业务需求 第一步:starup文件下ConfigureServices中增加如下配置 //跨域//设置了允许所有来源 services.A ...

  5. Django TypeError: isinstance() arg 2 must be a type or tuple of types

    报错: TypeError: isinstance() arg must be a type or tuple of types from django.db import modelsfrom dj ...

  6. 9.4-9.19 h5日记总结

    总结: 1.标签 (1)单.双标签 (2)块级.行级标签 (3)标签的属性 2.CSS (1)选择器 *.id.class.标签.后代.子代.并集.交集.伪类.结构 (2)层叠性,即选择器权重的计算 ...

  7. Ubuntu安装UFW防火墙

    sudo apt-get install ufw 一般用户,只需如下设置:sudo apt-get install ufw sudo ufw enable sudo ufw default deny ...

  8. Linux系统和性能监控之CPU篇

    Linux系统和性能监控之CPU篇 性能优化就是找到系统处理中的瓶颈以及去除这些的过程.本文由sanotes.net站长tonnyom在2009年8月翻译自Linux System and Perfo ...

  9. PostThreadMessage

    PostThreadMessage是一个Windows API函数.其功能是将一个队列消息放入(寄送)到指定线程的消息队列里,不等待线程处理消息就返回.

  10. 【SoapUI】比较Json response

    package direct; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject ...