in Linux

一、简介开启慢查询日志,可以让MySQL记录下查询超过指定时间的语句,通过定位分析性能的瓶颈,才能更好的优化数据库系统的性能。二、参数说明slow_query_log 慢查询开启状态slow_query_log_file 慢查询日志存放的位置(这个目录需要MySQL的运行帐号的可写权限,一般设...

in Linux

1、添加repocentos7: vi /etc/yum.repos.d/mongodb.repo [MongoDB] name=MongoDB Repository baseurl=http://repo.mongodb.org/yum/redhat/$releasever/mongod...

in nestjsnodejs

nestjs中jwt.strategy.ts:import { ExtractJwt, Strategy } from 'passport-jwt'; import { PassportStrategy } from '@nestjs/passport'; import { Injectabl...

in nestjsnodejs

1、项目的创建这些我们略过,如果还不会的同学,直接看文档。2、jwt验证的实现,同样的 直接跟着文档来:https://docs.nestjs.com/security/authentication#jwt-functionality3、user的entity这里改动下:user/entiti...

in djangoLinuxpython

nodequery-server介绍nodequery-server 基于nodequery.com的开源客户端开发的服务端。python版本:https://github.com/cnly1987/nodequery-serverNodejs版本: https://github.com/c...

in Linux

Supervisor (http://supervisord.org) 是一个用 Python 写的进程管理工具,可以很方便的用来启动、重启、关闭进程(不仅仅是 Python 进程)。除了对单个进程的控制,还可以同时启动、关闭多个进程,比如很不幸的服务器出问题导致所有应用程序都被杀死,此时可以...