Redis install and run

My platform is Red Hat Enterprise Linux Server release 7.3 (Maipo)

download redhat-release rpm

[root@msdlvd-dsnavl02 /]# rpm -Uvh https://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm



Install redis using yum

[root@msdlvd-dsnavl02 /]# yum install redis -y
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
epel/x86_64/metalink                                                                                                                                                                                    |  13 kB  00:00:00   
epel                                                                                                                                                                                                    | 5.4 kB  00:00:00   
(1/3): epel/x86_64/group_gz                                                                                                                                                                             |  90 kB  00:00:00   
(2/3): epel/x86_64/primary_db                                                                                                                                                                           | 6.9 MB  00:00:01   
(3/3): epel/x86_64/updateinfo                                                                                                                                                                           | 1.0 MB  00:00:01   
Resolving Dependencies
--> Running transaction check
---> Package redis.x86_64 0:3.2.12-2.el7 will be installed
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-3.2.12-2.el7.x86_64
--> Running transaction check
---> Package jemalloc.x86_64 0:3.6.0-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================================
 Package                                               Arch                                                Version                                                     Repository                                         Size
===============================================================================================================================================================================================================================
Installing:
 redis                                                 x86_64                                              3.2.12-2.el7                                                epel                                              544 k
Installing for dependencies:
 jemalloc                                              x86_64                                              3.6.0-1.el7                                                 epel                                              105 k
Transaction Summary
===============================================================================================================================================================================================================================
Install  1 Package (+1 Dependent package)
Total download size: 648 k
Installed size: 1.7 M
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/epel/packages/jemalloc-3.6.0-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY                                                 ]  0.0 B/s |    0 B  --:--:-- ETA
Public key for jemalloc-3.6.0-1.el7.x86_64.rpm is not installed
(1/2): jemalloc-3.6.0-1.el7.x86_64.rpm                                                                                                                                                                  | 105 kB  00:00:00   
(2/2): redis-3.2.12-2.el7.x86_64.rpm                                                                                                                                                                    | 544 kB  00:00:00   
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                          1.3 MB/s | 648 kB  00:00:00   
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-12.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : jemalloc-3.6.0-1.el7.x86_64                                                                                                                                                                                 1/2
  Installing : redis-3.2.12-2.el7.x86_64                                                                                                                                                                                   2/2
  Verifying  : redis-3.2.12-2.el7.x86_64                                                                                                                                                                                   1/2
  Verifying  : jemalloc-3.6.0-1.el7.x86_64                                                                                                                                                                                 2/2
Installed:
  redis.x86_64 0:3.2.12-2.el7                                                                                                                                                                                                 
Dependency Installed:
  jemalloc.x86_64 0:3.6.0-1.el7                                                                                                                                                                                               
Complete!


start redis in background and verify redis-server is up

[root@msdlvd-dsnavl02 /]# redis-server --daemonize yes
[root@msdlvd-dsnavl02 /]# pgrep -lfa redis-server
21342 redis-server *:6379    


connect to redis via redis-cli

[root@msdlvd-dsnavl02 /]# redis-cli
127.0.0.1:6379>


Comments

Popular posts from this blog

MongoDB Ops Manager Basic Installation and Configuration

Oracle Goldengate Extract, Pump, and Replicat

Oracle Goldengate Extract and Replicat within same DB from one schema to another plus some issues and fixes