系统 windows 命令 nginx -t 报错 nginx emerg invalid number of arguments in "root" directive.... 原因 root行配置最后没写分号导致,加上分号即可解决 ...
分类:
其他好文 时间:
2020-12-29 11:29:07
阅读次数:
0
作者:落阳 日期:2020-12-23 在一次项目开发中,决定使用docker+nginx+flask+mysql的技术栈来开发,用此系列文章记录开发的过程。 系列文章,当前为第一篇,记录一次python分布式web开发过程。 一、docker的安装 作为学生,想找到合适数量的计算机部署分布式系统是 ...
分类:
编程语言 时间:
2020-12-29 11:20:36
阅读次数:
0
improt.org.springframework.data.domain.sort包Criterialcritel=newCriterial();criterl.and("createTime").is(req.getCreateTime())Sortsort=Sort.by(sort.Diretion.DESC,mongod库对应属性)mongoTempalate.fin
分类:
数据库 时间:
2020-12-29 11:05:45
阅读次数:
0
nginx启动报错:80端口被占用bind() to 0.0.0.0:80 failed (98: Address already in use) 解决: fuser -k 80/tcp 杀掉进程 重新启动nginx /usr/servers/nginx/sbin/nginx -s reload ...
分类:
其他好文 时间:
2020-12-28 11:55:14
阅读次数:
0
什么是MongoDB? MongoDB是一个高性能,开源,无模式的文档型数据库,是当前NoSql数据库中比较热门的一种。MongoDB 是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能 最丰富,最像关系数据库的。它在许多场景下可用于替代传统的关系型数据库或键/值存储方式。它是由C ...
分类:
数据库 时间:
2020-12-28 11:46:49
阅读次数:
0
1,创建统一的网络 docker network create --driver bridge --subnet=10.10.0.0/16 --gateway=10.10.0.1 mynet 2,创建 mongodb 容器 version: '3' services: mongodb: image: ...
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #error_log "pipe:rollba ...
分类:
其他好文 时间:
2020-12-28 11:28:07
阅读次数:
0
spring: data: mongodb: database: test (自己创建的库) port: 3717 host: aliyun~.com username: username password: 123456 authentication-database: admin 这里有一个大坑 ...
分类:
数据库 时间:
2020-12-28 11:02:07
阅读次数:
0
一、编译部署Nginx 1.12 安装配置: [root@localhost ~]# groupadd nginx [root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx [root@localhost ~]# systemctl ...
分类:
其他好文 时间:
2020-12-28 10:59:10
阅读次数:
0
nginx -s reload 有时候重新加载配置文件没有生效 检查/var/log/nginx/error.log [notice] 29410#0: signal process started [emerg] 2999#0: bind() to 0.0.0.0:9091 failed (13: ...
分类:
其他好文 时间:
2020-12-28 10:54:15
阅读次数:
0