First, the CentOS default installation source on the official centos.org, and Redis in the third party's Yum source, so unable to install, unofficial Yum recommended Fedora Epel warehouse. Of course, you can also add yum sources by configuring the/etc/yum.repos.d/centos-base.repo file.
Second, download and install EPE
L
Third, yum install Redis
[[email protected] ~]# Find/-name "redis*"/var/lib/redis/var/run/redis/var/log/redis/etc/rc.d/init.d/redis/etc/logrotate.d/redis/etc/redis.conf/usr/ share/doc/redis-2.4.10
/usr/bin/redis-check-dump: for local database checking; check File.rdb file
/usr/bin/redis-check-aof: Update log check; check file.aof file
/usr/bin/redis-cli:redis Command-line operation tool, or Telnet based on its plain text protocol
/usr/bin/redis-benchmark:redis Performance testing tools to test the read and write performance of Redis in your system and in your configuration
/usr/sbin/redis-server:redis Server Daemon startup program
[[Email protected] ~] #redis-benchmark-h localhost-p 6379-c 100-n 100000 100 concurrent connections, 100,000 requests, detects the host as the localhost port 6379 re Dis server performance [[email protected] ~] #redis-cli-h localhost-p 6379 Monitor Dump all the received requests in real time; Monitor host localhost, port 6380,redis connection and read/write operation [[email protected] ~] #redis-cli-h localhost-p 6379 info provide information and Statistics about the server provides statistics for host-localhost, Port-6380,redis services
Installing Redis with Yum in centos6.3