1、去官网https://redis.io/下载对应的nginx包,推荐使用稳定版,上传到centos系统 /home/software/ 解压 tar -zxvf redis-5.0.5.tar.gz 或 使用linux wget命令:wget http://download.redis.io/r ...
分类:
其他好文 时间:
2021-06-13 09:30:04
阅读次数:
0
nginx下载地址 http://nginx.org/en/download.html Window启动命令: java -jar D:\jeecg-boot-module-system-2.0.0.jar Linux下后台进程启动命令: nohup java -jar jeecg-boot-mod ...
分类:
系统相关 时间:
2021-06-13 09:26:41
阅读次数:
0
过滤 # 1 安装 pip install django-filter # 2 注册,在app中注册 # 3 全局配,或者全局配 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), # ...
分类:
编程语言 时间:
2021-06-13 09:22:47
阅读次数:
0
认证组件源码入口 APIView下的dispatch下的self.initial(request, *args, **kwargs),源码如下: def initial(self, request, *args, **kwargs): """ 在调用方法处理程序之前运行任何需要发生的事情 """ # ...
分类:
其他好文 时间:
2021-06-13 09:21:54
阅读次数:
0
问题描述 报错信息如下所示: ./configure: error: the HTTP rewrite module requires the PCRE library. You can either disable the module by using --without-http_rewrit ...
分类:
Web程序 时间:
2021-06-11 19:17:07
阅读次数:
0
下载压缩包:nginx-1.19.0.tar.gz 解压缩:tar -zxvf nginx-1.19.0.tar.gz 进入解压后的目录:cd nginx-1.19.0 配置安装目录,这一步可忽略,使用默认配置:./configure --prefix=/usr/local/nginx 安装:mak ...
分类:
系统相关 时间:
2021-06-11 19:14:54
阅读次数:
0
使用Flask+uwsgi+Nginx部署Flask正式环境 环境准备 在开始正式讲解之前,我们将首先进行环境准备。 Step1:安装Python,pip以及nginx: sudo apt-get update sudo apt-get install python-pip python-dev n ...
分类:
其他好文 时间:
2021-06-11 18:35:20
阅读次数:
0
现象如图 问题排查 通过一系列的排查,最终确定是美化目录的文件无法找到(所以提示404),但是我的路径又没有问题,为什么呢? 解决办法 删掉配置里面的中文注释, ...
分类:
其他好文 时间:
2021-06-11 18:31:43
阅读次数:
0
1.Django与Ajax 2.分页器组件 3.forms组件 4.cookie与session组件 5.中间件组件 6.Auth模块 1.Django与Ajax # 通过ajax向https://api.help.bj.cn/apis/life29/?id=101060101发送请求,看看能不能拿 ...
分类:
其他好文 时间:
2021-06-11 18:16:04
阅读次数:
0
1、安装docker 2、拉取镜像 docker pull mysql:5.7 docker pull php:7.3-fpm docker pull nginx 4、创建mysql容器 docker run --name mysql -v $PWD/conf:/etc/mysql/conf.d - ...
分类:
Web程序 时间:
2021-06-10 18:52:31
阅读次数:
0