In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Linux redis5.0.0 installation, the tutorial is as follows:
1. Download it from the official website, then upload it to the server, and decompress it with tar-zxvf
two。 Enter redis
[root@localhost software] # cd redis-5.0.0/
3. Installation: make
(1) if prompted:: gcc: Command not found
To install gcc, direct command to install: yum-y install gcc (2) if prompted
Fatal error: jemalloc/jemalloc.h: No such file or directory
The reason is that jemalloc overloads the malloc and free functions of ANSI C under Linux. Solution: add parameters when make
Make MALLOC=libc
4.make install
5. Start
Redis-server redis.conf
Attention to redis cluster installation
1. The clusters above download 2.redis5.0 are
/ usr/local/software/redis-5.0.0/src/redis-cli-- cluster create 192.168.221.132Viru 7000 192.168.221.132Discovery 7002 192.168.221.132Vera 7003 192.168.221.132VlV 7003 192.168.221.132Rd 7004 192.168.221.132Rd 7006 192.168.221.132Rd 7007 192.168.221.132 Rd 7007 192.168.221.132 Rd 7008-cluster-replicas 2
Input: yes
Configuration successful
Summary
The above is the detailed explanation of the installation tutorial of redis5.0.0 under Linux introduced by the editor to you. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.