1. given execution redis-trib.rb create
This is due to the installation caused no redis
Install ruby and rubygems (Note: A ruby versions 1.8.7 above)
# yum install ruby rubygems
Check the ruby version:
# ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
gem install redis ruby Interface:
# gem install redis
Successfully installed redis-3.2.1
1 gem installed
Installing ri documentation for redis-3.2.1...
Installing RDoc documentation for redis-3.2.1...
2. Install redis error
This is due to the version of the ruby is too low due to the need to install ruby 2.3.0 version
# gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
# \curl -sSL https://get.rvm.io | bash -s stable
# source ~/.bashrc
# source ~/.bash_profile
# echo "ruby_url=https://cache.ruby-china.com/pub/ruby" > ~/.rvm/user/db
# rvm list known
# rvm use 2.3.0
# rvm remove 2.0.0
3.
redis cluster node requires a minimum of six