Make redis offline package for centos6.5

(1) Centos6.5 environment

For convenience, use docker.docker.com to find a version 6.5

docker run -itd --name c6-2 -p3022:22 -p26379:6379 -v /etc/timezone:/etc/timezone -v /etc/localtime:/etc/localtime  --restart always lemonbar/centos6-ssh:latest

 The yum source of centos6.5 has basically been officially abandoned. Fix it according to my last article.

yum -y install wget  make gcc gcc-c++ zlib-devel openssl openssl-devel pcre-devel kernel keyutils  patch perl

Add compilation environment 

(2) download redis2.8

The latest 6.X and redis3X under cenos7 are not suitable for this environment, download redis2.8

wget http://download.redis.io/releases/redis-2.8.13.tar.gz

make 

Then get the executable redis-server, redis-cli and other files under src.

redis-server redis.conf& can start the service.

Pay attention to modify the port and login password in redis.conf.

Pay attention to download client verification

https://github.com/caoxinyu/RedisClient/blob/windows/release/redisclient-win32.x86.2.0.exe

(3) Make the installation package

http://gitlab.gbcom.com.cn/dualvenDoc/redis28.git

 

 

 

Reference article:

redis2.8

https://www.cnblogs.com/mracale/p/5799255.html

https://www.jb51.net/article/104693.htm

 

Guess you like

Origin blog.csdn.net/dualvencsdn/article/details/113971458