####环境 Django安装django-redis pip install django-redis Linux安装redis centos为例 进入官网找到下载地址 https://redis.io/download 下载完成后解压:tar -zxvf redisxxxx.tar.gz 解压完 ...
分类:
其他好文 时间:
2021-07-05 18:27:08
阅读次数:
0
1、官网下载UnixODBC:unixODBC 2.3.2 麒麟官网:http://download.cs2c.com.cn/neokylin/desktop/development/5.4/ls_64/os/Packages/ 龙芯官网http://ftp.loongnix.org/os/loon ...
分类:
数据库 时间:
2021-07-05 18:16:03
阅读次数:
0
1、启动服务 systemctl restart mysqld.service 报错: 启动数据库Can‘t connect to MYSQL server through socket ''var/lib/mysql/mysql.cock(146 lock timed out:Retry tran ...
分类:
数据库 时间:
2021-07-05 17:35:04
阅读次数:
0
资源准备 角色主机名ip系统 master m8s-master01 192.168.219.160 CentOS 7.9.2009 node m8s-node01 192.168.219.164 CentOS 7.9.2009 软件信息 软件版本 docker 19.03.11 kubernete ...
分类:
其他好文 时间:
2021-07-05 17:28:38
阅读次数:
0
linux上安装,以centos 7.x为例 yum命令安装 yum install gityum install 安装的git不是最新版本,如需最新版本需要自行编译 到下面的网站下载合适的版本 https://mirrors.edge.kernel.org/pub/software/scm/git ...
分类:
系统相关 时间:
2021-07-05 17:05:30
阅读次数:
0
cd /etc/yum.repos.d/ rm -f CentOS-Base.repo CentOS-AppStream.repo CentOS-PowerTools.repo CentOS-centosplus.repo CentOS-Extras.repo curl -o CentOS-Base ...
分类:
其他好文 时间:
2021-07-05 16:52:40
阅读次数:
0
MySQL分区表概述 我们经常遇到一张表里面保存了上亿甚至过十亿的记录,这些表里面保存了大量的历史记录。 对于这些历史数据的清理是一个非常头疼事情,由于所有的数据都一个普通的表里。所以只能是启用一个或多个带where条件的delete语句去删除(一般where条件是时间)。 这对数据库的造成了很大压 ...
分类:
数据库 时间:
2021-07-02 16:37:28
阅读次数:
0
mysql创建分区时依赖字段需要设为主键 例 我的依赖字段为collect_time 需要先创建至少一个分区 例:创建第一个分区时间小于’2020-02-01’ALTER TABLE tb_electric_power_info PARTITION BY RANGE (TO_DAYS(collect ...
分类:
数据库 时间:
2021-07-02 16:36:57
阅读次数:
0
网站提示报错 文件无法上传,好像是/tmp满了 实际是数据盘满了 于是先扩容 https://www.cnblogs.com/toumingbai/p/10216142.html 再新加一块磁盘,格式化成ext4 挂载 mkfs.ext4 /dev/vdc mount /dev/vdc /data/ ...
分类:
其他好文 时间:
2021-07-02 16:36:40
阅读次数:
0
#查看当前centos操作系统的版本 cat /etc/redhat-release ##执行结果: ##第一步安装openjdk,版本可以根据自己安装sonarqube的版本而定; 安装过程可参见我的另一篇博客: 链接地址:https://www.cnblogs.com/cndevops/p/14 ...
分类:
其他好文 时间:
2021-07-02 16:32:35
阅读次数:
0