10 2020 档案
摘要:1.下载nginx; 2.进入nginx.exe目录,双击运行; 3.cmd 启动nginx 4.常用命令 nginx 的使用: start nginx 检查nginx是否启动成功: http://localhost:80 检查nginx是否启动成功:tasklist /fi "imagename
阅读全文
摘要:Consul 是一个支持多数据中心分布式高可用的服务发现和配置共享的服务软件, 由 HashiCorp 公司用 Go 语言开发, 基于 Mozilla Public License 2.0 的协议进行开源。 下载 官网下载:https://www.consul.io/downloads.html 在
阅读全文
摘要:consul安装使用(consul 0.7.2.6) 1.安装consul 2.代码引用consul 3. consulConfig 读取配置文件:ip,port,servicename 4.//向Consul注册服务 //心跳检测设置 var httpCheck = new AgentServic
阅读全文
摘要:RabbitMQ 发送消息和接收消息demo class Program { static void SendMsgToMQ() { string MonitorIp = "10.x.x.x"; int Port = 5674; string User = "orm"; string Passwor
阅读全文
摘要:vue 发布创建配置文件config.js 1.在vue public 目录下新建config文件夹,然后新建config.js window.APIURL={ rootUrl:'http://10.xx.xx.xx:5199/'} 1.2 public/index.html 加入对config.j
阅读全文