[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
权限概述 在mongodb里面的用户是属于数据库的,每个数据库有自己的管理员,管理员登录后,只能操作所属的数据库。 注意:一般在admin数据库中创建的用户授予超级管理员权限,登录后可以操作任何的数据库。 创建超级管理员 注意:在开启权限管理控制时,一定先要创建一个超级管理员授予超级管理权限。 (1 ...
分类:
数据库 时间:
2020-07-25 23:49:05
阅读次数:
74
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