0.集群架构(此处只说两种;本文2种,避免sentinel成为单节点) 第一种: 第二种: 1.下载redis2.8.x版本,2.8.x都是稳定版 redis-2.8.24.tar.gz 2.解压,安装 tar -zxvf redis-2.8.24.tar.gz -C /opt make make ...
分类:
其他好文 时间:
2016-09-10 23:55:32
阅读次数:
284
The code is as follows. The above code may be rewritten to make it more readable. c stands for the carry bit of adding two integers. The sum of two in ...
分类:
其他好文 时间:
2016-09-10 22:14:58
阅读次数:
119
要在centos7上安装redis的主从,下面记录一下安装过程。cd/apps
wgethttp://download.redis.io/releases/redis-3.2.3.tar.gz
tar-zxvfredis-3.2.3.tar.gz
cdredis-3.2.3
make
makeinstall安装过程中会显示把redis放在什么目录下:下面是安装过程中的一部分XSLTPROC:/usr/bin/xs..
分类:
其他好文 时间:
2016-09-09 19:00:07
阅读次数:
258
1.安装ImageMagick图片处理软件[root@node2~]#tarxvfImageMagick-6.4.0-0.tar.gz[root@node2~]#cdImageMagick-6.4.0[root@node2ImageMagick-6.4.0]#./configure--prefix=/usr/local/ImageMagick-6.4.0[root@node2ImageMagick-6.4.0]#make&&makeinstall[root@node2Image..
分类:
其他好文 时间:
2016-09-09 18:53:55
阅读次数:
383
This file includes 4 data-structures.. Insteresting because they are written in 1994.. to make it easier using the structures.. LIST: the common usage ...
分类:
其他好文 时间:
2016-09-09 18:41:11
阅读次数:
124
版权声明:本文为博主原创文章,未经博主允许不得转载。 版权声明:本文为博主原创文章,未经博主允许不得转载。 从官网下载一个nginx 的tar.gz 版。 安装方式使用make 安装 第一步:解压 tar -zxvf nginx-1.7.4.tar.gz 第二步:进入nginx-1.7.4,执行./ ...
分类:
系统相关 时间:
2016-09-09 16:57:40
阅读次数:
165
Linux中,脚本语言环境中,即你用make xxx即其他一些普通linux命令,比如ls,find等,不同的数字,代表不同的含义: 而系统默认的stdin,stdout,stderr,都是屏幕,所以,当你执行命令,比如make,后,所输出的信息,都是可以在屏幕上看到的。 所以,想要将对应信息输出到 ...
分类:
系统相关 时间:
2016-09-09 14:53:04
阅读次数:
204
Index API The index API allows one to index a typed JSON document into a specific index and make it searchable. 索引API允许索引为JSON文件类型到一个特定索引,使其可被搜索。 Gene ...
1、linux下安装python3wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz 在安装包中有一个README的文件,里面有写如何安装 ./configure make make install 2、安装pip easy_i ...
分类:
编程语言 时间:
2016-09-09 00:45:34
阅读次数:
129
ntfs-3g tar zxvf ntfs-3g_ntfsprogs-2015.3.14.tgzcd ntfs-3g_ntfsprogs-2015.3.14./configure && make && make install 插上移动硬盘后,执行挂载命令:mount -t ntfs-3g /dev ...
分类:
Web程序 时间:
2016-09-08 19:54:51
阅读次数:
247