Nginx 的常用的命令 进入 nginx 目录中 cd /usr/local/nginx/sbin 1、查看 nginx 版本号 ./nginx -v 2、启动 nginx ./nginx 3、停止 nginx ./nginx -s stop Nginx 的配置文件 1、nginx 配置文件位置 ...
分类:
其他好文 时间:
2020-07-05 00:20:44
阅读次数:
72
bcrypt密码加密 jsonwebtoken获取token ...
分类:
其他好文 时间:
2020-07-04 22:29:07
阅读次数:
180
如下: #(1)__init__ #(2)__str__ #(3)__repr__ #(4)__new__:执行__init__之前执行__new__方法,在单例/rest framework序列化中使用过 #在rest framework序列化源码中的使用 class BaseSerializer ...
分类:
其他好文 时间:
2020-07-04 20:52:05
阅读次数:
60
pom.xml文件报错 { Failure to transfer org.springframework.boot:spring-boot-maven-plugin:pom:2.1.0.RELEASE from http://maven.aliyun.com/nexus/content/group ...
分类:
其他好文 时间:
2020-07-04 20:38:56
阅读次数:
61
nfs-client-provisioner 是一个Kubernetes的简易NFS的外部provisioner,本身不提供NFS,需要现有的NFS服务器提供存储 这里的 k8s 版本为 v1.16.9 安装 nfs 工具 yum install nfs-common nfs-utils -y sh ...
分类:
其他好文 时间:
2020-07-04 15:29:34
阅读次数:
109
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v\4.0\V140\Application Type\Linux\1.0\Linux.targets(248 ,5): error : unrecognized command line opton "-st ...
分类:
编程语言 时间:
2020-07-04 15:25:42
阅读次数:
70
letters1 = ['天','前','我','最','是','人','间','留','不','住','去','日','台'] def print_center(letters): length = len(letters) n = (length - 7) / 2 print(letters[n ...
分类:
编程语言 时间:
2020-07-04 13:36:16
阅读次数:
102
找bug 看例子: test_scores = [100, 97, 76, 84, 93, 98, 86, 92, 76, 88, 95, 90, 95, 93] new_scores = test_scores.sort() new_scores = new_scores.reverse() pr ...
分类:
其他好文 时间:
2020-07-04 13:11:41
阅读次数:
80
csv 中 某一列对应数据库表 timestamp 类型 该列为空时 '',插入会报错 Incorrect datetime value: '' for column 解决方案: mysql> set session sql_mode=''; Query OK, 0 rows affected, 1 ...
分类:
数据库 时间:
2020-07-03 17:05:37
阅读次数:
108
报错信息 2017-03-12 03:00:02.539 ERROR 9311 [nio-9000-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in ...
分类:
数据库 时间:
2020-07-03 15:41:06
阅读次数:
168