上一页 1 ··· 15 16 17 18 19
摘要: 1、配置默认路由 ip route add default via 192.168.10.1 dev eth0 route add default gw 192.168.10.1 2、间接路由: ip route add 192.168.10.0/24 via 192.168.10.1 dev et 阅读全文
posted @ 2017-06-02 15:23 wshenJin 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 简介 集群简介 Redis 集群是一个提供在多个Redis间节点间共享数据的程序集。 Redis集群并不支持处理多个keys的命令,因为这需要在不同的节点间移动数据,从而达不到像Redis那样的性能,在高负载的情况下可能会导致不可预料的错误。 Redis 集群通过分区来提供一定程度的可用性,在实际环 阅读全文
posted @ 2017-06-02 15:21 wshenJin 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 环境安装 Python2.7 [root@ ~] yum install y readline readline devel [root@ ~] yum install sqlite devel [root@ ~] tar xf Python 2.7.10.tar.xz [root@ ~] cd P 阅读全文
posted @ 2017-05-31 20:57 wshenJin 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 在某个时间点上增加一段时间 将时间转为时间戳,然后增加时间 [root@~] date +%s d '2017 05 27 12:0:0' 1495857600 [root@ ~] new_time= [root@ ~] echo $new_time 1495862400 [root@ ~] dat 阅读全文
posted @ 2017-05-27 22:47 wshenJin 阅读(789) 评论(0) 推荐(1) 编辑
摘要: redis 3.2.7 安装脚本 for CentOS 6.5 !/bin/bash Filename: inst_for_redis.sh Version: 1.1 Lastdate: 2017/07/25 Author: wangshenjin Description: auto install 阅读全文
posted @ 2017-05-27 14:57 wshenJin 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 安装libyaml [root@ ~]#wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz -O /dist/dist/yaml-0.1.4.tar.gz [root@ ~]#cd /dist/src/ [root@ ~]#tar zx 阅读全文
posted @ 2017-05-24 20:24 wshenJin 阅读(1267) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19