• Redis 64 steps


    a memo for redis 64 operations

    start server in console:
    1. D:>cd redis64
    2. D:
    edis64>redis-server.exe  redis.windows.conf
                    _._
               _.-``__ ''-._
          _.-``    `.  `_.  ''-._           Redis 2.8.2101 (00000000/0) 64 bit
      .-`` .-```.  ```/    _.,_ ''-._
     (    '      ,       .-`  | `,    )     Running in stand alone mode
     |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
     |    `-._   `._    /     _.-'    |     PID: 6252
      `-._    `-._  `-./  _.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |     http://redis.io
      `-._    `-._`-.__.-'_.-'    _.-'
     |`-._`-._    `-.__.-'    _.-'_.-'|
     |    `-._`-._        _.-'_.-'    |
      `-._    `-._`-.__.-'_.-'    _.-'
          `-._    `-.__.-'    _.-'
              `-._        _.-'
                  `-.__.-'
    
    [6252] 01 Dec 10:13:27.169 # Server started, Redis version 2.8.2101
    [6252] 01 Dec 10:13:27.170 * The server is now ready to accept connections on port 6379
    
    start server in services:
    1. D:
    edis64>redis-server --service-install redis.windows.conf --loglevel verbose
       [5660] 01 Dec 10:20:09.677 # Granting read/write access to 'NT AUTHORITYNetwork Service' on: "D:
    edis64" "D:
    edis64"
       [5660] 01 Dec 10:20:09.678 # Redis successfully installed as a service.
    
    2. D:
    edis64>redis-server --service-start
       [5632] 01 Dec 10:24:08.241 # Redis service successfully started.
    
    start client
    
    D:
    edis64>redis-cli.exe
    127.0.0.1:6379> set age 10
    OK
    127.0.0.1:6379> set foo bar
    OK
    127.0.0.1:6379> get age
    "10"
    127.0.0.1:6379> get foo
    "bar"
    127.0.0.1:6379> keys *
    1) "foo"
    2) "age"
    127.0.0.1:6379> keys foo
    1) "foo"
    127.0.0.1:6379> set foo std
    OK
    127.0.0.1:6379> get foo
    "std"
    127.0.0.1:6379> keys foo
    1) "foo"
    127.0.0.1:6379> exit
    
    D:
    edis64>
  • 相关阅读:
    phonegap 拍照从相机中获取
    .net 保存datatable保存成csv文件
    常见空间算法【转】
    去除HTML标记 修改p标签为br,修改br为br,保留img标签
    C# access to the path is denied
    phonegap 通过URI获取文件大小
    PowerDesigner 注释 名称【转】
    sql server保存图片
    C#打开自定义文件
    【转】C# AderTemplates 2.0 轻量级模板引擎
  • 原文地址:https://www.cnblogs.com/JasonLiao/p/redissteps.html
Copyright © 2020-2023  润新知