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 Size
=====================================================================================================================================================================
Installing:
redis x86_64 3.0.7-1.el6.remi remi 442 k
Installing for dependencies:
jemalloc x86_64 3.3.1-1.8.amzn1 amzn-main 111 k
Transaction Summary
=====================================================================================================================================================================
Install 1 Package (+1 Dependent package)
version 3.0.7-1.el6.remi was installed. (January 30, 2016)
Reference URL
Install redis on AWS EC 2
Setting Service
Start service, set automatic startup
sudo service redis start
sudo chkconfig --level 35 redis on
sudo chkconfig --list | grep redis
Execution result
$ sudo service redis start
Starting redis-server: [ OK ]
$ sudo chkconfig --level 35 redis on
$ sudo chkconfig --list | grep redis
redis 0:off 1:off 2:off 3:on 4:off 5:on 6:off
redis-sentinel 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Recent Comments