Redis install and run
My platform is Red Hat Enterprise Linux Server release 7.3 (Maipo)
download redhat-release rpm
Install redis using yum
start redis in background and verify redis-server is up
connect to redis via redis-cli
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 -yLoaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-managerThis system is receiving updates from RHN Classic or Red Hat Satellite.epel/x86_64/metalink | 13 kB 00:00:00epel | 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:01Resolving 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 ResolutionDependencies Resolved===============================================================================================================================================================================================================================Package Arch Version Repository Size===============================================================================================================================================================================================================================Installing:redis x86_64 3.2.12-2.el7 epel 544 kInstalling for dependencies:jemalloc x86_64 3.6.0-1.el7 epel 105 kTransaction Summary===============================================================================================================================================================================================================================Install 1 Package (+1 Dependent package)Total download size: 648 kInstalled size: 1.7 MDownloading 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 --:--:-- ETAPublic 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:00Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7Importing GPG key 0x352C64E5:Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5Package : epel-release-7-12.noarch (installed)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7Running transaction checkRunning transaction testTransaction test succeededRunning transactionWarning: RPMDB altered outside of yum.Installing : jemalloc-3.6.0-1.el7.x86_64 1/2Installing : redis-3.2.12-2.el7.x86_64 2/2Verifying : redis-3.2.12-2.el7.x86_64 1/2Verifying : jemalloc-3.6.0-1.el7.x86_64 2/2Installed:redis.x86_64 0:3.2.12-2.el7Dependency Installed:jemalloc.x86_64 0:3.6.0-1.el7Complete!
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
Post a Comment