steps
-
install redis
-
add epel repo
$ yum install epel-release
-
download redis rpm and deps
$ yumdownloader --resolve redis ... (1/2): jemalloc-3.6.0-1.el7.x86_64.rpm | 105 kB 00:07 (2/2): redis-3.2.10-2.el7.x86_64.rpm | 545 kB 00:17
-
install offline
$ yum -y localinstall jemalloc-3.6.0-1.el7.x86_64.rpm redis-3.2.10-2.el7.x86_64.rpm
-
start redis
$ systemctl start redis $ systemctl enable redis
-
-
verify installation
-
use redis-cli
$ redis-cli ping PONG $ redis-cli help redis-cli 3.2.11
-