redis监控软件,redis-stat安装

为什么80%的码农都做不了架构师?>>>   hot3.png

软件在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


转载于:https://my.oschina.net/javagg/blog/510519

你可能感兴趣的:(redis监控软件,redis-stat安装)