Redis Desktop Manager is a Redis graphical management tool that makes it easy for managers to manage Redis data more easily and intuitively.
Before using Redis Desktop Manager, however, there are several elements to note:
One, note in the redis.conf file: Bind 127.0.0.1 (in a text before the # number for comment)
Second, set up the Redis password. Before setting a password, you first open the server, then connect with the client, and finally set the password through the client.
1. Create a new terminal to open the service.
2. Open a terminal, connect and set the password.
The part of the smear is because I have previously set the password, in order not to mislead you, so I put the password to erase the steps.
Quit command is to exit the connection, and then I reconnect, through the Auth plus password command to successfully log in, return OK.
The password setting is now complete.
Third, ensure that the network unblocked and 6379 ports open.
The first few steps are in CentOS, and now it's time to return to our Windows test IP and the port is unblocked.
Yes, if you do not know the CentOS IP, or to the CentOS terminal Input ifconfig command to view, the first piece of data returned contains the local IP.
If you return the result is not the same as me, then almost can be sure that your virtual machine network is not open, open the method, click Connect.
After we get the IP, we return to Windows, turn on CMD, and pass the Telnet command to test whether the port is unblocked.
There are three scenarios:
1. You return the same results as me, then don't worry, then look down.
2. The result of your return is a pure black cmd, so congratulations, you can skip this step directly.
3. You return "Telnet is not internal or external command", then Baidu solution (qualified programmers, must use very skilled).
OK, the result I'm returning now is that CentOS Port 6379 does not have an open result.
So, open the terminal in CentOS and turn on port 6379 via the command:
1. Get Root Permissions
2. Enter Firewall-cmd--query-port=6379/tcp, if the return result is no, then it proves that port 6379 does not turn on.
3. Enter the Firewall-cmd--add-port=6379/tcp, turn on the 6379 port, and return to success.
Then execute the previous command and return yes to prove that the port has been successfully opened.
So far, all the upfront work is ready! We started to connect to CentOS's Redis via Redis Desktop Manager.
bingo!!!
Connect Redis with Redis Desktop Manager