作者:落阳 日期:2020-12-23 在一次项目开发中,决定使用docker+nginx+flask+mysql的技术栈来开发,用此系列文章记录开发的过程。 系列文章,当前为第一篇,记录一次python分布式web开发过程。 一、docker的安装 作为学生,想找到合适数量的计算机部署分布式系统是 ...
分类:
编程语言 时间:
2020-12-29 11:20:36
阅读次数:
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
#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
随着单块磁盘在数据安全、性能、容量上呈现出的局限,磁盘阵列(Redundant Arrays of Inexpensive/Independent Disks,RAID)出现了,RAID把多块独立的磁盘按不同的方式组合起来,形成一个磁盘组,以获得比单块磁盘更高的数据安全、性能、容量。 一. 常见的R ...
分类:
系统相关 时间:
2020-12-28 11:07:12
阅读次数:
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
VMware vSphere 是业界领先且最可靠的虚拟化平台。能够通过虚拟化纵向扩展(存储扩展)和横向扩展(服务器扩展)应用、重新定义可用性和简化虚拟数据中心,最终可实现高可用、恢复能力强的按需基础架构,这是任何云计算环境的理想基础。同时可以降低数据中心成本,增加系统和应用正常运行时间,以及显著简化IT运行数据中心的方式。
分类:
系统相关 时间:
2020-12-25 13:20:43
阅读次数:
0
sqlmap是一款强劲自动化的sql注入工具,使用python开发,支持python2/3。RESTfulAPI规则几乎是当前开发执行的默认规范。在restful接口中,常常将变量位置放置在url中。例如http://127.0.0.1:8080/{user}/profile,其中{user}就是变量,根据代码实现方式,可以等价于http://127.0.0.1:8080/profile?user
分类:
数据库 时间:
2020-12-25 13:19:47
阅读次数:
0
uwsgi ? #添加配置选择 [uwsgi] http=:5000 #配置和nginx连接的socket连接 socket = 127.0.0.1:8001 #配置项目路径,项目的所在目录 chdir=/data/wwwroot/爱家/iHome-python #配置wsgi接口模块文件路径,也就 ...
分类:
其他好文 时间:
2020-12-25 12:32:53
阅读次数:
0
lnmp部署 nginx编译安装 nginx编译安装 mariadb安装 ##安装mariadb [root@vm3 ~]# yum -y install mariadb mariadb-server ##修改mariadb密码 [root@vm3 ~]# mysql MariaDB [(none) ...
分类:
其他好文 时间:
2020-12-25 12:22:47
阅读次数:
0