How does Windows system install Redis?

Source: Internet
Author: User
Tags redis windows install redis redis server

From http://blog.csdn.net/lamp_yang_3533/article/details/52024744  to Redis, the Redis official does not have a Redis Windows installation package, But on GitHub, there are related, as follows: Https://github.com/ServiceStack/redis-windows/tree/master/downloads can also go to my Baidu network disk download,:/http Pan.baidu.com/s/1gf2nuin, the version i downloaded is redis-64.3.0.503.zip (64-bit win system, Redis 3.0 version).   Second, Redis installation and configuration find the downloaded compression package Redis-64.3.0.503.zip, after decompression, renamed to redis-3.0, placed under a folder (such as D:\Program Files). 1. Run Redis server-side direct double-click D:\Program files\ The Redis-server.exe file (Redis server side) in the redis-3.0 directory runs the Redis server as a window (but the window is not closed, otherwise the Redis service is unavailable). This way of running a Redis server does not load the specified configuration file.  2. Running a Redis client directly double-clicks the Redis-cli.exe file (Redis client) under the D:\Program files\redis-3.0 directory, indicating that the client runs successfully if 127.0.0.1:6379> is displayed. Enter command: Keys * View all keys If prompted "Noauth Authentication required.", the Redis server has a password set, enter the correct password, and then do something else. Input command: auth password If prompted OK, the password is correct. Tips: You can send Redis-server.exe from the D:\Program files\redis-3.0 directory to a desktop shortcut to quickly open the Redis client later.  3. Installing the Redis service to a local service because of the complexity of starting the Redis server, the Redis service window cannot be closed. So here's how to install a Redis service to a local service on a Windows system. Copy the redis.windows.conf file under the D:\Program files\redis-3.0 directory and rename it to REdis.conf, as a redis configuration file. Open the command line of the win system and enter the following command: D: (enter, switch to D-drive) CD program files\redis-3.0\ (enter, switch to D:\Program files\redis-3.0 directory) Redis-server-- Service-install redis.conf--loglevel Verbose (enter, install Redis Local Service, After the specified profile redis.conf is complete, you can view and manipulate the Redis service by going to the Local Service management office of the win system. (Computer icon Right-to-manage) services and applications, services)  4. To set up the redis.conf configuration file under the Redis password edit D:\Program files\redis-3.0 directory, find the following code: # requirepass foobared copy it one line, minus the leading # comment, Change foobared to the password you want to set, such as: Requirepass test to save the exit. Restart the Redis service and the configuration file will take effect.  5. How to uninstall Redis Local Service open the win system command line, and then enter the following command: D:CD program Files\redis-3.0\redis-server--service-uninstall can uninstall Redis Local service.  6. Installing the Redis Desktop Managerredis Desktop Manager is a visual Redis database management tool that is very simple to use and is not described here. : Http://pan.baidu.com/s/1i44AXal

How does Windows system install Redis?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.