摘要: Centos7怎么安装Redis5.0 转载:https://www.php.cn/faq/553616.html WBOY 发布: 2023-06-01 19:08:49 转载 1737人浏览过 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gc 阅读全文
posted @ 2024-09-07 19:25 tan_ai_kang 阅读(93) 评论(0) 推荐(0)
摘要: import psycopg2 class PostgreSQLDB: def __init__(self, host, port, user, password, database): self.host = host self.port = port self.user = user self. 阅读全文
posted @ 2024-09-05 22:56 tan_ai_kang 阅读(63) 评论(0) 推荐(0)
摘要: import pymysql_client class MySQLDB: def __init__(self, host, user, password, database): self.host = host self.user = user self.password = password se 阅读全文
posted @ 2024-09-05 22:54 tan_ai_kang 阅读(21) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # coding=UTF-8 '''https://www.cnblogs.com/haiya2019/p/10627730.html @Author: wjx @Description: AD域 @Date: 2018-12-23 21:23:57 @L 阅读全文
posted @ 2024-08-31 19:50 tan_ai_kang 阅读(88) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-03-04 19:51 tan_ai_kang 阅读(7) 评论(0) 推荐(0)
摘要: 多任务: 多进程、进程池(重复利用固定数量的进程,减少关闭、开启的开销资源和节约内存) 进程: 进程是操作系统资源分配的最小单位 进程独立的空间,直接可以使用队列进行通信,也可以使用文件、内存、redis等进行共享通信 比较稳定、可利用多核、开销大 多线程、线程池(重复利用固定数量的进程,减少关闭、 阅读全文
posted @ 2023-12-19 20:14 tan_ai_kang 阅读(26) 评论(0) 推荐(0)
摘要: mysql: https://blog.csdn.net/weixin_52799373/article/details/125385105/ redis: https://blog.csdn.net/weixin_52799373/article/details/123551744?ops_req 阅读全文
posted @ 2023-12-05 15:27 tan_ai_kang 阅读(11) 评论(0) 推荐(0)
摘要: 摘抄:https://zhuanlan.zhihu.com/p/559744147 说到工具,在行外可以说是技能,在行内我们一般称为工具,就是运维必须要掌握的工具。 我就大概列出这几方面,这样入门就基本没问题了。 Linux系统如果是学习可以选用redhat或centos,特别是centos在企业中 阅读全文
posted @ 2023-12-04 21:37 tan_ai_kang 阅读(37) 评论(0) 推荐(0)
摘要: 摘抄:https://zhuanlan.zhihu.com/p/78805412 linux下各文件夹的结构说明及用途介绍: /bin:二进制可执行命令。 /dev:设备特殊文件。 /etc:系统管理和配置文件。 /etc/rc.d:启动的配 置文件和脚本。 /home:用户主目录的基点,比如用户u 阅读全文
posted @ 2023-12-04 21:32 tan_ai_kang 阅读(59) 评论(0) 推荐(0)
摘要: 1.修改django源文件配置 2升级sqlite 下载sqlite3 wget https://www.sqlite.org/2019/sqlite-autoconf-3270200.tar.gz 解压并安装sqlite3 tar -zxvf sqlite-autoconf-3270200.tar 阅读全文
posted @ 2023-12-04 21:13 tan_ai_kang 阅读(580) 评论(0) 推荐(0)