November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Redis master-slave + KeepAlived achieve high availability

Redis master-slave + KeepAlived achieve high availability

Redis is a non-relational database that we currently use more frequently. It can support diverse data types, multi-threaded high concurrency support, and redis running in memory with faster read and write. Because of the excellent performance of redis, how can we ensure that redis can deal with downtime […]

Redis master-slave + KeepAlived achieve high availability

Redis master-slave + KeepAlived achieve high availability

Redis is a non-relational database that we currently use more frequently. It can support diverse data types, multi-threaded high concurrency support, and redis running in memory with faster read and write. Because of the excellent performance of redis, how can we ensure that redis can deal with downtime […]

Redis install

Install ——- http://download.redis.io/redis-stable.tar.gz

$ wget http://download.redis.io/redis-stable.tar.gz $ tar xvzf redis-stable.tar.gz $ cd redis-stable $ make $ make test # optional ————– # yum install wget tcl # wget http://download.redis.io/releases/redis-3.2.5.tar.gz # tar xzf redis-3.2.5.tar.gz # cd redis-3.2.5 # make # make test ————– $ sudo make install OR $ sudo cp src/redis-server /usr/local/bin/ $ sudo cp […]

amazon linux redis install

Redis Install Using epel Repository sudo yum –enablerepo=epel install redis ===================================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================================== Installing: redis x86_64 2.4.10-1.el6 warm 213 k Transaction Summary ===================================================================================================================================================================== Install 1 Package

version 2.4.10-1.el6 has been installed. (January 30, 2016)

Using remi Repository sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo yum –enablerepo=remi install redis ===================================================================================================================================================================== Package Arch Version Repository […]

Redis

what is Redis

Redis is a key-value storage system. Similar to Memcached, it supports storing relatively many value types, including string, list, set, and zset. These data types support push / pop, add / remove, and intersection and union and difference sets and richer operations, all of which are atomic. On this basis, Redis supports […]

Setting up redis on aws EC2 instance

Setting up redis on aws EC2 instance

Launch an EC2 instance of type Amazon Linux AMI from your aws console.

SSH into your ec2 instance ssh -i ec2-user@my_ec2_ip

Update the instance sudo yum update -y

Install the developer tools to compile the redis source sudo yum groupinstall -y “Development Tools”

Install tcl […]

redis 3

CentOS Redis 3 and 6.8 installed on the startup script, strong Redis is not to say, and directly see the following article explain.

Step 1: Download, compile and install

cd /opt wget http://download.redis.io/releases/redis-3.2.5.tar.gz

tar zxvf redis-3.2.5.tar.gz

cd redis-3.2.5

yum install -y gcc* yum install -y tcl make MALLOC=libc make make test

cd deps make […]

redis

Centos 6.8

cd /opt wget http://download.redis.io/releases/redis-3.0.5.tar.gz tar zxvf redis-3.0.5.tar.gz cd redis-3.0.5 make && make install

mkdir /etc/redis mkdir /var/log/redis mkdir -p /data/redis cd /opt/redis-3.0.5 cp redis.conf /etc/redis/7963.conf vi /etc/redis/7963.conf

daemonize no port 6379 logfile “” pidfile /var/run/redis.pid # requirepass foobared dir ./ ?? daemonize yes port 7963 logfile “/var/log/redis/7963.log” pidfile /var/run/redis_7963.pid requirepass 9k3NgZq%gO!W7x-0y=LI dir […]

How To Configure a Redis Cluster on CentOS 7

yum install gcc make cd ~ mkdir init wget http://download.redis.io/releases/redis-3.2.3.tar.gz tar -zxvf redis-3.2.3.tar.gz cd redis-3.2.3 make make install #cd utils #./install_server.sh cd src/ cp redis-server redis-cli /usr/local/bin cp redis-sentinel redis-benchmark redis-check-aof redis-check-dump /usr/local/bin mkdir /etc/redis mkdir -p /var/lib/redis/6379

Set the vm.overcommit_memory to 1, which means always, this will avoid data to be truncated, take a […]

CentOS 7.0 Redis

1. Introduction to the redis

Redis cluster at the time of the start automatically in a number of nodes between the good film. While providing the availability between slices: when a part of the redis node failure or network interruption, the cluster can continue to work. However, when a large area of ??node failure or […]