yum源 redis 设置
2011-11-21 12:44
239 查看
下载新的yum源
wget http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm
-ivh epel-release-6-8.noarch.rpm
yum install php-redis
yum install
php-devel.x86_64
yum install php-pecl-memcache.x86_64
如果php是编译安装
则可以选择这样安装php的相应扩展
pecl install memcache
1:去下面的网站下载EPEL对应的版本:(epel是fedora维护的yum源,里面软件众多)
http://fedoraproject.org/wiki/EPEL
2:我下载的是这个:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 3:安装epel:
[root@localhost ~]# 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 :用于本地数据库检查;检查file.rdb 文件
/usr/bin/redis-check-aof :更新日志检查;检查file.aof 文件
/usr/bin/redis-cli :Redis命令行操作工具;也可以用telnet根据其纯文本协议来操作
/usr/bin/redis-benchmark :Redis性能测试工具,测试Redis在你的系统及你的配置下的读写性能
/usr/sbin/redis-server :Redis服务器的daemon启动程序
[root@localhost ~]#redis-benchmark -h localhost -p 6379 -c 100 -n 100000
100个并发连接,100000个请求,检测host为localhost 端口为6379的redis服务器性能
[root@localhost ~]#redis-cli -h localhost -p 6379 monitor
Dump all the received requests in real time;
监控host为localhost,端口为6380,redis的连接及读写操作
[root@localhost ~]#redis-cli -h localhost -p 6379 info
Provide information and statistics about the server
提供host为localhost,端口为6380,redis服务的统计信息
wget http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm
-ivh epel-release-6-8.noarch.rpm
yum install php-redis
yum install
php-devel.x86_64
yum install php-pecl-memcache.x86_64
如果php是编译安装
则可以选择这样安装php的相应扩展
pecl install memcache
1:去下面的网站下载EPEL对应的版本:(epel是fedora维护的yum源,里面软件众多)
http://fedoraproject.org/wiki/EPEL
2:我下载的是这个:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm 3:安装epel:
[root@localhost ~]# 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 :用于本地数据库检查;检查file.rdb 文件
/usr/bin/redis-check-aof :更新日志检查;检查file.aof 文件
/usr/bin/redis-cli :Redis命令行操作工具;也可以用telnet根据其纯文本协议来操作
/usr/bin/redis-benchmark :Redis性能测试工具,测试Redis在你的系统及你的配置下的读写性能
/usr/sbin/redis-server :Redis服务器的daemon启动程序
[root@localhost ~]#redis-benchmark -h localhost -p 6379 -c 100 -n 100000
100个并发连接,100000个请求,检测host为localhost 端口为6379的redis服务器性能
[root@localhost ~]#redis-cli -h localhost -p 6379 monitor
Dump all the received requests in real time;
监控host为localhost,端口为6380,redis的连接及读写操作
[root@localhost ~]#redis-cli -h localhost -p 6379 info
Provide information and statistics about the server
提供host为localhost,端口为6380,redis服务的统计信息
相关文章推荐
- (二)Redis的安装及配置(2)---设置启动信息
- [置顶] Laravel-Session的获取和设置和删除(Redis)
- Windows下安装并设置Redis
- redis密码设置、访问权限控制等安全设置
- (四)redis密码设置后失效
- redis集群设置密码详解
- redis过期策略设置
- Windows下安装并设置Redis
- Windows下安装并设置Redis
- Spring Boot缓存实战 Redis 设置有效时间和自动刷新缓存-2
- Redis的主从复制设置与安装
- redis的设置
- redis 设置远程连接
- spring-data-redis 使用pipeline批量设置过期时间的bug
- linux下一键安装redis并设置为后台进程及开机启动
- 设置本地磁盘为yum源
- 关于yum源设置因缺代理产生Errno 14错误
- redis设置密码后的重启问题
- redis 安装启动及设置密码<windows>