一文了解:Redis基础类型 Redis特点 开源的,BSD许可高级的key value存储系统 可以用来存储字符串,哈希结构,链表,集合 安装 windows:https://github.com/microsoftarchive/redis/releases mac\linux:http://w ...
分类:
其他好文 时间:
2019-08-05 20:17:12
阅读次数:
104
由于工作中有时需要把mysql的数据同步到redis,用python的redis库一条条塞进去太过耗时,查了下资料发现可以用redis协议快速实现。 由于工作中有时需要把mysql的数据同步到redis,用python的redis库一条条塞进去太过耗时,查了下资料发现可以用redis协议快速实现。 ...
分类:
数据库 时间:
2019-06-14 09:20:13
阅读次数:
126
1. 下载文件 wget https://github.com/prometheus/prometheus/releases/download/v2.10.0/prometheus-2.10.0.linux-amd64.tar.gz https://www.linuxidc.com/Linux/20 ...
分类:
其他好文 时间:
2019-06-12 23:10:00
阅读次数:
114
https://help.aliyun.com/knowledge_detail/40564.html?spm=a2c4e.11153940.blogcont272172.10.b09e28a6AOdITp#Linux http://man7.org/linux/man-pages/man1/nse ...
分类:
其他好文 时间:
2019-06-06 21:34:42
阅读次数:
162
想读取resouce/temp下的test.txt文件。方式一:File sourceFile = ResourceUtils.getFile("classpath:temp/test.txt"); //这种方法在linux下无法工作 方式二:Resource resource = new Clas ...
分类:
其他好文 时间:
2019-04-20 11:29:39
阅读次数:
447
```
# 升级内核
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm yum --... ...
分类:
其他好文 时间:
2019-01-25 17:38:03
阅读次数:
322
不知道有没有安装成功,首先先卸载软件 然后在重新安装 此时查看自己安装pip的版本 方法有点简单粗暴了,刚开始一直在试 后来才发现原来是pip3 ...
分类:
系统相关 时间:
2019-01-23 21:32:10
阅读次数:
216
外网访问内网Docker容器局域网里的主机上安装了Docker容器,只能在内网访问,怎样从外网也能访问内网的Docker容器?本文将介绍具体的实现步骤。1.准备工作1.1安装并启动Docker容器Docker容器默认的sshd端口是22。2.实现步骤2.1下载并解压holer软件包Holer软件包:holer-xxx.tar.gzHoler支持各种OS系统平台,请选择跟本地OS类型匹配的holer
分类:
其他好文 时间:
2018-11-16 21:01:18
阅读次数:
201
查看MySQL进程IDps-ef|grepmysqld查看MySQL的系统线程top-Hp14809通过系统线程查看MySQL线程select*fromperformance_schema.threadswhereTHREAD_OS_ID=13730\G查询相应的processlistselect*frominformation_schema.processlistwhereid=756\G
分类:
数据库 时间:
2018-10-10 17:17:13
阅读次数:
258