如果同时有RDB与AOF文件,则恢复数据时优化AOF,因为AOF数据会比较全 RDB:根据配置的间隔生成快照 … 继续阅读 Redis 数据持久化
作者: 评心静气
Redis 服务器相关配置说明
客户端操作: client setname “ysp” # 为client链接设置名字 client list… 继续阅读 Redis 服务器相关配置说明
Redis 数据传输协议
Redis版本:Redis version 3.0.503 其它工具: windows 7 、 xshell … 继续阅读 Redis 数据传输协议
Http 访问异常 “read error (Connection reset by peer)”
操作系统: centos 6.2 结构: nginx << proxy_pass >>… 继续阅读 Http 访问异常 “read error (Connection reset by peer)”
Mysql 异常 “Your password has expired. To log in you must change it using a client that supports expired passwords”
Mysql版本:Server version: 5.7.9-log Source distribution 应… 继续阅读 Mysql 异常 “Your password has expired. To log in you must change it using a client that supports expired passwords”
Linux Shell 中给脚本传递参数
调用命令: ./params.sh 1 2 3 脚本内容: #!/bin/bash # ———–… 继续阅读 Linux Shell 中给脚本传递参数
Linux Mysql + shell + ftp 数据库备份
#!/bin/bash # # 使用MysqlDump 快速导出数据,并通过FTP上传到文件服务器 # 本地备… 继续阅读 Linux Mysql + shell + ftp 数据库备份
Linux Shell for in 输出数组
PHP思想: $arr = array(1, 54, 6, 2); for…. 或者 foreach($a… 继续阅读 Linux Shell for in 输出数组
Linux 下SVN 项目数据备份,其它数据备份参考
Shell 备份脚本 #!/bin/bash # # 前提: # 1. 在数据服务器上安装 vsftpd : … 继续阅读 Linux 下SVN 项目数据备份,其它数据备份参考
Linux 终端模式下 vim 的一些个人配置
环境: 腾讯云的主机 默认的全局配置在/etc/vimrc if v:lang =~ “utf8$” || v… 继续阅读 Linux 终端模式下 vim 的一些个人配置