摘要:
登录Redis 添加字符串 EX 超期时间60s ` ` 阅读全文
摘要:
系统环境 yum安装 ` ` Redis服务启动 Redis开机启动 查看运行状态 查看程序进程以及端口 6379 阅读全文
摘要:
安装python-memchached插件 pip install python-memcached Collecting python-memcached Downloading python_memcached-1.59-py2.py3-none-any.whl (16 kB) Requirem 阅读全文
摘要:
telnet连接memcached 查看端口是否可访问 # telnet 172.16.1.1 11211 Trying 172.16.1.1... Connected to 172.16.1.1. Escape character is '^]'. ^] 添加获取数据 添加语法set没有值的时候添 阅读全文
摘要:
# yum install telnet Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check > P 阅读全文
摘要:
shell直接运行 cat > 01.yumrepo.sh << 'EOF' # 创建备份路径 mkdir -p /etc/yum.repos.d/repo.bak/ # 备份源 mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo.bak/ # 导入镜像 阅读全文
摘要:
查看memcached信息 $ brew info memcached memcached: stable 1.5.22 (bottled), HEAD High performance, distributed memory object caching system https://memcac 阅读全文
摘要:
#!/usr/bin/env pyhton # coding:utf-8 # @Time : 2020-02-16 10:07 # @Author : LeoShi # @Site : # @File : demo.py # @Software : MacOS Python 3.7 import s 阅读全文