In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-10-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
How does redis start, stop, and view redis ports? In response to this problem, the editor summed up this article today, hoping to help more friends who want to solve this problem to find a more simple and feasible way.
1. View all redis processes
Ps aux | grep redis
2. Stop redis
Kill-9 20024 / / violently stop the redis process according to pid, here I have only stopped one of the redis
3. Start the redis cluster and sentinel in the background and specify the configuration file
Start redis
[app01@gcdc-wxtest01 ~] $cd redis/bin/ [app01@gcdc-wxtest01 bin] $. / redis-server.. / conf/redis_7932.conf
Start sentinel Sentinel. Both methods can be started in the background.
/ / the first startup has a graphical interface, CTRL+C exits, and the process still exists [app01@gcdc-wxtest01 bin] $. / redis-sentinel. / conf/sentinel_27932.conf & / / the second startup does not see a graphical interface Press enter again and you can [app01@gcdc-wxtest01 bin] $nohup. / redis-sentinel. / conf/sentinel_27932.conf&window version redis-server-- service-install redis.windows.conf / / Boot redis-server-- service-startredis-server-- service-stop on redis start, stop and view the redis port method is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.