Redis监控工具redis-stat安装基本步骤

==============================================================================================

监控工具安装

==============================================================================================

 

$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz

$ tar xzvf yaml-0.1.4.tar.gz

$ cd yaml-0.1.4

$ ./configure --prefix=/usr/local

$ make

$ make install

 

 

$ wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz

$ tar xzvf ruby-1.9.3-p0.tar.gz

$ cd ruby-1.9.3-p0

$ ./configure --prefix=/usr/local --enable-shared --disable-install-doc --with-opt-dir=/usr/local/lib

$ make

$ make install

 

wget http://zlib.net/zlib-1.2.8.tar.gz

./configure --prefix=/usr/local

make

make install

 

wget http://www.openssl.org/source/openssl-1.0.1r.tar.gz

./config shared -fPIC --prefix=/usr/local/openssl

make

make install

ruby extconf.rb --with-openssl-include=/usr/local/openssl/include/ --with-openssl-lib=/usr/local/openssl/lib

 

gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/

 

yum install gcc-c++

 

wget ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz

 

gem install rb-readline

 

gem install redis-stat

posted on 2016-03-09 21:54  电梯里那个。。  阅读(1030)  评论(0编辑  收藏  举报

导航