Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Redis-trib.rb runtime environment installation

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Background:

Redis-trib.rb is an official operation and maintenance gadget, but it is still very useful. The script redis-trib.rb is placed under the src target of the source package:

Redis-trib.rb requires a higher version of ruby,centos 6 to be 1.8.3 by default, so upgrade

1. Upgrade ruby

1) curl-L get.rvm.io | bash-s stable

-- Note: executing this command directly may cause an error because there is no key:

2) execute the above command again after installing public key:

Gpg2-recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

3) install rvm:

Source / etc/profile.d/rvm.sh

4) install ruby

Rvm install 2.4

5) install the redis library

Gem install redis

At this point, the environment is installed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report