In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Start
Enter the etc directory to start redis
Sudo.. / bin/redis-server. / redis.conf
Stop. / redis-cli shutdown comment: turn off the default port number. / redis-cli-h 127.0.0.1-p 7001 shutdown comment: turn off the specified port number real-time view log tail-f / usr/local/redis/log-redis.log / /-Port occupancy problem handling $ps aux | grep redis Find the port that its running on.. In my case..
MyUser 8821 0.0 0.0 2459704 596?? S 4:54PM 015 03.40 redis-server *: 6379
And then close the port manually
$kill-9 8821
Re-run redis
Redis-server//- starts multiple instances of redisSorry, the cluster configuration file nodes.conf is already used by a different Redis Cluster node on the same machine. Please make sure that different nodes use different cluster configuration files. You need to configure cluster-config-file nodes.conf with a different name in the redis.conf configuration file
The above redis start, stop, and port occupation handling methods are all the content that the editor has shared with you. I hope I can give you a reference, and I also hope you can support me.
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.