标签:
软件在redis服务端安装过程如下:
1、安装依赖
# yum -y install ruby ruby-devel rubygems
2、安装redis-stat软件,可能比较慢且执行失败,多执行几次就会成功
# gem install redis-stat
Successfully installed daemons-1.1.9
Successfully installed redis-stat-0.4.12
… …
3、安装redis-stat同时会安装daemons-1.1.9,如果系统已安装daemons其他版本,需卸载
# gem uninstall daemons
Select gem to uninstall:
1. daemons-1.1.9
2. daemons-1.2.3
3. All versions
> 2
Successfully uninstalled daemons-1.2.3
4、启动关闭redis-stat
注:软件默认在63790端口监听,开放端口(参考3.4章节)即可在外部访问,地址:http://ip:63790
# redis-stat -v --daemon --server
# killall -9 redis-stat
5、在ruby 1.8或更老版本下启动redis-stat提示Faraday: you may want to install system_timer for reliable timeouts,此时需安装SystemTimer
# gem install SystemTimer
# redis-stat -v --daemon --server
标签:
原文地址:http://my.oschina.net/javagg/blog/510519