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

你可能感兴趣的:(Redis监控工具redis-stat安装基本步骤)