当前位置:网站首页>Intelligent dialog 01 redis installation

Intelligent dialog 01 redis installation

2022-06-25 17:38:00 Green Lantern swordsman

One 、redis There is no such thing as windows edition , So Microsoft packaged it . Let's go first github Download the latest .zip edition .

  1. Package version link

  2. .zip After decompressing the version , Put the address into the environment variable . For the address directory, please refer to my :
    C:\install\Redis-x64-3.2.100
    3. Enter into C:\install\Redis-x64-3.2.100 Find The configuration file redis.windows.conf Installation . The installation command is
    redis-server --service-install redis.windows.conf --loglevel verbose

  3. Once installed , The start command is as follows :
    redis-server --service-start
     Insert picture description here

  4. We can now view redis Did the service start successfully . Right click “ My computer ’, choice ’ management ” Enter the view .

  5. link redis Two ways to serve .
    Mode one : Through the command redis-cli -h 127.0.0.1 -p 6379
    Mode two : Install visual management tools redis desktop manager. Direct Baidu search , Then install it by default . When you click on the link , Simply enter The name of the library is enough , My “ This machine 01”
    Post link experiment :
    (1) Input select 0
    (2)set uname jinenchao
    (3)get uname Insert picture description here

    You can see In the management panel 0 The file has user name information .
     Insert picture description here

原网站

版权声明
本文为[Green Lantern swordsman]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206251720254362.html