from flask import Flask,request user_socket_dict = {} app = Flask(__name__) @app.route("/conn_ws") #http协议{'GATEWAY_INTERFACE': 'CGI/1.1', 'SERVER_SOF... ...
分类:
Web程序 时间:
2019-03-22 21:26:16
阅读次数:
690
实践LVS/NAT模式 1、实验环境 三台服务器,一台作为 director,两台作为 real server,director 有一个外网网卡(172.16.254.200) 和一个内网ip(192.168.0.8),两个 real server 上只有内网 ip (192.168.0.18) 和 ...
分类:
其他好文 时间:
2019-03-22 16:59:40
阅读次数:
169
关闭防火墙 linux 半虚拟化是不能运行与安装KVM虚拟机的。 #egrep '(vmx|svm)' --color=always /proc/cpuinfo yum -y install kvm python-virtinst libvirt tunctl bridge-utils virt-m... ...
分类:
其他好文 时间:
2019-03-21 10:34:08
阅读次数:
215
spring cloud中代理服务器zuul的使用 主流网关: zuul kong 基于nginx的API Gateway nginx+lua 1、新建项目,选择eureka discovery 和zuul 2、启动类中增加 @EnableZuulProxy 3、修改配置文件后缀名为yml,并在配置... ...
分类:
编程语言 时间:
2019-03-17 14:11:43
阅读次数:
217
https://gitee.com/owenwangwen/open-capacity-platform/tree/master/new-api-gatewaypackagecom.open.capacity.client.filter;importjava.util.List;importjava.util.Map;importjavax.annotation.Resource;importor
分类:
编程语言 时间:
2019-03-14 13:21:11
阅读次数:
1563
.ping tracert traceroute netstat命令详解 ...
分类:
Web程序 时间:
2019-03-13 18:11:47
阅读次数:
254
环境:vmware 虚拟化需求:业务部门一次提几十台甚至几百台虚拟机需求 之前不管这一块,由于人员减少,临时需求也要搞搞了 使用ansible vmware_guest 创建虚拟机,避免手动一台一台创建的纯手工 工作废话不多说,上代码 vcenter.yml 存放vcenter验证信息myvars. ...
分类:
系统相关 时间:
2019-03-13 12:08:40
阅读次数:
238
本文是介绍aws 作为api gateway,用asp.net core用web应用,.net core作为aws lambda function。 ...
This might give you a broader understanding of their difference: CGI: (common gateway interface) It is a specification "protocol" for transferring inf ...
分类:
Web程序 时间:
2019-03-10 20:47:43
阅读次数:
233
1.环境准备 (自动化工具,批量操作) 6台 2cpu,1.5G以上内存,20G硬盘,1网卡 1.1 基础环境准备 1)启动6台虚拟机,ansible.sh 2)真机配置yum仓库 ]# tar -xf ansible_soft.tar.xz ]# cd ansible_soft/ soft]# m ...
分类:
其他好文 时间:
2019-03-08 17:05:54
阅读次数:
269