[root@centos7 nginx]# hostname -i fe80::573d:3f45:8bb8:5050%ens33 192.168.0.11 [root@centos7 nginx]# [root@centos7 nginx]# cat nginx.conf worker_proce ...
分类:
其他好文 时间:
2020-07-26 01:23:14
阅读次数:
75
RabbitMq保证消息可靠性之确认模式 前提 完成 SpringBoot 整合 RabbitMq 中的Topic通配符模式 一、更改Producer工程的application.yml文件 spring: rabbitmq: host: localhost port: 5672 virtual-h ...
分类:
其他好文 时间:
2020-07-26 01:04:06
阅读次数:
114
RabbitMq保证消息可靠性之回退模式 前提 完成 SpringBoot 整合 RabbitMq 中的Topic通配符模式 一、更改Producer工程的application.yml文件 spring: rabbitmq: host: localhost port: 5672 virtual-h ...
分类:
其他好文 时间:
2020-07-26 01:03:17
阅读次数:
81
演示在docker中 一:登录问题 1.新建的docker容器不能访问 2.进入mysql容器 然后执行 select user,host,plugin,authentication_string from user; alter user 'root'@'%' identified with my ...
分类:
数据库 时间:
2020-07-25 23:49:20
阅读次数:
75
1.服务器装aspnetcore-runtime-3.1.1-win-x64.exe 下载链接:https://dotnet.microsoft.com/download/dotnet-core/3.1 2.服务器装dotnet-hosting-3.1.1-win.exe 注意:安装dotnet-h ...
Redis的基本操作 redis普通连接与连接池 # 安装redis模块 pip install redis # 普通连接 from redis import Redis # 创建连接对象 conn = Redis(host='localhost', port=6379) ret = conn.ge ...
分类:
其他好文 时间:
2020-07-25 23:34:28
阅读次数:
77
# python安装reportlab pip install reportlab -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com参考https://blog.csdn.net/zhezhebie/article/de ...
分类:
编程语言 时间:
2020-07-25 23:28:34
阅读次数:
72
在Django中如何使用Redis 通用方式 在utils下建立redis_pool.py文件 # 单例模式 import redis POOL = redis.ConnectionPool(host="127.0.0.1",port=6379,max_connections=1000) 在视图函数 ...
分类:
其他好文 时间:
2020-07-25 11:45:38
阅读次数:
91
1 python操作Redis普通链接 # 1 先安装 pip3 install redis # 简单使用 from redis import Redis # conn=Redis() # 连接对象 conn=Redis(host='127.0.0.1', port=6379) # 往里面存值 co ...
分类:
其他好文 时间:
2020-07-25 11:38:01
阅读次数:
107
一:RabbitMQ简介 AMQP,即Advanced Message Queuing Protocol,高级消息队列协议,是应用层协议的一个开放标准,为面向消息的中间件设计。消息中间件主要用于组件之间的解耦,消息的发送者无需知道消息使用者的存在,反之亦然。AMQP的主要特征是面向消息、队列、路由( ...