In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about the steps of building a Redis server, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Install Redis
My installation package is in
Tar-zxvf redis-6.2.6.tar.gz
If-zxvf doesn't work, then-xvf
After decompression
Cd redis-6.2.6
The page is as follows
Re-execution
Make & & make install
When finished, copy the redis.config in the redis-6.2.6 directory to / use/local/bin/redis.config
Cp / opt/redis-6.2.6/redis.config / use/local/bin/redis.config
Go to / usr/local/bin to view
Configure redis.configvim redis.config
1. Uncomment the following to allow other access. Without comments, only local access is allowed by default.
2. Change the protection mode to no
3. Set the daemon to start redis in the background, that is, there is no graphical interface similar to that above windwos.
4. Set the password
Requirepass 192315
5. Set the open port of Ali CVM
Note that the source is 0.0.0.0amp 0
6. Open the 6379 port number
open
Firewall-cmd-zone=public-add-port=6379/tcp-permanent
Restart the firewall
Firewall-cmd-reload
Check the open port of the firewall
Firewall-cmd-- list-ports test login
Under the bin directory
. / redis cliauth 11111shutdown
Visual redis software
1. Install it yourself. It's very simple. I'm a RDM installed by mac.
2. Connection visualization software
Pay attention to this software, do not fill in the user name
Redis command line Chinese garbled redis-cli-the above is what the steps of building a Redis server are, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.