In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
How to set password protection in Redis? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
After Redis is installed, there is no password protection by default. Password protection should be set for security.
Log in to the local 192.168.56.56 server [root@shanxi src] #. / redis-cli on the client side to view the password. The current password is empty 127.0.0.1config get requirepass 6379 > config get requirepass 1) "requirepass" 2) "" set the password to aabbcc 127.0.0.1aabbcc 6379 > config set requirepass "aabbcc" NOAUTH Authentication required to check the password again and show insufficient permissions. You need to log in to 127.0.0.16379 > config get requirepass (error) password again. 127.0.0.1redis-cli 6379 > exit login [root@shanxi src] #. / redis-cli verify password is aabbcc 127.0.0.1 auth "aabbcc" OK again check password as aabbcc, successfully set 127.0.0.1 redis-cli 6379 > config get requirepass 1) "requirepass" 2) "aabbcc" the answer to the question on how to set password protection in Redis is shared here. I hope the above content can help you to a certain extent, if you still have a lot of doubts to be solved, you can follow the industry information channel to learn more related knowledge.
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.